Package com.inesm.KeyManager.model
Class MessageContainer
java.lang.Object
com.inesm.KeyManager.model.MessageContainer
- All Implemented Interfaces:
Serializable
A class that holds all the results/parameters for AEAD.
All the getters and setters are the default ones.
Details about the meaning of each field are provided in the source code.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMessageContainer(byte[] ciphertext, byte[] signature, byte[] iv, byte[] data) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]getData()byte[]getIV()byte[]voidsetCiphertext(byte[] ciphertext) voidsetData(byte[] data) voidsetIV(byte[] iV) voidsetSignature(byte[] signature) toString()
-
Constructor Details
-
MessageContainer
public MessageContainer(byte[] ciphertext, byte[] signature, byte[] iv, byte[] data) -
MessageContainer
public MessageContainer()
-
-
Method Details
-
toString
-
getCiphertext
public byte[] getCiphertext() -
setCiphertext
public void setCiphertext(byte[] ciphertext) -
getSignature
public byte[] getSignature() -
setSignature
public void setSignature(byte[] signature) -
getIV
public byte[] getIV() -
setIV
public void setIV(byte[] iV) -
getData
public byte[] getData() -
setData
public void setData(byte[] data)
-