Class CiphertextTuple
java.lang.Object
org.jivesoftware.smackx.omemo.internal.CiphertextTuple
Bundles a decrypted ciphertext together with information about the message type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Return the ciphertext.int
Return the messageType.boolean
Returns true if this is a preKeyMessage.
-
Constructor Details
-
CiphertextTuple
Create a new CiphertextTuple.- Parameters:
ciphertext
- ciphertexttype
- type
-
-
Method Details
-
getCiphertext
Return the ciphertext.- Returns:
- ciphertext part of the tuple
-
getMessageType
Return the messageType.- Returns:
- type of the message
-
isPreKeyMessage
Returns true if this is a preKeyMessage.- Returns:
- preKeyMessage?
-