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.openam.secrets The AM supporting classes for centrally configuring secrets.org.forgerock.selfservice.stages.tokenhandlers This package contains some common snapshot token handler implementations. -
-
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.openam.secrets
Methods in org.forgerock.openam.secrets with parameters of type EncryptionMethod Modifier and Type Method Description static 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
Methods in org.forgerock.selfservice.stages.tokenhandlers that return EncryptionMethod Modifier and Type Method Description EncryptionMethod
JwtTokenHandlerConfig. getEncryptionMethod()
Gets the encryption method.Methods in org.forgerock.selfservice.stages.tokenhandlers with parameters of type EncryptionMethod Modifier and Type Method Description JwtTokenHandlerConfig
JwtTokenHandlerConfig. setEncryptionMethod(EncryptionMethod encryptionMethod)
Set the encryption method.
-