Package net.i2p.router.crypto.ratchet
Class RatchetEntry
- java.lang.Object
-
- net.i2p.router.crypto.ratchet.RatchetEntry
-
class RatchetEntry extends Object
Simple object with outbound tag, key, and nonce, and an optional next keys. The object returned from SKM.consumeNextAvailableTag() to the engine encrypt.- Since:
- 0.9.44
-
-
Field Summary
Fields Modifier and Type Field Description List<Integer>
acksToSend
SessionKeyAndNonce
key
int
keyID
NextSessionKey
nextForwardKey
NextSessionKey
nextReverseKey
int
pn
RatchetSessionTag
tag
-
Constructor Summary
Constructors Constructor Description RatchetEntry(RatchetSessionTag tag, SessionKeyAndNonce key, int keyID, int pn)
outbound - calculated keyRatchetEntry(RatchetSessionTag tag, SessionKeyAndNonce key, int keyID, int pn, NextSessionKey nextFwdKey, NextSessionKey nextRevKey, List<Integer> acksToSend)
-
-
-
Field Detail
-
tag
public final RatchetSessionTag tag
-
key
public final SessionKeyAndNonce key
-
keyID
public final int keyID
-
pn
public final int pn
-
nextForwardKey
public final NextSessionKey nextForwardKey
-
nextReverseKey
public final NextSessionKey nextReverseKey
-
-
Constructor Detail
-
RatchetEntry
public RatchetEntry(RatchetSessionTag tag, SessionKeyAndNonce key, int keyID, int pn)
outbound - calculated key
-
RatchetEntry
public RatchetEntry(RatchetSessionTag tag, SessionKeyAndNonce key, int keyID, int pn, NextSessionKey nextFwdKey, NextSessionKey nextRevKey, List<Integer> acksToSend)
-
-