SqlColumnEncryptionKeyStoreProvider.EncryptColumnEncryptionKey 方法

定义

使用具有指定密钥路径的列主密钥和使用指定的算法对列加密密钥进行加密。

public:
 abstract cli::array <System::Byte> ^ EncryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ columnEncryptionKey);
public abstract byte[] EncryptColumnEncryptionKey (string masterKeyPath, string encryptionAlgorithm, byte[] columnEncryptionKey);
abstract member EncryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public MustOverride Function EncryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, columnEncryptionKey As Byte()) As Byte()

参数

masterKeyPath
String

主密钥路径。

encryptionAlgorithm
String

加密算法。

columnEncryptionKey
Byte[]

加密的列加密密钥。

返回

Byte[]

返回 Byte
加密的列加密密钥。

适用于