SqlColumnEncryptionAzureKeyVaultProvider.DecryptColumnEncryptionKeyAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
非同步使用金鑰路徑指定的非對稱金鑰,並以 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
Complete path of an asymmetric key in Azure Key Vault
- encryptionAlgorithm
- String
非對稱金鑰加密演算法
- encryptedColumnEncryptionKey
- Byte[]
加密欄位加密金鑰
- cancellationToken
- CancellationToken
用於請求取消操作的令牌
傳回
純文字欄位加密金鑰
備註
參數驗證失敗會透過回傳任務報告,而非同步拋接。