Package org.forgerock.json.jose.jwe
Class JweEncryption
java.lang.Object
org.forgerock.json.jose.jwe.JweEncryption
This class represents the result from the encryption process of the JWT plaintext.
- Since:
- 2.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionJweEncryption(byte[] ciphertext, byte[] authenticationTag) Constructs a new JweEncryption object with the given ciphertext and authentication tag. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbyte[]Gets the authentication tag from the result of the encryption.byte[]Gets the ciphertext from the result of the encryption.inthashCode()
-
Constructor Details
-
JweEncryption
Constructs a new JweEncryption object with the given ciphertext and authentication tag.- Parameters:
ciphertext- The ciphertext.authenticationTag- The authentication tag.
-
-
Method Details