Package io.jans.as.server.model.token
Class ClientAssertion
java.lang.Object
io.jans.as.server.model.token.ClientAssertion
- Version:
- February 12, 2019
- Author:
- Javier Rojas Blum, Yuriy Z
-
Constructor Summary
ConstructorsConstructorDescriptionClientAssertion(io.jans.as.model.configuration.AppConfiguration appConfiguration, io.jans.as.model.crypto.AbstractCryptoProvider cryptoProvider, String clientId, io.jans.as.model.token.ClientAssertionType clientAssertionType, String encodedAssertion) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetJti()voidvoidverifyAudience(List<String> audience) voidverifyAuthenticationMethod(io.jans.as.common.model.registration.Client client) io.jans.util.Pair<io.jans.as.common.model.registration.Client,ClientService> verifyClient(String subject) voidvoidvoidverifyExpiration(Date expirationTime) voidverifySignature(ClientService clientService, io.jans.as.common.model.registration.Client client) voidverifySignatureAlgorithm(io.jans.as.common.model.registration.Client client)
-
Constructor Details
-
ClientAssertion
-
-
Method Details
-
getSubjectIdentifier
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
getJti
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
getClientSecret
- Throws:
io.jans.as.model.exception.InvalidJwtException
-
assertVerified
public void assertVerified() throws io.jans.as.model.exception.InvalidJwtException- Throws:
io.jans.as.model.exception.InvalidJwtException
-
verifyClientAssertionType
public void verifyClientAssertionType() throws io.jans.as.model.exception.InvalidJwtException- Throws:
io.jans.as.model.exception.InvalidJwtException
-
initAndVerify
public void initAndVerify() throws io.jans.as.model.exception.InvalidJwtException- Throws:
io.jans.as.model.exception.InvalidJwtException
-
verifyEncodedAssertion
public void verifyEncodedAssertion() throws io.jans.as.model.exception.InvalidJwtException- Throws:
io.jans.as.model.exception.InvalidJwtException
-
verifyAudience
public void verifyAudience(List<String> audience) throws io.jans.as.model.exception.InvalidJwtException - Throws:
io.jans.as.model.exception.InvalidJwtException
-
verifyExpiration
public void verifyExpiration(Date expirationTime) throws io.jans.as.model.exception.InvalidJwtException - Throws:
io.jans.as.model.exception.InvalidJwtException
-
verifyClient
public io.jans.util.Pair<io.jans.as.common.model.registration.Client,ClientService> verifyClient(String subject) throws io.jans.as.model.exception.InvalidJwtException - Throws:
io.jans.as.model.exception.InvalidJwtException
-
verifyAuthenticationMethod
public void verifyAuthenticationMethod(io.jans.as.common.model.registration.Client client) throws io.jans.as.model.exception.InvalidJwtException - Throws:
io.jans.as.model.exception.InvalidJwtException
-
verifySignature
public void verifySignature(ClientService clientService, io.jans.as.common.model.registration.Client client) throws io.jans.util.security.StringEncrypter.EncryptionException, io.jans.as.model.exception.InvalidJwtException, io.jans.as.model.exception.CryptoProviderException - Throws:
io.jans.util.security.StringEncrypter.EncryptionExceptionio.jans.as.model.exception.InvalidJwtExceptionio.jans.as.model.exception.CryptoProviderException
-
verifySignatureAlgorithm
public void verifySignatureAlgorithm(io.jans.as.common.model.registration.Client client) throws io.jans.as.model.exception.InvalidJwtException - Throws:
io.jans.as.model.exception.InvalidJwtException
-