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
.The AM supporting classes for centrally configuring secrets.
This package contains some common snapshot token handler implementations.
-
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.openam.secrets
Modifier and TypeMethodDescriptionstatic Key
SecretsUtils.convertRawEncryptionKey
(CryptoKey cryptoKey, JweAlgorithm jweAlgorithm, EncryptionMethod encryptionMethod) Converts symmetric encryption key that was created using the RAW algorithm to a more suitable key, but only if the key material is available. -
Uses of EncryptionMethod in org.forgerock.selfservice.stages.tokenhandlers
Modifier and TypeMethodDescriptionJwtTokenHandlerConfig.getEncryptionMethod()
Gets the encryption method.Modifier and TypeMethodDescriptionJwtTokenHandlerConfig.setEncryptionMethod
(EncryptionMethod encryptionMethod) Set the encryption method.
SecretsJwtTokenHandler.builder()
instead.