Package org.forgerock.json.jose.builders
Class SignedEncryptedJwtBuilder
java.lang.Object
org.forgerock.json.jose.builders.AbstractJwtBuilder
org.forgerock.json.jose.builders.EncryptedThenSignedJwtBuilder
org.forgerock.json.jose.builders.SignedEncryptedJwtBuilder
- All Implemented Interfaces:
JwtBuilder
,SignedJwtBuilder
Deprecated.
Builds encrypted and then signed nested JWTs.
-
Constructor Summary
ConstructorDescriptionSignedEncryptedJwtBuilder
(EncryptedJwtBuilder encryptedJwtBuilder, SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm) Deprecated.Constructs a new SignedEncryptedJwtBuilder that will use the given EncryptedJwtBuilder, to build the nested Encrypted JWT, and the private key and JwsAlgorithm to sign the outer JWT. -
Method Summary
Methods inherited from class org.forgerock.json.jose.builders.EncryptedThenSignedJwtBuilder
asJwt, build, headers
Methods inherited from class org.forgerock.json.jose.builders.AbstractJwtBuilder
claims
-
Constructor Details
-
SignedEncryptedJwtBuilder
public SignedEncryptedJwtBuilder(EncryptedJwtBuilder encryptedJwtBuilder, SigningHandler signingHandler, JwsAlgorithm jwsAlgorithm) Deprecated.Constructs a new SignedEncryptedJwtBuilder that will use the given EncryptedJwtBuilder, to build the nested Encrypted JWT, and the private key and JwsAlgorithm to sign the outer JWT.- Parameters:
encryptedJwtBuilder
- The EncryptedJwtBuilder instance.signingHandler
- The SigningHandler instance used to sign the JWS.jwsAlgorithm
- The JwsAlgorithm to use when signing the JWT.
-
EncryptedThenSignedJwtBuilder
instead.