public interface Constraint
ConstrainedVerificationKeyResolver| Modifier and Type | Method and Description |
|---|---|
void |
validate(org.jose4j.jws.JsonWebSignature jws)
Custom constraints to be enforced on the token verification process.
|
void validate(org.jose4j.jws.JsonWebSignature jws)
throws KeyConstraintException
jws - JWS to be verified.KeyConstraintException - if constraint has been violated.