SqlColumnEncryptionKeyStoreProvider::DecryptColumnEncryptionKey Method (String^, String^, array<Byte>^)

.NET Framework (current version)
 

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.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public:
virtual array<unsigned char>^ DecryptColumnEncryptionKey(
	String^ masterKeyPath,
	String^ encryptionAlgorithm,
	array<unsigned char>^ encryptedColumnEncryptionKey
) abstract

Parameters

masterKeyPath
Type: System::String^

The master key path.

encryptionAlgorithm
Type: System::String^

The encryption algorithm.

encryptedColumnEncryptionKey
Type: array<System::Byte>^

The encrypted column encryption key.

Return Value

Type: array<System::Byte>^

Returns Byte.
The decrypted column encryption key.

.NET Framework
Available since 4.6
Return to top
Show: