public class SenderKeyDistributionMessage extends java.lang.Object implements CiphertextMessage
CURRENT_VERSION, ENCRYPTED_MESSAGE_OVERHEAD, PREKEY_TYPE, SENDERKEY_DISTRIBUTION_TYPE, SENDERKEY_TYPE, WHISPER_TYPE| Constructor and Description |
|---|
SenderKeyDistributionMessage(byte[] serialized) |
SenderKeyDistributionMessage(int id,
int iteration,
byte[] chainKey,
ECPublicKey signatureKey) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChainKey() |
int |
getId() |
int |
getIteration() |
ECPublicKey |
getSignatureKey() |
int |
getType() |
byte[] |
serialize() |
public SenderKeyDistributionMessage(int id,
int iteration,
byte[] chainKey,
ECPublicKey signatureKey)
public SenderKeyDistributionMessage(byte[] serialized)
throws LegacyMessageException,
InvalidMessageException
public byte[] serialize()
serialize in interface CiphertextMessagepublic int getType()
getType in interface CiphertextMessagepublic int getIteration()
public byte[] getChainKey()
public ECPublicKey getSignatureKey()
public int getId()