Package org.forgerock.json.jose.jwe
Class JweEncryption
- java.lang.Object
-
- org.forgerock.json.jose.jwe.JweEncryption
-
public class JweEncryption extends Object
This class represents the result from the encryption process of the JWT plaintext.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description JweEncryption(byte[] ciphertext, byte[] authenticationTag)
Constructs a new JweEncryption object with the given ciphertext and authentication tag.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
byte[]
getAuthenticationTag()
Gets the authentication tag from the result of the encryption.byte[]
getCiphertext()
Gets the ciphertext from the result of the encryption.int
hashCode()
-