Uses of Class
org.forgerock.json.jose.jwe.EncryptionMethod
-
Packages that use EncryptionMethod Package Description org.forgerock.http.oauth2 This package provides APIs for OAuth 2.0 services implementations.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) ofTokenHandler
.org.forgerock.openig.tools.jwt.factory Provides JWT capabilities to the Identity Gateway.org.forgerock.openig.util Miscellaneous utility classes. -
-
Uses of EncryptionMethod in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 with parameters of type EncryptionMethod Modifier and Type Method Description EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder
EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder. withEncryptionMethod(EncryptionMethod encryptionMethod)
Sets encryption method used to encrypt the private key jwt. -
Uses of EncryptionMethod in org.forgerock.json.jose.builders
Methods in org.forgerock.json.jose.builders with parameters of type EncryptionMethod Modifier and Type Method Description JweHeaderBuilder<B>
JweHeaderBuilder. enc(EncryptionMethod enc)
Sets the Encryption Method header parameter for this JWE. -
Uses of EncryptionMethod in org.forgerock.json.jose.jwe
Methods in org.forgerock.json.jose.jwe that return EncryptionMethod Modifier and Type Method 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.Methods in org.forgerock.json.jose.jwe with parameters of type EncryptionMethod Modifier and Type Method Description void
JweHeader. setEncryptionMethod(EncryptionMethod encryptionMethod)
Sets the Encryption Method header parameter for this JWE. -
Uses of EncryptionMethod in org.forgerock.json.jose.jwe.handlers.encryption
Methods in org.forgerock.json.jose.jwe.handlers.encryption with parameters of type EncryptionMethod Modifier and Type Method Description static ECDHEncryptionHandler
ECDHEncryptionHandler. getInstance(EncryptionHandler keyWrappingHandler, JweAlgorithm algorithm, EncryptionMethod encryptionMethod)
Get an instance of the ECDH-ES encryption handler for the given parameters.Constructors in org.forgerock.json.jose.jwe.handlers.encryption with parameters of type EncryptionMethod Constructor 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. -
Uses of EncryptionMethod in org.forgerock.json.jose.tokenhandler
Methods in org.forgerock.json.jose.tokenhandler with parameters of type EncryptionMethod Modifier and Type Method Description SecretsJwtTokenHandler.Builder
SecretsJwtTokenHandler.Builder. encryptionMethod(EncryptionMethod encryptionMethod)
Specifies the JWE content encryption method to use when encrypting tokens produced by this token handler.Constructors in org.forgerock.json.jose.tokenhandler with parameters of type EncryptionMethod Constructor Description JwtTokenHandler(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.UseSecretsJwtTokenHandler.builder()
instead. -
Uses of EncryptionMethod in org.forgerock.openig.tools.jwt.factory
Constructors in org.forgerock.openig.tools.jwt.factory with parameters of type EncryptionMethod Constructor Description EncryptedJwtFactory(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
Methods in org.forgerock.openig.util that return types with arguments of type EncryptionMethod Modifier and Type Method Description static Function<JsonValue,EncryptionMethod,JsonValueException>
JsonValues. encryptionMethod()
Returns a function that transforms the JSON value to aEncryptionMethod
object.
-