Class DecryptionErrorMessage
- java.lang.Object
-
- org.signal.libsignal.protocol.message.DecryptionErrorMessage
-
- All Implemented Interfaces:
NativeHandleGuard.Owner
public final class DecryptionErrorMessage extends java.lang.Object implements NativeHandleGuard.Owner
-
-
Constructor Summary
Constructors Constructor Description DecryptionErrorMessage(byte[] serialized)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DecryptionErrorMessageextractFromSerializedContent(byte[] serializedContentBytes)protected voidfinalize()static DecryptionErrorMessageforOriginalMessage(byte[] originalBytes, int messageType, long timestamp, int originalSenderDeviceId)intgetDeviceId()java.util.Optional<ECPublicKey>getRatchetKey()longgetTimestamp()byte[]serialize()longunsafeNativeHandleWithoutGuard()
-
-
-
Constructor Detail
-
DecryptionErrorMessage
public DecryptionErrorMessage(byte[] serialized) throws InvalidMessageException- Throws:
InvalidMessageException
-
-
Method Detail
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
unsafeNativeHandleWithoutGuard
public long unsafeNativeHandleWithoutGuard()
- Specified by:
unsafeNativeHandleWithoutGuardin interfaceNativeHandleGuard.Owner
-
forOriginalMessage
public static DecryptionErrorMessage forOriginalMessage(byte[] originalBytes, int messageType, long timestamp, int originalSenderDeviceId)
-
serialize
public byte[] serialize()
-
getRatchetKey
public java.util.Optional<ECPublicKey> getRatchetKey()
-
getTimestamp
public long getTimestamp()
-
getDeviceId
public int getDeviceId()
-
extractFromSerializedContent
public static DecryptionErrorMessage extractFromSerializedContent(byte[] serializedContentBytes) throws InvalidMessageException
- Throws:
InvalidMessageException
-
-