| Package | Description |
|---|---|
| com.southernstorm.noise.protocol | Provides classes for communicating via the Noise protocol. |
| 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. |
| net.i2p.router.transport.ntcp | The NTCP (New TCP) transport for I2P, allowing I2P messages to be passed
over TCP connections. |
| net.i2p.router.transport.udp | The UDP transport (also known as 'SSU' or Secure Semi-reliable UDP transport)
for I2P, allowing I2P messages to be passed over UDP connections. |
| Modifier and Type | Method and Description |
|---|---|
HandshakeState | HandshakeState.clone()I2P
Must be called before both eph. |
| Constructor and Description |
|---|
HandshakeState(HandshakeState o)Copy constructor for cloning |
| Modifier and Type | Method and Description |
|---|---|
HandshakeState | RatchetTagSet.getHandshakeState()For inbound/outbound NSR only, else null. |
HandshakeState | SessionKeyAndNonce.getHandshakeState()For inbound NSR only, else null. |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean | RatchetSKM.createSession(PublicKey target,
Destination d,
HandshakeState state,
ReplyCallback callback)Inbound or outbound. |
(package private) boolean | RatchetSKM.updateSession(PublicKey target,
HandshakeState oldState,
HandshakeState state,
ReplyCallback callback,
SplitKeys split)Inbound or outbound. |
| Constructor and Description |
|---|
RatchetTagSet(HKDF hkdf,
HandshakeState state,
SessionKey rootKey,
SessionKey data,
long date)Outbound NSR Tagset |
RatchetTagSet(HKDF hkdf,
SessionTagListener lsnr,
HandshakeState state,
SessionKey rootKey,
SessionKey data,
long date,
int minSize,
int maxSize)Inbound NSR Tagset |
SessionKeyAndNonce(HandshakeState state)For New Session Replies |
SplitKeys(HandshakeState state,
HKDF hkdf)Derives ck, k_ab, k_ba from Noise handshake split stage. |
| Modifier and Type | Method and Description |
|---|---|
(package private) static byte[][] | OutboundNTCP2State.generateSipHashKeys(RouterContext ctx,
HandshakeState state)KDF for SipHash |
| Modifier and Type | Method and Description |
|---|---|
HandshakeState | OutboundEstablishState2.getHandshakeState() |
HandshakeState | InboundEstablishState2.getHandshakeState() |