Uses of Class
org.forgerock.json.jose.jwe.JweHeader

Packages that use JweHeader
Package
Description
Classes and interfaces for JWT encryption and JWEs.
  • Uses of JweHeader in org.forgerock.json.jose.jwe

    Methods in org.forgerock.json.jose.jwe with parameters of type JweHeader
    Modifier and Type
    Method
    Description
    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.
    Constructors in org.forgerock.json.jose.jwe with parameters of type JweHeader
    Modifier
    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.