Uses of Class
org.forgerock.json.jose.jwe.JweHeader
-
Packages that use JweHeader Package Description 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.jws 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 JweHeader Modifier and Type Method Description JweHeader
EncryptedJwt. getHeader()
Methods in org.forgerock.json.jose.jwe with parameters of type JweHeader Modifier and Type Method 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.EncryptionHandler
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 JweHeader Constructor Description 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.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 JweHeader Modifier and Type Method Description Key
ECDHEncryptionHandler. 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 JweHeader Modifier and Type Method Description JweHeader
EncryptedThenSignedJwt. getJweHeader()
Get the header of the encapsulatedEncryptedJwt
.
-