KeyVaultKey.verifyAsync(byte[] digest, byte[] signature, String algorithm) 方法

定义

Verifies the supplied signature value using the supplied digest and algorithm.

public ListenableFuture<Boolean> verifyAsync(byte[] digest, byte[] signature, String algorithm)

参数

digest
byte []

The digest input

signature
byte []

The signature to verify

algorithm
String

The algorithm to use, must be provided

返回

ListenableFuture<Boolean>

A ListenableFuture containing the signature and the algorithm used.

例外

NoSuchAlgorithmException

the algorithm is not valid

替代

适用于