Class EncryptedJwtBuilder

java.lang.Object
org.forgerock.json.jose.builders.AbstractJwtBuilder
org.forgerock.json.jose.builders.EncryptedJwtBuilder
All Implemented Interfaces:
JwtBuilder
Direct Known Subclasses:
SignedThenEncryptedJwtBuilder

An implementation of a JwtBuilder that can build a JWT and encrypt it, resulting in an EncryptedJwt object.
Since:
2.0.0
  • Constructor Details

    • EncryptedJwtBuilder

      public EncryptedJwtBuilder(Key publicKey)
      Constructs a new EncryptedJwtBuilder that will use the given public key to encrypt the JWT.
      Parameters:
      publicKey - The public key to encrypt the JWT with.
  • Method Details