Class SenderKeyMessage
-
- All Implemented Interfaces:
-
org.signal.libsignal.internal.NativeHandleGuard.Owner,org.signal.libsignal.protocol.message.CiphertextMessage
public class SenderKeyMessage extends NativeHandleGuard.SimpleOwner implements CiphertextMessage, NativeHandleGuard.Owner
-
-
Field Summary
Fields Modifier and Type Field Description public final static intCURRENT_VERSIONpublic final static intWHISPER_TYPEpublic final static intPREKEY_TYPEpublic final static intSENDERKEY_TYPEpublic final static intPLAINTEXT_CONTENT_TYPEpublic final static intENCRYPTED_MESSAGE_OVERHEAD
-
Constructor Summary
Constructors Constructor Description SenderKeyMessage(long nativeHandle)SenderKeyMessage(Array<byte> serialized)
-
Method Summary
Modifier and Type Method Description UUIDgetDistributionId()intgetChainId()intgetIteration()Array<byte>getCipherText()voidverifySignature(ECPublicKey signatureKey)Array<byte>serialize()intgetType()-
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.SimpleOwner
unsafeNativeHandleWithoutGuard -
Methods inherited from class org.signal.libsignal.internal.NativeHandleGuard.Owner
guard, guardedMap, guardedMapChecked, guardedRun, guardedRunChecked -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SenderKeyMessage
SenderKeyMessage(long nativeHandle)
-
SenderKeyMessage
SenderKeyMessage(Array<byte> serialized)
-
-
Method Detail
-
getDistributionId
UUID getDistributionId()
-
getChainId
int getChainId()
-
getIteration
int getIteration()
-
getCipherText
Array<byte> getCipherText()
-
verifySignature
void verifySignature(ECPublicKey signatureKey)
-
getType
int getType()
-
-
-
-