SqlColumnEncryptionKeyStoreProvider.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.
Decrypts the specified encrypted value of a column encryption key. The encrypted value is expected to be encrypted using the column master key with the specified key path and using the specified algorithm.
public:
abstract cli::array <System::Byte> ^ DecryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ encryptedColumnEncryptionKey);
public abstract byte[] DecryptColumnEncryptionKey (string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey);
abstract member DecryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public MustOverride Function DecryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte()) As Byte()
Parameters
- masterKeyPath
- String
The master key path.
- encryptionAlgorithm
- String
The encryption algorithm.
- encryptedColumnEncryptionKey
- Byte[]
The encrypted column encryption key.
Returns
Returns Byte.
The decrypted column encryption key.