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)
-
Method Summary
-
Field Details
-
tag
-
key
-
keyID
public final int keyID -
pn
public final int pn -
nextForwardKey
-
nextReverseKey
-
acksToSend
-
-
Constructor Details
-
RatchetEntry
outbound - calculated key -
RatchetEntry
public RatchetEntry(RatchetSessionTag tag, SessionKeyAndNonce key, int keyID, int pn, NextSessionKey nextFwdKey, NextSessionKey nextRevKey, List<Integer> acksToSend)
-
-
Method Details