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
public class AccessTokenJWSVerifier extends Object implements com.nimbusds.jose.JWSVerifier
-
-
Constructor Summary
Constructors Constructor Description AccessTokenJWSVerifier(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, String jwsKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.nimbusds.jose.jca.JCAContext
getJCAContext()
Set<com.nimbusds.jose.JWSAlgorithm>
supportedJWSAlgorithms()
boolean
verify(com.nimbusds.jose.JWSHeader header, byte[] signingInput, com.nimbusds.jose.util.Base64URL signature)
-
-
-
Constructor Detail
-
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 Detail
-
supportedJWSAlgorithms
public Set<com.nimbusds.jose.JWSAlgorithm> 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
-
-