Uses of Class
org.forgerock.json.jose.jwe.JweHeader
Packages that use 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
Methods in org.forgerock.json.jose.jwe that return JweHeaderMethods in org.forgerock.json.jose.jwe with parameters of type JweHeaderModifier 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.Constructors in org.forgerock.json.jose.jwe with parameters of type JweHeaderModifierConstructorDescriptionEncryptedJwt
(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
Methods in org.forgerock.json.jose.jwe.handlers.encryption with parameters of type JweHeaderModifier 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
Methods in org.forgerock.json.jose.jws that return JweHeaderModifier and TypeMethodDescriptionEncryptedThenSignedJwt.getJweHeader()
Get the header of the encapsulatedEncryptedJwt
.