Class SenderKeyRecord
- java.lang.Object
-
- org.signal.libsignal.protocol.groups.state.SenderKeyRecord
-
- All Implemented Interfaces:
NativeHandleGuard.Owner
public class SenderKeyRecord extends java.lang.Object implements NativeHandleGuard.Owner
A durable representation of a set of SenderKeyStates for a specific (senderName, deviceId, distributionId) tuple.
-
-
Constructor Summary
Constructors Constructor Description SenderKeyRecord(byte[] serialized)SenderKeyRecord(long unsafeHandle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()byte[]serialize()longunsafeNativeHandleWithoutGuard()
-
-
-
Constructor Detail
-
SenderKeyRecord
public SenderKeyRecord(long unsafeHandle)
-
SenderKeyRecord
public SenderKeyRecord(byte[] serialized) throws InvalidMessageException- Throws:
InvalidMessageException
-
-
Method Detail
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
serialize
public byte[] serialize()
-
unsafeNativeHandleWithoutGuard
public long unsafeNativeHandleWithoutGuard()
- Specified by:
unsafeNativeHandleWithoutGuardin interfaceNativeHandleGuard.Owner
-
-