| 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 (proposal 144).
|
| net.i2p.router.transport.ntcp |
The NTCP transport allows passing I2P messages on top of TCP.
|
| 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(net.i2p.data.PublicKey target,
net.i2p.data.Destination d,
HandshakeState state,
ReplyCallback callback)
Inbound or outbound.
|
(package private) boolean |
RatchetSKM.updateSession(net.i2p.data.PublicKey target,
HandshakeState oldState,
HandshakeState state,
ReplyCallback callback,
SplitKeys split)
Inbound or outbound.
|
| Constructor and Description |
|---|
RatchetTagSet(net.i2p.crypto.HKDF hkdf,
HandshakeState state,
net.i2p.data.SessionKey rootKey,
net.i2p.data.SessionKey data,
long date)
Outbound NSR Tagset
|
RatchetTagSet(net.i2p.crypto.HKDF hkdf,
SessionTagListener lsnr,
HandshakeState state,
net.i2p.data.SessionKey rootKey,
net.i2p.data.SessionKey data,
long date,
int minSize,
int maxSize)
Inbound NSR Tagset
|
SessionKeyAndNonce(HandshakeState state)
For New Session Replies
|
SplitKeys(HandshakeState state,
net.i2p.crypto.HKDF hkdf) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static byte[][] |
OutboundNTCP2State.generateSipHashKeys(RouterContext ctx,
HandshakeState state)
KDF for SipHash
|