class RatchetEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
List<Integer> | acksToSendACKs queued for delivery with this entry, or null. |
SessionKeyAndNonce | keyThe session key |
int | keyIDThe key identifier |
NextSessionKey | nextForwardKeyThe next {forward} chain key |
NextSessionKey | nextReverseKeyThe next {reverse} chain key |
int | pnThe previous chain length |
RatchetSessionTag | tagThe session tag |
| Constructor and Description |
|---|
RatchetEntry(RatchetSessionTag tag,
SessionKeyAndNonce key,
int keyID,
int pn)outbound - calculated key |
RatchetEntry(RatchetSessionTag tag,
SessionKeyAndNonce key,
int keyID,
int pn,
NextSessionKey nextFwdKey,
NextSessionKey nextRevKey,
List<Integer> acksToSend)Full constructor with optional next keys and pending ACKs. |
public final SessionKeyAndNonce key
public final int keyID
public final NextSessionKey nextForwardKey
public final NextSessionKey nextReverseKey
public final int pn
public final RatchetSessionTag tag
public RatchetEntry(RatchetSessionTag tag, SessionKeyAndNonce key, int keyID, int pn)
public RatchetEntry(RatchetSessionTag tag, SessionKeyAndNonce key, int keyID, int pn, NextSessionKey nextFwdKey, NextSessionKey nextRevKey, List<Integer> acksToSend)