Packages that use X25519KeyFactory
Package
Description
The I2P router application handles I2P network communication.
Simplified fake implementations of router interfaces (comm system and friends) for testing and embedded builds.
Transport framework: the transport lifecycle and pool management, connection handling and bandwidth throttling for the transports (NTCP2 over TCP, SSU over UDP) that carry I2P messages between routers, plus NAT traversal via UPnP and GeoIP country lookups.
Transport-layer key agreement: the X25519 key factory used by the NTCP2 and SSU2 session handshakes for peer authentication and session encryption.
NTCP2, the TCP transport: framed, ratchet-encrypted and mutually authenticated connections between routers.
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of X25519KeyFactory in net.i2p.router
Methods in net.i2p.router that return X25519KeyFactoryModifier and TypeMethodDescriptionCommSystemFacade.getXDHFactory()Factory for making X25519 key pairs.Uses of X25519KeyFactory in net.i2p.router.dummy
Fields in net.i2p.router.dummy declared as X25519KeyFactoryModifier and TypeFieldDescriptionprivate final X25519KeyFactoryVMCommSystem._xdhThreadXDH factory kept for the tests.Methods in net.i2p.router.dummy that return X25519KeyFactoryUses of X25519KeyFactory in net.i2p.router.transport
Fields in net.i2p.router.transport declared as X25519KeyFactoryModifier and TypeFieldDescriptionprivate final X25519KeyFactoryTransportManager._xdhThreadFactory for the NTCP2 and SSU2 key agreements.Methods in net.i2p.router.transport that return X25519KeyFactoryModifier and TypeMethodDescriptionCommSystemFacadeImpl.getXDHFactory()Factory for making X25519 key pairs.(package private) X25519KeyFactoryTransportManager.getXDHFactory()The X25519 key factory used by transports.Uses of X25519KeyFactory in net.i2p.router.transport.crypto
Fields in net.i2p.router.transport.crypto declared as X25519KeyFactoryModifier and TypeFieldDescriptionprivate static X25519KeyFactoryX25519KeyFactory.lastInstanceThe most recently created factory, reused on reconfigure.Methods in net.i2p.router.transport.crypto that return X25519KeyFactoryModifier and TypeMethodDescriptionstatic X25519KeyFactoryX25519KeyFactory.getInstance()The most recently constructed factory.Uses of X25519KeyFactory in net.i2p.router.transport.ntcp
Fields in net.i2p.router.transport.ntcp declared as X25519KeyFactoryModifier and TypeFieldDescriptionprivate final X25519KeyFactoryNTCPTransport._xdhFactoryFactory for the NTCP2 ephemeral key pairs.Methods in net.i2p.router.transport.ntcp that return X25519KeyFactoryModifier and TypeMethodDescription(package private) X25519KeyFactoryNTCPTransport.getXDHFactory()The X25519 key factory backing NTCP2 static key agreement, absent when the router was configured without NTCP2.Constructors in net.i2p.router.transport.ntcp with parameters of type X25519KeyFactoryModifierConstructorDescriptionNTCPTransport(RouterContext ctx, X25519KeyFactory xdh) Registers the NTCP rate statistics and loads or creates the NTCP2 static keys; nothing is started untilNTCPTransport.startListening().Uses of X25519KeyFactory in net.i2p.router.transport.udp
Fields in net.i2p.router.transport.udp declared as X25519KeyFactoryModifier and TypeFieldDescriptionprivate final X25519KeyFactoryUDPTransport._xdhFactoryShared X25519 factory for the handshakes.Methods in net.i2p.router.transport.udp that return X25519KeyFactoryModifier and TypeMethodDescription(package private) X25519KeyFactoryUDPTransport.getXDHFactory()XDH key factory for SSU2, or null if not configured for SSU2.Constructors in net.i2p.router.transport.udp with parameters of type X25519KeyFactoryModifierConstructorDescriptionUDPTransport(RouterContext ctx, X25519KeyFactory xdh) Create the UDP transport for the given router context and SSU2 XDH factory.