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 TypeMethodDescriptionbooleanverify(byte[] signatureBase, byte[] signature) Verify the signature.
-
Method Details
-
verify
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.
-