public interface SignatureConfiguration
Modifier and Type | Method and Description |
---|---|
java.lang.String |
supportedAlgorithmsMessage() |
boolean |
supports(com.nimbusds.jose.JWSAlgorithm algorithm)
Whether this signature configuration supports this algorithm.
|
boolean |
verify(com.nimbusds.jwt.SignedJWT jwt)
Verify a signed JWT.
|
java.lang.String supportedAlgorithmsMessage()
boolean supports(com.nimbusds.jose.JWSAlgorithm algorithm)
algorithm
- the signature algorithmboolean verify(com.nimbusds.jwt.SignedJWT jwt) throws com.nimbusds.jose.JOSEException
jwt
- the signed JWTcom.nimbusds.jose.JOSEException
- exception when verifying the JWT