SqlColumnEncryptionAzureKeyVaultProvider.DecryptColumnEncryptionKey Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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