Package org.forgerock.json.jose.builders
Classes and interfaces for builder to build JWTs using a fluent API.
-
Interface Summary Interface Description JwtBuilder The base interface for all JwtBuilders for each type of JWT (plaintext, signed or encrypted).SignedJwtBuilder A base interface for both SignedJwtBuilder and SignedEncryptedJwtBuilder to create Signed JWTs and Signed and Encrypted JWTs. -
Class Summary Class Description AbstractJwtBuilder A base implementation for all JwtBuilders that provides the basis of the JWT builder methods.EncryptedJwtBuilder An implementation of a JwtBuilder that can build a JWT and encrypt it, resulting in an EncryptedJwt object.EncryptedThenSignedJwtBuilder An implementation of a JwtBuilder that can build a JWT and encrypt it and nest it within another signed JWT, resulting in an SignedEncryptedJwt object.EncryptedThenSignedJwtHeaderBuilder An implementation of a JWS Header builder that provides a fluent builder pattern to create JWS headers for signed encrypted JWTs.JweHeaderBuilder<B extends EncryptedJwtBuilder> An implementation of a JWE Header builder that provides a fluent builder pattern to create JWE headers.JwsHeaderBuilder An implementation of a JWS Header builder that provides a fluent builder pattern to create JWS headers.JwtBuilderFactory A factory for getting builders for plaintext, signed and encrypted JWTs and reconstructing JWT strings back into their relevant JWT objects.JwtClaimsSetBuilder An implementation of a JWT Claims Set builder that provides a fluent builder pattern to creating JWT Claims Sets.JwtHeaderBuilder<T extends JwtBuilder,B extends JwtHeaderBuilder<T,B>> A base implementation of a JWT header builder that provides a fluent builder pattern to creating JWT headers.JwtSecureHeaderBuilder<T extends JwtBuilder,B extends JwtSecureHeaderBuilder<T,B>> A base implementation of a JWT header builder, for the common security header parameters shared by the JWS and JWE headers, that provides a fluent builder pattern to creating JWT headers.SignedEncryptedJwsHeaderBuilder Deprecated. UseEncryptedThenSignedJwtHeaderBuilder
instead.SignedEncryptedJwtBuilder Deprecated. UseEncryptedThenSignedJwtBuilder
instead.SignedJwtBuilderImpl An implementation of a JwtBuilder that can build a JWT and sign it, resulting in a SignedJwt object.SignedThenEncryptedJwtBuilder Builder for nested signed-then-encrypted JWT.