Package net.i2p.router.crypto.ratchet
Class RatchetEntry
java.lang.Object
net.i2p.router.crypto.ratchet.RatchetEntry
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
Modifier and TypeFieldDescriptionfinal SessionKeyAndNonce
final int
final NextSessionKey
final NextSessionKey
final int
final RatchetSessionTag
-
Constructor Summary
ConstructorDescriptionRatchetEntry
(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