Uses of Enum Class
org.forgerock.json.jose.jwe.EncryptionMethod
Package
Description
This package provides APIs for OAuth 2.0 services implementations.
Classes and interfaces for builder to build JWTs using a fluent API.
Classes and interfaces for JWT encryption and JWEs.
Encryption Handler classes for each possible encryption algorithm.
JWT implementation(s) of
TokenHandler
.Provides JWT capabilities to the Identity Gateway.
Miscellaneous utility classes.
-
Uses of EncryptionMethod in org.forgerock.http.oauth2
Modifier and TypeMethodDescriptionEncryptedPrivateKeyJwtClientAuthenticationFilter.Builder.withEncryptionMethod
(EncryptionMethod encryptionMethod) Sets encryption method used to encrypt the private key jwt. -
Uses of EncryptionMethod in org.forgerock.json.jose.builders
Modifier and TypeMethodDescriptionJweHeaderBuilder.enc
(EncryptionMethod enc) Sets the Encryption Method header parameter for this JWE. -
Uses of EncryptionMethod in org.forgerock.json.jose.jwe
Modifier and TypeMethodDescriptionJweHeader.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
Returns the enum constant of this class with the specified name.static EncryptionMethod[]
EncryptionMethod.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
JweHeader.setEncryptionMethod
(EncryptionMethod encryptionMethod) Sets the Encryption Method header parameter for this JWE. -
Uses of EncryptionMethod in org.forgerock.json.jose.jwe.handlers.encryption
Modifier and TypeMethodDescriptionstatic ECDHEncryptionHandler
ECDHEncryptionHandler.getInstance
(EncryptionHandler keyWrappingHandler, JweAlgorithm algorithm, EncryptionMethod encryptionMethod) Get an instance of the ECDH-ES encryption handler for the given parameters.ModifierConstructorDescriptionConstructs 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. -
Uses of EncryptionMethod in org.forgerock.json.jose.tokenhandler
Modifier and TypeMethodDescriptionSecretsJwtTokenHandler.Builder.encryptionMethod
(EncryptionMethod encryptionMethod) Specifies the JWE content encryption method to use when encrypting tokens produced by this token handler.ModifierConstructorDescriptionJwtTokenHandler
(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, KeyPair jweKeyPair, JwsAlgorithm jwsAlgorithm, SigningHandler jwsHandler) Deprecated.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) Deprecated.Constructs a new JWT token handler.SecretsJwtTokenHandler
(JweAlgorithm jweAlgorithm, EncryptionMethod jweMethod, JwsAlgorithm jwsAlgorithm, Optional<Long> tokenLifeTimeInSeconds, KeyPair jweKeyPair, SigningManager manager, Purpose<SigningKey> signingKeyPurpose, Purpose<VerificationKey> verificationKeyPurpose, Clock clock) Deprecated. -
Uses of EncryptionMethod in org.forgerock.openig.tools.jwt.factory
ModifierConstructorDescriptionEncryptedJwtFactory
(JweAlgorithm encryptionAlgorithm, EncryptionMethod encryptionMethod, SecretReference<DataEncryptionKey> encryptionKeyReference) Create a new instance of anJwtFactory
forEncryptedJwt
.SignedThenEncryptedJwtFactory
(SignedJwtFactory signedJwtFactory, JweAlgorithm encryptionAlgorithm, EncryptionMethod encryptionMethod, SecretReference<DataEncryptionKey> encryptionKeyReference) Create a new instance ofSignedThenEncryptedJwtFactory
. -
Uses of EncryptionMethod in org.forgerock.openig.util
Modifier and TypeMethodDescriptionJsonValues.encryptionMethod()
Returns a function that transforms the JSON value to aEncryptionMethod
object.
SecretsJwtTokenHandler.builder()
instead.