Package | Description |
---|---|
org.forgerock.json.jose.builders |
Classes and interfaces for builder to build JWTs using a fluent API.
|
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 |
---|---|
JweHeaderBuilder<B> |
JweHeaderBuilder.enc(EncryptionMethod enc)
Sets the Encryption Method header parameter for this JWE.
|
Modifier and Type | Method and Description |
---|---|
EncryptionMethod |
JweHeader.getEncryptionMethod()
Gets the Encryption Method header parameter for this JWE.
|
static EncryptionMethod |
EncryptionMethod.parseMethod(String method)
Parses the given algorithm string to find the matching EncryptionMethod enum constant.
|
static EncryptionMethod |
EncryptionMethod.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionMethod[] |
EncryptionMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
JweHeader.setEncryptionMethod(EncryptionMethod encryptionMethod)
Sets the Encryption Method header parameter for this JWE.
|
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 |
---|
AESKeyWrapEncryptionHandler(EncryptionMethod method)
Constructs an AES KeyWrap encryption handler for the given underlying content encryption method.
|
DirectEncryptionHandler(EncryptionMethod encryptionMethod)
Constructs the direct encryption handler for the given content encryption method.
|
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.