Share via


SqlColumnEncryptionAzureKeyVaultProvider.DecryptColumnEncryptionKey Method

Definition

This function uses the asymmetric key specified by the key path and decrypts an encrypted CEK with RSA encryption algorithm.

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()

Parameters

masterKeyPath
String

Complete path of an asymmetric key in Azure Key Vault

encryptionAlgorithm
String

Asymmetric Key Encryption Algorithm

encryptedColumnEncryptionKey
Byte[]

Encrypted Column Encryption Key

Returns

Byte[]

Plain text column encryption key

Applies to