Uses of Class
org.forgerock.json.jose.jwe.JweHeader
Package
Description
Classes and interfaces for JWT encryption and JWEs.
Encryption Handler classes for each possible encryption algorithm.
Classes and interfaces for JWT signing and JWS'.
-
Uses of JweHeader in org.forgerock.json.jose.jwe
Modifier and TypeMethodDescriptionEncryptionManager.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.EncryptionManager.getEncryptionHandler
(JweHeader header, Key key) Gets the appropriate EncryptionHandler that can perform the required encryption algorithm, as described by the JweAlgorithm and EncryptionMethod in the given JweHeader.ModifierConstructorDescriptionEncryptedJwt
(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.EncryptedJwt
(JweHeader header, JwtClaimsSet payload, Key publicKey) Constructs a fresh, new EncryptedJwt from the given JweHeader and JwtClaimsSet.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.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. -
Uses of JweHeader in org.forgerock.json.jose.jwe.handlers.encryption
Modifier and TypeMethodDescriptionECDHEncryptionHandler.decryptContentEncryptionKey
(Key key, byte[] encryptedContentEncryptionKey, JweHeader header) default Key
EncryptionHandler.decryptContentEncryptionKey
(Key key, byte[] encryptedContentEncryptionKey, JweHeader header) Decrypts the Content Encryption Key (CEK) following the appropriate steps defined by the EncryptionHandler JweAlgorithm.byte[]
ECDHEncryptionHandler.generateJWEEncryptedKey
(Key key, Key ephemeralKey, JweHeader header) default byte[]
EncryptionHandler.generateJWEEncryptedKey
(Key key, Key contentEncryptionKey, JweHeader header) Generates the Content Encryption Key (CEK) following the appropriate steps defined by the EncryptionHandler JweAlgorithm. -
Uses of JweHeader in org.forgerock.json.jose.jws
Modifier and TypeMethodDescriptionEncryptedThenSignedJwt.getJweHeader()
Get the header of the encapsulatedEncryptedJwt
.