Class SignedPreKeyRecord
- java.lang.Object
-
- org.signal.libsignal.protocol.state.SignedPreKeyRecord
-
- All Implemented Interfaces:
NativeHandleGuard.Owner
public class SignedPreKeyRecord extends java.lang.Object implements NativeHandleGuard.Owner
-
-
Constructor Summary
Constructors Constructor Description SignedPreKeyRecord(byte[] serialized)SignedPreKeyRecord(int id, long timestamp, ECKeyPair keyPair, byte[] signature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()intgetId()ECKeyPairgetKeyPair()byte[]getSignature()longgetTimestamp()byte[]serialize()longunsafeNativeHandleWithoutGuard()
-
-
-
Constructor Detail
-
SignedPreKeyRecord
public SignedPreKeyRecord(int id, long timestamp, ECKeyPair keyPair, byte[] signature)
-
SignedPreKeyRecord
public SignedPreKeyRecord(byte[] serialized) throws InvalidMessageException- Throws:
InvalidMessageException
-
-
Method Detail
-
finalize
protected void finalize()
- Overrides:
finalizein classjava.lang.Object
-
getId
public int getId()
-
getTimestamp
public long getTimestamp()
-
getKeyPair
public ECKeyPair getKeyPair()
-
getSignature
public byte[] getSignature()
-
serialize
public byte[] serialize()
-
unsafeNativeHandleWithoutGuard
public long unsafeNativeHandleWithoutGuard()
- Specified by:
unsafeNativeHandleWithoutGuardin interfaceNativeHandleGuard.Owner
-
-