| Package | Description |
|---|---|
| net.i2p.router.crypto.ratchet | Implementation of ECIES-X25519-AEAD-Ratchet cryptographic protocol
(I2P proposal 144), providing forward secrecy and enhanced security
for I2P transport communications. |
| Modifier and Type | Field and Description |
|---|---|
SessionKeyAndNonce | RatchetEntry.keyThe session key |
| Modifier and Type | Method and Description |
|---|---|
SessionKeyAndNonce | SingleTagSet.consume(RatchetSessionTag tag) |
SessionKeyAndNonce | RatchetTagSet.consume(RatchetSessionTag tag)inbound only |
SessionKeyAndNonce | RatchetTagSet.consumeNextKey()For outbound, call after consumeNextTag(). |
SessionKeyAndNonce | RatchetSKM.consumeTag(RatchetSessionTag tag)Inbound. |
| 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. |