Class VerifyResult
- java.lang.Object
-
- com.azure.security.keyvault.keys.cryptography.models.VerifyResult
-
public final class VerifyResult extends Object
Represents the details of verify operation result.
-
-
Constructor Summary
Constructors Constructor Description VerifyResult(Boolean isValid, SignatureAlgorithm algorithm, String keyId)
Creates the instance of Verify Result holding the verification response information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SignatureAlgorithm
getAlgorithm()
Get the signature algorithm used to verify the signature.String
getKeyId()
Get the identifier of the key used for the verify operationBoolean
isValid()
Get the verify operation result.
-
-
-
Constructor Detail
-
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 Detail
-
isValid
public Boolean isValid()
Get the verify operation result.- Returns:
- The verification result.
-
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
-
-