语言

SqlColumnEncryptionAzureKeyVaultProvider.DecryptColumnEncryptionKeyAsync 方法

定义

异步使用密钥路径指定的非对称密钥,并使用 RSA 加密算法解密加密 CEK。

public override System.Threading.Tasks.Task<byte[]> DecryptColumnEncryptionKeyAsync(string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey, System.Threading.CancellationToken cancellationToken = default);
override this.DecryptColumnEncryptionKeyAsync : string * string * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overrides Function DecryptColumnEncryptionKeyAsync (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

参数

masterKeyPath
String

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

encryptionAlgorithm
String

非对称密钥加密算法

encryptedColumnEncryptionKey
Byte[]

加密列加密密钥

cancellationToken
CancellationToken

用于请求取消操作的令牌

返回

Task<Byte[]>

纯文本列加密密钥

注解

参数验证失败通过返回的任务报告,而不是同步引发。

适用于