Class AccessTokenJWSVerifier
java.lang.Object
org.apache.syncope.core.spring.security.jws.AccessTokenJWSVerifier
- All Implemented Interfaces:
com.nimbusds.jose.jca.JCAAware<com.nimbusds.jose.jca.JCAContext>
,com.nimbusds.jose.JOSEProvider
,com.nimbusds.jose.JWSProvider
,com.nimbusds.jose.JWSVerifier
-
Constructor Summary
ConstructorDescriptionAccessTokenJWSVerifier
(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, String jwsKey) -
Method Summary
-
Constructor Details
-
AccessTokenJWSVerifier
public AccessTokenJWSVerifier(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, String jwsKey) throws com.nimbusds.jose.JOSEException, NoSuchAlgorithmException, InvalidKeySpecException - Throws:
com.nimbusds.jose.JOSEException
NoSuchAlgorithmException
InvalidKeySpecException
-
-
Method Details
-
supportedJWSAlgorithms
- Specified by:
supportedJWSAlgorithms
in interfacecom.nimbusds.jose.JWSProvider
-
getJCAContext
public com.nimbusds.jose.jca.JCAContext getJCAContext()- Specified by:
getJCAContext
in interfacecom.nimbusds.jose.jca.JCAAware<com.nimbusds.jose.jca.JCAContext>
-
verify
public boolean verify(com.nimbusds.jose.JWSHeader header, byte[] signingInput, com.nimbusds.jose.util.Base64URL signature) throws com.nimbusds.jose.JOSEException - Specified by:
verify
in interfacecom.nimbusds.jose.JWSVerifier
- Throws:
com.nimbusds.jose.JOSEException
-