Interface HttpVerifier

All Known Implementing Classes:
JoseHttpVerifier

public interface HttpVerifier
The interface that signature verifiers must implement.

The verify method of the SignatureBase class requires an instance that implements this HttpVerifier interface.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    verify(byte[] signatureBase, byte[] signature)
    Verify the signature.
  • Method Details

    • verify

      boolean verify(byte[] signatureBase, byte[] signature) throws SignatureException
      Verify the signature.
      Parameters:
      signatureBase - The signature base used to create the signature.
      signature - The signature to be verified.
      Returns:
      True when the signature is valid.
      Throws:
      SignatureException - An error occurred during the verification process, or the signature is invalid.