RsaKey.verifyAsync(final byte[] digest, final byte[] signature, final String algorithm) 方法
定义
Verifies the supplied signature value using the supplied digest and algorithm.
public ListenableFuture<Boolean> verifyAsync(final byte[] digest, final byte[] signature, final String algorithm)
参数
- digest
- final byte []
The digest input
- signature
- final byte []
The signature to verify
- algorithm
- final 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
- 替代