public class SignedPreKeyRecord
extends java.lang.Object
| Constructor and Description |
|---|
SignedPreKeyRecord(byte[] serialized) |
SignedPreKeyRecord(int id,
long timestamp,
ECKeyPair keyPair,
byte[] signature) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
ECKeyPair |
getKeyPair() |
byte[] |
getSignature() |
long |
getTimestamp() |
byte[] |
serialize() |
public SignedPreKeyRecord(int id,
long timestamp,
ECKeyPair keyPair,
byte[] signature)
public SignedPreKeyRecord(byte[] serialized)
throws java.io.IOException
java.io.IOExceptionpublic int getId()
public long getTimestamp()
public ECKeyPair getKeyPair()
public byte[] getSignature()
public byte[] serialize()