SqlColumnEncryptionCspProvider.DecryptColumnEncryptionKey(String, String, Byte[]) Método

Definição

Descriptografa o valor criptografado especificado usando uma chave assimétrica especificada pelo caminho da chave e o algoritmo.Decrypts the given encrypted value using an asymmetric key specified by the key path and algorithm. O caminho da chave será no formato [ProviderName]/KeyIdentifier e deve ser uma chave assimétrica armazenada no provedor de repositório de chaves CSP especificado.The key path will be in the format of [ProviderName]/KeyIdentifier and should be an asymmetric key stored in the specified CSP provider. O algoritmo inválido usado para criptografar/descriptografar a CEK é 'RSA_OAEP'.The valid algorithm used to encrypt/decrypt the CEK is 'RSA_OAEP'.

public:
 override cli::array <System::Byte> ^ DecryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ encryptedColumnEncryptionKey);
public override byte[] DecryptColumnEncryptionKey (string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey);
override this.DecryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public Overrides Function DecryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte()) As Byte()

Parâmetros

masterKeyPath
String

O caminho da chave mestra.The master key path.

encryptionAlgorithm
String

O algoritmo de criptografia.The encryption algorithm.

encryptedColumnEncryptionKey
Byte[]

A chave de criptografia da coluna criptografada.The encrypted column encryption key.

Retornos

Byte[]

A chave de criptografia da coluna descriptografada.The decrypted column encryption key.

Aplica-se a