public interface JWSVerifier extends JWSProvider
Modifier and Type | Method and Description |
---|---|
boolean |
verify(JWSHeader header,
byte[] signingInput,
Base64URL signature)
Verifies the specified
signature of a
JWS object . |
supportedJWSAlgorithms
getJCAContext
boolean verify(JWSHeader header, byte[] signingInput, Base64URL signature) throws JOSEException
signature
of a
JWS object
.header
- The JSON Web Signature (JWS) header. Must
specify a supported JWS algorithm and must not
be null
.signingInput
- The signing input. Must not be null
.signature
- The signature part of the JWS object. Must not
be null
.true
if the signature was successfully verified,
false
if the signature is invalid or if a critical
header is neither supported nor marked for deferral to the
application.JOSEException
- If the JWS algorithm is not supported, or if
signature verification failed for some other
internal reason.Copyright © 2021 Connect2id Ltd.. All rights reserved.