Class AccessTokenJWSSigner
java.lang.Object
org.apache.syncope.core.spring.security.jws.AccessTokenJWSSigner
- All Implemented Interfaces:
com.nimbusds.jose.jca.JCAAware<com.nimbusds.jose.jca.JCAContext>
,com.nimbusds.jose.JOSEProvider
,com.nimbusds.jose.JWSProvider
,com.nimbusds.jose.JWSSigner
-
Constructor Summary
ConstructorDescriptionAccessTokenJWSSigner
(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, String jwsKey) -
Method Summary
-
Constructor Details
-
AccessTokenJWSSigner
public AccessTokenJWSSigner(com.nimbusds.jose.JWSAlgorithm jwsAlgorithm, String jwsKey) throws com.nimbusds.jose.KeyLengthException, NoSuchAlgorithmException, InvalidKeySpecException - Throws:
com.nimbusds.jose.KeyLengthException
NoSuchAlgorithmException
InvalidKeySpecException
-
-
Method Details
-
getJwsAlgorithm
public com.nimbusds.jose.JWSAlgorithm getJwsAlgorithm() -
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>
-
sign
public com.nimbusds.jose.util.Base64URL sign(com.nimbusds.jose.JWSHeader header, byte[] signingInput) throws com.nimbusds.jose.JOSEException - Specified by:
sign
in interfacecom.nimbusds.jose.JWSSigner
- Throws:
com.nimbusds.jose.JOSEException
-