C# Класс System.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider

Abstract base class for all column encryption Key Store providers. It exposes two functions 1. DecryptColumnEncryptionKey - This is the function used by SqlClient under the covers to decrypt encrypted column encryption key blob. 2. EncryptColumnEncryptionKey - This will be used by client tools that generate DDL for customers 3. SignColumnMasterKeyMetadata - This will be used by client tools that generate Column Master Keys (CMK) for customers 4. VerifyColumnMasterKeyMetadata - This will be used by SqlClient under the covers to verify the CMKs received from SQL Server
Показать файл Открыть проект

Открытые методы

Метод Описание
DecryptColumnEncryptionKey ( string masterKeyPath, string encryptionAlgorithm, Array encryptedColumnEncryptionKey ) : byte[]

This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by the key path and decrypt an encrypted column encryption key with a given encryption algorithm.

EncryptColumnEncryptionKey ( string masterKeyPath, string encryptionAlgorithm, Array columnEncryptionKey ) : byte[]

This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by a key path and encrypt a plain text column encryption key with a given asymmetric key encryption algorithm.

Описание методов

DecryptColumnEncryptionKey() публичный абстрактный Метод

This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by the key path and decrypt an encrypted column encryption key with a given encryption algorithm.
public abstract DecryptColumnEncryptionKey ( string masterKeyPath, string encryptionAlgorithm, Array encryptedColumnEncryptionKey ) : byte[]
masterKeyPath string Complete path of an asymmetric key. Path format is specific to a key store provider.
encryptionAlgorithm string Asymmetric Key Encryption Algorithm
encryptedColumnEncryptionKey Array Encrypted Column Encryption Key
Результат byte[]

EncryptColumnEncryptionKey() публичный абстрактный Метод

This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by a key path and encrypt a plain text column encryption key with a given asymmetric key encryption algorithm.
public abstract EncryptColumnEncryptionKey ( string masterKeyPath, string encryptionAlgorithm, Array columnEncryptionKey ) : byte[]
masterKeyPath string
encryptionAlgorithm string Asymmetric Key Encryption Algorithm
columnEncryptionKey Array Plain text column encryption key to be encrypted
Результат byte[]