SqlColumnEncryptionKeyStoreProvider.EncryptColumnEncryptionKey Method

Definition

Encrypts a column encryption key using the column master key with the specified key path and using the specified algorithm.

C#
public abstract byte[] EncryptColumnEncryptionKey(string masterKeyPath, string encryptionAlgorithm, byte[] columnEncryptionKey);

Parameters

masterKeyPath
String

The master key path.

encryptionAlgorithm
String

The encryption algorithm.

columnEncryptionKey
Byte[]

The encrypted column encryption key.

Returns

Byte[]

Returns Byte. The encrypted column encryption key.

Applies to

Produkt Verzie
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1