VerifyResult Class

  • java.lang.Object
    • com.azure.security.keyvault.keys.cryptography.models.VerifyResult

public final class VerifyResult

Represents the details of verify operation result.

Constructor Summary

Constructor Description
VerifyResult(Boolean isValid, SignatureAlgorithm algorithm, String keyId)

Creates the instance of Verify Result holding the verification response information.

Method Summary

Modifier and Type Method and Description
SignatureAlgorithm getAlgorithm()

Get the signature algorithm used to verify the signature.

String getKeyId()

Get the identifier of the key used for the verify operation

Boolean isValid()

Get the verify operation result.

Methods inherited from java.lang.Object

Constructor Details

VerifyResult

public VerifyResult(Boolean isValid, SignatureAlgorithm algorithm, String keyId)

Creates the instance of Verify Result holding the verification response information.

Parameters:

isValid - The verification info.
algorithm - The algorithm used to verify the signature.
keyId - The identifier of the key usd for the verify operation.

Method Details

getAlgorithm

public SignatureAlgorithm getAlgorithm()

Get the signature algorithm used to verify the signature.

Returns:

The signature algorithm.

getKeyId

public String getKeyId()

Get the identifier of the key used for the verify operation

Returns:

the key identifier

isValid

public Boolean isValid()

Get the verify operation result.

Returns:

The verification result.

Applies to