Package | Description |
---|---|
org.forgerock.json.jose.jwe |
Classes and interfaces for JWT encryption and JWEs.
|
org.forgerock.json.jose.jwe.handlers.encryption |
Encryption Handler classes for each possible encryption algorithm.
|
org.forgerock.json.jose.tokenhandler |
JWT implementation(s) of
TokenHandler . |
Modifier and Type | Method and Description |
---|---|
JweAlgorithm |
JweHeader.getAlgorithm()
Gets the Algorithm set in the JWT header.
|
JweAlgorithm |
JweAlgorithm.getKeyWrappingAlgorithm()
For ECDH-ES key agreement modes, this indicates the key wrapping mode that should be applied to the resulting
derived key.
|
static JweAlgorithm |
JweAlgorithm.parseAlgorithm(String jwaAlgorithmName)
Parses the given algorithm string to find the matching Jwe algorithm enum constant.
|
static JweAlgorithm |
JweAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JweAlgorithm[] |
JweAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ECDHEncryptionHandler |
ECDHEncryptionHandler.getInstance(EncryptionHandler keyWrappingHandler,
JweAlgorithm algorithm,
EncryptionMethod encryptionMethod)
Get an instance of the ECDH-ES encryption handler for the given parameters.
|
Constructor and Description |
---|
RSAEncryptionHandler(EncryptionMethod encryptionMethod,
JweAlgorithm jweAlgorithm)
Constructs a new RSAEncryptionHandler instance.
|
RSAEncryptionHandler(EncryptionMethod encryptionMethod,
JweAlgorithm jweAlgorithm,
Options options)
Constructs a new RSAEncryptionHandler instance with the given options.
|
Constructor and Description |
---|
JwtTokenHandler(JweAlgorithm jweAlgorithm,
EncryptionMethod jweMethod,
KeyPair jweKeyPair,
JwsAlgorithm jwsAlgorithm,
SigningHandler jwsHandler)
Constructs a new JWT token handler that never expires.
|
JwtTokenHandler(JweAlgorithm jweAlgorithm,
EncryptionMethod jweMethod,
KeyPair jweKeyPair,
JwsAlgorithm jwsAlgorithm,
SigningHandler jwsHandler,
Optional<Long> tokenLifeTimeInSeconds,
int tokenStatePaddingLength)
Constructs a new JWT token handler.
|
Copyright 2010-2022 ForgeRock AS.