Package org.forgerock.json.jose.jws
Class SignedEncryptedJwt
- java.lang.Object
-
- org.forgerock.json.jose.jws.SignedJwt
-
- org.forgerock.json.jose.jws.EncryptedThenSignedJwt
-
- org.forgerock.json.jose.jws.SignedEncryptedJwt
-
@Deprecated public class SignedEncryptedJwt extends EncryptedThenSignedJwt
Deprecated.UseEncryptedThenSignedJwt
instead.A nested encrypted and then signed JWT.
-
-
Constructor Summary
Constructors Constructor Description SignedEncryptedJwt(JwsHeader header, EncryptedJwt nestedJwe, byte[] signingInput, byte[] signature)
Deprecated.Constructs a reconstructed SignedEncryptedJwt from its constituent parts, the JwsHeader, nested Encrypted JWT, signing input and signature.SignedEncryptedJwt(JwsHeader header, EncryptedJwt nestedJwe, SigningHandler signingHandler)
Deprecated.Constructs a fresh, new SignedEncryptedJwt from the given JwsHeader and nested Encrypted JWT.
-
Method Summary
-
Methods inherited from class org.forgerock.json.jose.jws.EncryptedThenSignedJwt
copy, decrypt, decrypt, getClaimsSet, getEncryptedJwt, getJweHeader
-
Methods inherited from class org.forgerock.json.jose.jws.SignedJwt
build, getHeader, getPayload, verify
-
-
-
-
Constructor Detail
-
SignedEncryptedJwt
public SignedEncryptedJwt(JwsHeader header, EncryptedJwt nestedJwe, SigningHandler signingHandler)
Deprecated.Constructs a fresh, new SignedEncryptedJwt from the given JwsHeader and nested Encrypted JWT.The specified private key will be used in the creation of the JWS signature.
- Parameters:
header
- The JwsHeader containing the header parameters of the JWS.nestedJwe
- The nested Encrypted JWT that will be the payload of this JWS.signingHandler
- The SigningHandler instance used to sign the JWS.
-
SignedEncryptedJwt
public SignedEncryptedJwt(JwsHeader header, EncryptedJwt nestedJwe, byte[] signingInput, byte[] signature)
Deprecated.Constructs a reconstructed SignedEncryptedJwt from its constituent parts, the JwsHeader, nested Encrypted JWT, signing input and signature.For use when a signed nested encrypted JWT has been reconstructed from its base64url encoded string representation and the signature needs verifying.
- Parameters:
header
- The JwsHeader containing the header parameters of the JWS.nestedJwe
- The nested Encrypted JWT that is the payload of the JWS.signingInput
- The original data that was signed, being the base64url encoding of the JWS header and payload concatenated using a "." character.signature
- The resulting signature of signing the signing input.
-
-