KeyVaultKey.unwrapKeyAsync(byte[] ciphertext, String algorithm) 方法

定义

Unwraps (decrypts) the specified encryped key material.

public ListenableFuture<byte[]> unwrapKeyAsync(byte[] ciphertext, String algorithm)

参数

encryptedKey
byte []

The encrypted key to decrypt

algorithm
String

The algorithm to use, must be supplied

返回

ListenableFuture<byte[]>

A ListenableFuture containing the unwrapped key

例外

NoSuchAlgorithmException

the algorithm is not valid

替代

适用于