C# 클래스 Microsoft.Azure.Cosmos.ClientEncryptionPolicy

파일 보기 프로젝트 열기: Azure/azure-cosmos-dotnet-v3 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ClientEncryptionPolicy System
ValidateClientEncryptionIncludedPath void
ValidateIncludedPaths void
ValidatePartitionKeyPathsIfEncrypted void

공개 메소드들

메소드 설명
ClientEncryptionPolicy ( IEnumerable includedPaths ) : System

Initializes a new instance of the ClientEncryptionPolicy class. The PolicyFormatVersion will be set to 1. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2.

ClientEncryptionPolicy ( IEnumerable includedPaths, int policyFormatVersion ) : System

Initializes a new instance of the ClientEncryptionPolicy class. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2.

비공개 메소드들

메소드 설명
ClientEncryptionPolicy ( ) : System
ValidateClientEncryptionIncludedPath ( Microsoft.Azure.Cosmos.ClientEncryptionIncludedPath clientEncryptionIncludedPath, int policyFormatVersion ) : void
ValidateIncludedPaths ( IEnumerable clientEncryptionIncludedPath, int policyFormatVersion ) : void
ValidatePartitionKeyPathsIfEncrypted ( IReadOnlyList partitionKeyPathTokens ) : void

Ensures that partition key paths specified in the client encryption policy for encryption are encrypted using Deterministic encryption algorithm.

메소드 상세

ClientEncryptionPolicy() 공개 메소드

Initializes a new instance of the ClientEncryptionPolicy class. The PolicyFormatVersion will be set to 1. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2.
public ClientEncryptionPolicy ( IEnumerable includedPaths ) : System
includedPaths IEnumerable List of paths to include in the policy definition.
리턴 System

ClientEncryptionPolicy() 공개 메소드

Initializes a new instance of the ClientEncryptionPolicy class. Note: If you need to include partition key or id field paths as part of ClientEncryptionPolicy, please set PolicyFormatVersion to 2.
public ClientEncryptionPolicy ( IEnumerable includedPaths, int policyFormatVersion ) : System
includedPaths IEnumerable List of paths to include in the policy definition.
policyFormatVersion int Version of the client encryption policy definition. Current supported versions are 1 and 2.
리턴 System