public class SignatureMessage extends AbstractEncodedMessage
| Modifier and Type | Field and Description |
|---|---|
byte[] |
xEncrypted |
byte[] |
xEncryptedMAC |
MESSAGE_DATA, MESSAGE_DH_COMMIT, MESSAGE_DHKEY, MESSAGE_REVEALSIG, MESSAGE_SIGNATURE, protocolVersion, receiverInstanceTag, senderInstanceTagMESSAGE_ERROR, MESSAGE_PLAINTEXT, MESSAGE_QUERY, messageType| Modifier | Constructor and Description |
|---|---|
|
SignatureMessage(int protocolVersion,
byte[] xEncrypted,
byte[] xEncryptedMAC) |
protected |
SignatureMessage(int messageType,
int protocolVersion,
byte[] xEncrypted,
byte[] xEncryptedMAC) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] key) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
verify(byte[] key) |
protected SignatureMessage(int messageType,
int protocolVersion,
byte[] xEncrypted,
byte[] xEncryptedMAC)
public SignatureMessage(int protocolVersion,
byte[] xEncrypted,
byte[] xEncryptedMAC)
public byte[] decrypt(byte[] key)
throws OtrException
OtrExceptionpublic boolean verify(byte[] key)
throws OtrException
OtrExceptionpublic int hashCode()
hashCode in class AbstractEncodedMessagepublic boolean equals(Object obj)
equals in class AbstractEncodedMessageCopyright © 2015. All rights reserved.