语言

SqlColumnEncryptionKeyStoreProvider.DecryptColumnEncryptionKey 方法

定义

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

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()

参数

masterKeyPath
String

列主密钥路径。 路径格式特定于密钥存储提供程序实现(例如证书存储的指纹,或Azure 密钥保管库的密钥标识符 URL)。

encryptionAlgorithm
String

加密算法名称。 例如,RSA_OAEP。

encryptedColumnEncryptionKey
Byte[]

加密列加密密钥。

返回

Byte[]

返回表示 Byte 解密列加密密钥的数组。

适用于