Class SecretsProviderJwtCryptographyHandler
java.lang.Object
org.forgerock.jaspi.modules.session.jwt.SecretsProviderJwtCryptographyHandler
- All Implemented Interfaces:
JwtCryptographyHandler
@Deprecated
public class SecretsProviderJwtCryptographyHandler
extends Object
implements JwtCryptographyHandler
Deprecated.
An implementation of
JwtCryptographyHandler
that uses a SecretsProvider
to get keys.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Decrypt the JWT.void
initialize
(Map<String, Object> options) Deprecated.Initialise the handler.jwe
(JwtBuilderFactory jwtBuilderFactory) Deprecated.Apply encryption to the JWT.sign
(EncryptedJwtBuilder jwtbuilder) Deprecated.Sign the JWT.boolean
Deprecated.Verify the JWT.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.forgerock.jaspi.modules.session.jwt.JwtCryptographyHandler
buildJwt, buildJwtAsync, decryptAndVerify
-
Constructor Details
-
SecretsProviderJwtCryptographyHandler
public SecretsProviderJwtCryptographyHandler()Deprecated.
-
-
Method Details
-
initialize
Deprecated.Description copied from interface:JwtCryptographyHandler
Initialise the handler.- Specified by:
initialize
in interfaceJwtCryptographyHandler
- Parameters:
options
- The options to be used.
-
jwe
Deprecated.Description copied from interface:JwtCryptographyHandler
Apply encryption to the JWT.- Specified by:
jwe
in interfaceJwtCryptographyHandler
- Parameters:
jwtBuilderFactory
- The JWT builder.- Returns:
- The JWT builder after applying encryption.
-
sign
Deprecated.Description copied from interface:JwtCryptographyHandler
Sign the JWT.- Specified by:
sign
in interfaceJwtCryptographyHandler
- Parameters:
jwtbuilder
- The JWT builder.- Returns:
- The JWT builder after signing.
-
verify
Deprecated.Description copied from interface:JwtCryptographyHandler
Verify the JWT.- Specified by:
verify
in interfaceJwtCryptographyHandler
- Parameters:
jwt
- The JWT.- Returns:
- true if the JWT is valid.
-
decrypt
Deprecated.Description copied from interface:JwtCryptographyHandler
Decrypt the JWT.- Specified by:
decrypt
in interfaceJwtCryptographyHandler
- Parameters:
jwt
- The JWT.
-
AuthenticatedEncryptionCryptographyHandler
should be preferred.