SqlColumnEncryptionAzureKeyVaultProvider.EncryptColumnEncryptionKey 方法

定义

此函数使用密钥路径指定的非对称密钥,并使用 RSA 加密算法加密 CEK。

public:
 override cli::array <System::Byte> ^ EncryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ columnEncryptionKey);
public override byte[] EncryptColumnEncryptionKey (string masterKeyPath, string encryptionAlgorithm, byte[] columnEncryptionKey);
override this.EncryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public Overrides Function EncryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, columnEncryptionKey As Byte()) As Byte()

参数

masterKeyPath
String

Azure 密钥保管库中非对称密钥的完整路径

encryptionAlgorithm
String

非对称密钥加密算法

columnEncryptionKey
Byte[]

纯文本列加密密钥。

返回

Byte[]

加密列加密密钥

适用于