Class VerificationInfo


public class VerificationInfo extends SignatureOperationInfo<VerificationInfo>
Information about verification operation, including the computed signature base and the verification result.
Since:
1.5
  • Constructor Details

    • VerificationInfo

      public VerificationInfo()
  • Method Details

    • getVerificationKey

      public JWK getVerificationKey()
      Get the verification key used in the verification operation.
      Returns:
      The verification key.
    • setVerificationKey

      public VerificationInfo setVerificationKey(JWK key)
      Set the verification key used in the verification operation.
      Parameters:
      key - The verification key.
      Returns:
      this object.
    • isVerified

      public boolean isVerified()
      Get the result of the verification operation.
      Returns:
      The result of the verification operation.
    • setVerified

      public VerificationInfo setVerified(boolean verified)
      Set the result of the verification operation.
      Parameters:
      verified - The result of the verification operation.
      Returns:
      this object.
    • getReason

      public String getReason()
      Get the reason of the verification result.
      Returns:
      The reason of the verification result.
    • setReason

      public VerificationInfo setReason(String reason)
      Set the reason of the verification result.
      Parameters:
      reason - The reason of the verification result.
      Returns:
      this object.