KeyVaultClient.verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback<KeyVerifyResult> serviceCallback) Method

定义

Verifies a signature using the specified key.

public ServiceFuture<KeyVerifyResult> verifyAsync(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback<KeyVerifyResult> serviceCallback)
参数
keyIdentifier
String

The full key identifier

algorithm
JsonWebKeySignatureAlgorithm

The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm.

digest
byte []

The digest used for signing

signature
byte []

The signature to be verified

serviceCallback
final ServiceCallback<KeyVerifyResult>

the async ServiceCallback to handle successful and failed responses.

返回
ServiceFuture<KeyVerifyResult>

the ServiceFuture object

适用于