Package io.jans.as.server.model.token
Class JwtSigner
- java.lang.Object
- 
- io.jans.as.server.model.token.JwtSigner
 
- 
 public class JwtSigner extends Object - Version:
- February 12, 2019
- Author:
- Yuriy Zabrovarnyy, Javier Rojas Blum
 
- 
- 
Constructor SummaryConstructors Constructor Description JwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String audience)JwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret)JwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.jans.as.model.jwt.JwtgetJwt()io.jans.as.model.crypto.signature.SignatureAlgorithmgetSignatureAlgorithm()io.jans.as.model.jwt.JwtnewJwt()static JwtSignernewJwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.common.model.registration.Client client)static JwtSignernewJwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.common.model.registration.Client client, String decryptedSecret)voidsetCryptoProvider(io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)voidsetJwt(io.jans.as.model.jwt.Jwt jwt)io.jans.as.model.jwt.Jwtsign()
 
- 
- 
- 
Constructor Detail- 
JwtSignerpublic JwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String audience)
 - 
JwtSignerpublic JwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret)
 - 
JwtSignerpublic JwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, String audience, String hmacSharedSecret, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider)
 
- 
 - 
Method Detail- 
newJwtSignerpublic static JwtSigner newJwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.common.model.registration.Client client) throws Exception - Throws:
- Exception
 
 - 
newJwtSignerpublic static JwtSigner newJwtSigner(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.jwk.JSONWebKeySet webKeys, io.jans.as.common.model.registration.Client client, String decryptedSecret) 
 - 
newJwtpublic io.jans.as.model.jwt.Jwt newJwt() throws io.jans.as.model.exception.CryptoProviderException- Throws:
- io.jans.as.model.exception.CryptoProviderException
 
 - 
getJwtpublic io.jans.as.model.jwt.Jwt getJwt() 
 - 
setJwtpublic void setJwt(io.jans.as.model.jwt.Jwt jwt) 
 - 
getSignatureAlgorithmpublic io.jans.as.model.crypto.signature.SignatureAlgorithm getSignatureAlgorithm() 
 - 
setCryptoProviderpublic void setCryptoProvider(io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider) 
 
- 
 
-