Packages that use SessionKeyAndNonce
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 SessionKeyAndNonce in net.i2p.router.crypto.ratchet
Fields in net.i2p.router.crypto.ratchet declared as SessionKeyAndNonceMethods in net.i2p.router.crypto.ratchet that return SessionKeyAndNonceModifier and TypeMethodDescriptionRatchetTagSet.consume(RatchetSessionTag tag) Inbound only.SingleTagSet.consume(RatchetSessionTag tag) RatchetTagSet.consumeNextKey()For outbound, call afterRatchetTagSet.consumeNext().RatchetSKM.consumeTag(RatchetSessionTag tag) Determines whether a session key was received for the given session tag.Methods in net.i2p.router.crypto.ratchet with parameters of type SessionKeyAndNonceModifier and TypeMethodDescriptionprivate CloveSetECIESAEADEngine.decryptExistingSession(byte[] tag, byte[] data, SessionKeyAndNonce key, PrivateKey _targetPrivateKey, RatchetSKM keyManager) Scenario 3: Existing Session Message.private CloveSetECIESAEADEngine.xx_decryptFast(byte[] tag, RatchetSessionTag st, SessionKeyAndNonce key, byte[] data, PrivateKey targetPrivateKey, RatchetSKM keyManager) NSR/ES only.Constructors in net.i2p.router.crypto.ratchet with parameters of type SessionKeyAndNonceModifierConstructorDescriptionRatchetEntry(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.