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 |
SessionKeyAndNonce.getHandshakeState()
For inbound NSR only, else null.
|
HandshakeState |
RatchetTagSet.getHandshakeState()
For inbound/outbound NSR only, else null.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
RatchetSKM.createSession(PublicKey target,
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) |
Modifier and Type | Method and Description |
---|---|
(package private) static byte[][] |
OutboundNTCP2State.generateSipHashKeys(RouterContext ctx,
HandshakeState state)
KDF for SipHash
|