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
public class AccessTokenJWSSigner extends Object implements com.nimbusds.jose.JWSSigner
-
-
Constructor Summary
Constructors Constructor Description AccessTokenJWSSigner(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()
com.nimbusds.jose.JWSAlgorithm
getJwsAlgorithm()
com.nimbusds.jose.util.Base64URL
sign(com.nimbusds.jose.JWSHeader header, byte[] signingInput)
Set<com.nimbusds.jose.JWSAlgorithm>
supportedJWSAlgorithms()
-
-
-
Constructor Detail
-
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 Detail
-
getJwsAlgorithm
public com.nimbusds.jose.JWSAlgorithm getJwsAlgorithm()
-
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>
-
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
-
-