@Internal public class JWKSetJwksSignature extends java.lang.Object implements SignatureConfiguration
SignatureConfiguration backed by a JWKSet.| Constructor and Description |
|---|
JWKSetJwksSignature(JwkValidator jwkValidator,
com.nimbusds.jose.jwk.JWKSet jwkSet) |
| 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.
|
public JWKSetJwksSignature(JwkValidator jwkValidator, com.nimbusds.jose.jwk.JWKSet jwkSet)
public java.lang.String supportedAlgorithmsMessage()
supportedAlgorithmsMessage in interface SignatureConfigurationpublic boolean supports(com.nimbusds.jose.JWSAlgorithm algorithm)
supports in interface SignatureConfigurationalgorithm - the signature algorithmpublic boolean verify(com.nimbusds.jwt.SignedJWT jwt)
throws com.nimbusds.jose.JOSEException
SignatureConfigurationverify in interface SignatureConfigurationjwt - the signed JWTcom.nimbusds.jose.JOSEException - exception when verifying the JWT