Class DecryptionErrorMessage
-
- All Implemented Interfaces:
-
org.signal.libsignal.internal.NativeHandleGuard.Owner
public final class DecryptionErrorMessage extends NativeHandleGuard.SimpleOwner
-
-
Constructor Summary
Constructors Constructor Description DecryptionErrorMessage(Array<byte> serialized)
-
Method Summary
Modifier and Type Method Description static DecryptionErrorMessageforOriginalMessage(Array<byte> originalBytes, int messageType, long timestamp, int originalSenderDeviceId)Array<byte>serialize()Optional<ECPublicKey>getRatchetKey()longgetTimestamp()intgetDeviceId()static DecryptionErrorMessageextractFromSerializedContent(Array<byte> serializedContentBytes)-
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
-
DecryptionErrorMessage
DecryptionErrorMessage(Array<byte> serialized)
-
-
Method Detail
-
forOriginalMessage
static DecryptionErrorMessage forOriginalMessage(Array<byte> originalBytes, int messageType, long timestamp, int originalSenderDeviceId)
-
getRatchetKey
Optional<ECPublicKey> getRatchetKey()
-
getTimestamp
long getTimestamp()
-
getDeviceId
int getDeviceId()
-
extractFromSerializedContent
static DecryptionErrorMessage extractFromSerializedContent(Array<byte> serializedContentBytes)
-
-
-
-