Package | Description |
---|---|
net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
net.i2p.router.crypto.ratchet |
Implementation of ECIES-X25519-AEAD-Ratchet (proposal 144).
|
net.i2p.router.message |
Creates and parses garlic messages.
|
net.i2p.router.networkdb.kademlia |
The network database, including implementation of floodfills.
|
Modifier and Type | Method and Description |
---|---|
RatchetSessionTag |
DatabaseLookupMessage.getRatchetReplyTag()
The included session tag or null if unset
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseLookupMessage.setReplySession(SessionKey encryptKey,
RatchetSessionTag encryptTag)
Ratchet
|
Modifier and Type | Field and Description |
---|---|
RatchetSessionTag |
RatchetEntry.tag |
Modifier and Type | Method and Description |
---|---|
RatchetSessionTag |
RatchetTagSet.consumeNext()
Public for outbound only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SessionTagListener.addTag(RatchetSessionTag tag,
RatchetTagSet ts)
Map the tag to this tagset.
|
boolean |
RatchetSKM.addTag(RatchetSessionTag tag,
RatchetTagSet ts)
Map the tag to this tagset.
|
SessionKeyAndNonce |
SingleTagSet.consume(RatchetSessionTag tag) |
SessionKeyAndNonce |
RatchetTagSet.consume(RatchetSessionTag tag)
inbound only
|
SessionKeyAndNonce |
RatchetSKM.consumeTag(RatchetSessionTag tag)
Inbound.
|
byte[] |
ECIESAEADEngine.encrypt(CloveSet cloves,
SessionKey key,
RatchetSessionTag tag)
Create an Existing Session Message to an anonymous target
using the given session key and tag, for netdb DSM/DSRM replies.
|
void |
SessionTagListener.expireTag(RatchetSessionTag tag,
RatchetTagSet ts)
Remove the tag associated with this tagset.
|
void |
RatchetSKM.expireTag(RatchetSessionTag tag,
RatchetTagSet ts)
Remove the tag associated with this tagset.
|
void |
MuxedSKM.tagsReceived(SessionKey key,
RatchetSessionTag tag,
long expire)
EC only
One time session
|
void |
RatchetSKM.tagsReceived(SessionKey key,
RatchetSessionTag tag,
long expire)
One time session
|
Constructor and Description |
---|
RatchetEntry(RatchetSessionTag tag,
SessionKeyAndNonce key,
int keyID,
int pn)
outbound - calculated key
|
RatchetEntry(RatchetSessionTag tag,
SessionKeyAndNonce key,
int keyID,
int pn,
NextSessionKey nextFwdKey,
NextSessionKey nextRevKey,
List<Integer> acksToSend) |
SingleTagSet(SessionTagListener lsnr,
SessionKey key,
RatchetSessionTag tag,
long date,
long timeout)
For outbound Existing Session
|
Modifier and Type | Method and Description |
---|---|
static GarlicMessage |
GarlicMessageBuilder.buildMessage(RouterContext ctx,
GarlicConfig config,
SessionKey encryptKey,
RatchetSessionTag encryptTag)
Ratchet only.
|
Modifier and Type | Field and Description |
---|---|
RatchetSessionTag |
MessageWrapper.OneTimeSession.rtag
non-null for ratchet
|
Modifier and Type | Method and Description |
---|---|
static GarlicMessage |
MessageWrapper.wrap(RouterContext ctx,
I2NPMessage m,
SessionKey encryptKey,
RatchetSessionTag encryptTag)
Garlic wrap a message from nobody, destined for an unknown router,
to hide the contents from the IBGW.
|
Constructor and Description |
---|
OneTimeSession(SessionKey key,
RatchetSessionTag tag) |