Class VerifyResult


  • public final class VerifyResult
    extends Object
    Represents the details of 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