Packages that use KeyFactory
Package
Description
Provides classes for communicating via the Noise protocol.
Low-level messages sent between routers - the Invisible Internet Network Protocol (I2NP).
Post-quantum hybrid key encapsulation built on the bundled Bouncy Castle ML-KEM primitives.
The Double Ratchet with X25519 key agreement and ECIES hybrid encryption, used by the NTCP2 and SSU transports for session encryption.
Transport-layer key agreement: the X25519 key factory used by the NTCP2 and SSU2 session handshakes for peer authentication and session encryption.
Uses of KeyFactory in com.southernstorm.noise.protocol
Fields in com.southernstorm.noise.protocol declared as KeyFactoryModifier and TypeFieldDescriptionprivate final KeyFactoryMLKEMDHState._hdhThe HDHG factory that mixes the shared secret.private final KeyFactoryCurve25519DHState._xdhFactory encoding the keys for display.Constructors in com.southernstorm.noise.protocol with parameters of type KeyFactoryModifierConstructorDescriptionConstructs a new Diffie-Hellman object for Curve25519.HandshakeState(NoiseInit.PatternID patternId, int role, KeyFactory xdh) Creates a new Noise handshake.HandshakeState(NoiseInit.PatternID patternId, int role, KeyFactory xdh, KeyFactory hdh) Creates a new Noise handshake.privateMLKEMDHState(boolean isAlice, KeyFactory hdh, NoiseInit.PatternID patternId) Selects the ML-KEM parameter set from the handshake pattern and allocates the key buffers.MLKEMDHState(KeyFactory hdh, NoiseInit.PatternID patternId) Alice local sideUses of KeyFactory in net.i2p.data.i2np
Fields in net.i2p.data.i2np declared as KeyFactoryModifier and TypeFieldDescriptionprivate static KeyFactoryBuildRequestRecord.TESTKFTest key factory.Uses of KeyFactory in net.i2p.router.crypto.pqc
Classes in net.i2p.router.crypto.pqc that implement KeyFactoryModifier and TypeClassDescriptionprivate static classMakes the key factories for one ML-KEM variant.classTry to keep key pairs at the ready.Fields in net.i2p.router.crypto.pqc declared as KeyFactoryModifier and TypeFieldDescriptionstatic final KeyFactoryMLKEM.MLKEM1024KeyFactoryMLKEM-1024 key factory.static final KeyFactoryMLKEM.MLKEM512KeyFactoryMLKEM-512 key factory.static final KeyFactoryMLKEM.MLKEM768KeyFactoryMLKEM-768 key factory.Uses of KeyFactory in net.i2p.router.crypto.ratchet
Classes in net.i2p.router.crypto.ratchet that implement KeyFactoryModifier and TypeClassDescriptionclassThreaded factory for pre-calculating Elligator2-encoded X25519 key pairs to prevent Diffie-Hellman computation bottlenecks in critical pathsMethods in net.i2p.router.crypto.ratchet that return KeyFactoryModifier and TypeMethodDescriptionECIESAEADEngine.getHybridKeyFactory(EncType type) The hybrid key factory for the given encryption type, or null if not a hybrid type.Uses of KeyFactory in net.i2p.router.transport.crypto
Classes in net.i2p.router.transport.crypto that implement KeyFactory