public class CiphertextTuple extends Object
Constructor and Description |
---|
CiphertextTuple(byte[] ciphertext,
int type)
Create a new CiphertextTuple.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCiphertext()
Return the ciphertext.
|
int |
getMessageType()
Return the messageType.
|
boolean |
isPreKeyMessage()
Returns true if this is a preKeyMessage.
|
public CiphertextTuple(byte[] ciphertext, int type)
ciphertext
- ciphertexttype
- typepublic byte[] getCiphertext()
public int getMessageType()
public boolean isPreKeyMessage()