Package | Description |
---|---|
org.forgerock.json.jose.jwe |
Modifier and Type | Method and Description |
---|---|
EncryptionHandler |
EncryptionManager.getEncryptionHandler(JweHeader header)
Gets the appropriate EncryptionHandler that can perform the required encryption algorithm, as described by the
JweAlgorithm and EncryptionMethod in the given JweHeader.
|
Constructor and Description |
---|
EncryptedJwt(JweHeader header,
JwtClaimsSet payload,
Key publicKey)
Constructs a fresh, new EncryptedJwt from the given JweHeader and JwtClaimsSet.
|
EncryptedJwt(JweHeader header,
String encodedHeader,
byte[] encryptedContentEncryptionKey,
byte[] initialisationVector,
byte[] ciphertext,
byte[] authenticationTag)
Constructs a reconstructed EncryptedJwt from its constituent parts, the JweHeader, encrypted Content Encryption
Key (CEK), initialisation vector, ciphertext and additional authentication data.
|
SignedThenEncryptedJwt(JweHeader header,
SignedJwt payload,
Key publicKey)
Constructs a fresh signed-then-encrypted JWT with the given signed JWT payload, JWE headers and encryption key.
|
SignedThenEncryptedJwt(JweHeader header,
String encodedHeader,
byte[] encryptedContentEncryptionKey,
byte[] initialisationVector,
byte[] ciphertext,
byte[] authenticationTag)
Reconstructs a signed-then-encrypted JWT from components parts of the encrypted JWT string.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.