Packages that use NextSessionKey
Package
Description
The Double Ratchet with X25519 key agreement and ECIES hybrid encryption, used by the NTCP2 and SSU transports for session encryption.
Uses of NextSessionKey in net.i2p.router.crypto.ratchet
Fields in net.i2p.router.crypto.ratchet declared as NextSessionKeyModifier and TypeFieldDescriptionprivate NextSessionKeyRatchetSKM.OutboundSession._hisIBKeyThe last key received from the peer, possibly without data, for the duplicate check.private NextSessionKeyRatchetSKM.OutboundSession._hisIBKeyWithDataThe last key received from the peer that carried data.private NextSessionKeyRatchetSKM.OutboundSession._hisOBKeyTheir latest outbound key, possibly without data.private NextSessionKeyRatchetSKM.OutboundSession._hisOBKeyWithDataTheir latest outbound key that carried data.private NextSessionKeyRatchetSKM.OutboundSession._myIBKeyOur next inbound key, sent ahead of use.private NextSessionKeyRatchetTagSet._nextKeyOur next key, sent ahead of use.private NextSessionKeyRatchetPayload.NextKeyBlock.nextThe next ratchet key sent in the payload.final NextSessionKeyRatchetEntry.nextForwardKeyThe next {forward} chain key.final NextSessionKeyRatchetEntry.nextReverseKeyThe next {reverse} chain key.Fields in net.i2p.router.crypto.ratchet with type parameters of type NextSessionKeyMethods in net.i2p.router.crypto.ratchet that return NextSessionKeyModifier and TypeMethodDescriptionRatchetTagSet.getNextKey()Next Forward Key if applicable (outbound ES and we're running low).private NextSessionKeyRatchetSKM.OutboundSession.getReverseSendKey()Reverse key to send, or null.Methods in net.i2p.router.crypto.ratchet with parameters of type NextSessionKeyModifier and TypeMethodDescription(package private) RatchetPayload.NextKeyBlockECIESAEADEngine.BlockPool.acquireNextKey(NextSessionKey nextKey) Take a pooled NextKeyBlock for this key, or allocate one.private byte[]ECIESAEADEngine.createPayload(CloveSet cloves, long expiration, boolean ackreq, NextSessionKey nextKey1, NextSessionKey nextKey2, List<Integer> acksToSend, int overhead) Create the payload from the given cloves and optional blocks.voidECIESAEADEngine.PLCallback.gotNextKey(NextSessionKey next) Process a next key field from the payload.voidRatchetPayload.PayloadCallback.gotNextKey(NextSessionKey nextKey) Receive a next key block.(package private) voidRatchetSKM.nextKeyReceived(PublicKey target, NextSessionKey key) Process a received next key.voidRatchetSKM.OutboundSession.nextKeyReceived(NextSessionKey key) Process a Next Session Key message, validating the ID sequence before advancing the ratchet to the new tag set key.(package private) voidRatchetPayload.NextKeyBlock.setNext(NextSessionKey nextKey) Set the next session key, for reuse.Constructors in net.i2p.router.crypto.ratchet with parameters of type NextSessionKeyModifierConstructorDescriptionNextKeyBlock(NextSessionKey nextKey) Next session key carried by this block.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.