Uses of Class
org.forgerock.json.jose.jwe.EncryptedJwt
Package
Description
Classes and interfaces for builder to build JWTs using a fluent API.
Classes and interfaces for JWT encryption and JWEs.
Classes and interfaces for JWT signing and JWS'.
-
Uses of EncryptedJwt in org.forgerock.json.jose.builders
-
Uses of EncryptedJwt in org.forgerock.json.jose.jwe
Modifier and TypeClassDescriptionclass
A nested signed-then-encrypted JWT.Modifier and TypeMethodDescriptionPromise<? extends EncryptedJwt,
JweDecryptionCheckedException> EncryptedJwt.decrypt
(SecretsProvider secretsProvider, Purpose<? extends CryptoKey> purpose) Attempts to decrypt the JWT using any available keys for the givenPurpose
from the givenSecretsProvider
.Promise<? extends EncryptedJwt,
JweDecryptionCheckedException> EncryptedJwt.decrypt
(ValidSecretsReference<? extends CryptoKey, NeverThrowsException> secretsReference) Attempts to decrypt the JWT using any available keys from the givenValidSecretsReference
.ModifierConstructorDescriptionprotected
EncryptedJwt
(EncryptedJwt encryptedJwt) Construct an encrypted JWT from an existent one.SignedThenEncryptedJwt
(EncryptedJwt encryptedJwt) Constructs a fresh signed-then-encrypted JWT from an encrypted JWT. -
Uses of EncryptedJwt in org.forgerock.json.jose.jws
Modifier and TypeMethodDescriptionEncryptedThenSignedJwt.getEncryptedJwt()
Gets the encrypted JWT.Modifier and TypeMethodDescriptionPromise<? extends EncryptedJwt,
JweDecryptionCheckedException> EncryptedThenSignedJwt.decrypt
(SecretsProvider secretsProvider, Purpose<? extends CryptoKey> decryptionPurpose) Decrypts the inner encrypted JWE so that the payload can be accessed.Promise<? extends EncryptedJwt,
JweDecryptionCheckedException> EncryptedThenSignedJwt.decrypt
(ValidSecretsReference<? extends CryptoKey, NeverThrowsException> secretsReference) Decrypts the inner encrypted JWE so that the payload can be accessed.ModifierConstructorDescriptionEncryptedThenSignedJwt
(JwsHeader header, EncryptedJwt nestedJwe, byte[] signingInput, byte[] signature) Constructs a reconstructed SignedEncryptedJwt from its constituent parts, the JwsHeader, nested Encrypted JWT, signing input and signature.EncryptedThenSignedJwt
(JwsHeader header, EncryptedJwt nestedJwe, SigningHandler signingHandler) Constructs a fresh, new SignedEncryptedJwt from the given JwsHeader and nested Encrypted JWT.SignedEncryptedJwt
(JwsHeader header, EncryptedJwt nestedJwe, byte[] signingInput, byte[] signature) Deprecated.Constructs a reconstructed SignedEncryptedJwt from its constituent parts, the JwsHeader, nested Encrypted JWT, signing input and signature.SignedEncryptedJwt
(JwsHeader header, EncryptedJwt nestedJwe, SigningHandler signingHandler) Deprecated.Constructs a fresh, new SignedEncryptedJwt from the given JwsHeader and nested Encrypted JWT.