Package | Description |
---|---|
net.i2p.client.streaming |
Implements a TCP-like (reliable, authenticated, in order) set of sockets for
communicating over the IP-like (unreliable, unauthenticated, unordered) I2P
messages.
|
net.i2p.crypto |
These classes provide a number of low-level cryptographic routines.
|
net.i2p.data.i2np |
The Invisible Internet Network Protocol (I2NP) is only a part of how an
application can send messages over the network.
|
net.i2p.i2ptunnel | |
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
net.i2p.router.tunnel | |
net.i2p.util |
These classes define the several useful utilities used
throughout the router and applications.
|
Modifier and Type | Method and Description |
---|---|
ByteArray |
Packet.acquirePayload() |
ByteArray |
Packet.getPayload()
get the actual payload of the message.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MessageInputStream.messageReceived(long messageId,
ByteArray payload)
A new message has arrived - toss it on the appropriate queue (moving
previously pending messages to the ready queue if it fills the gap, etc).
|
void |
Packet.setPayload(ByteArray payload) |
Modifier and Type | Method and Description |
---|---|
ByteArray |
DHSessionKeyBuilder.getExtraBytes()
Retrieve the extra bytes beyond the session key resulting from the DH exchange.
|
Modifier and Type | Field and Description |
---|---|
protected ByteArray[] |
TunnelBuildMessage._records |
protected ByteArray[] |
TunnelBuildReplyMessage._records |
Modifier and Type | Method and Description |
---|---|
ByteArray |
BuildRequestRecord.getData() |
ByteArray |
TunnelBuildMessage.getRecord(int index) |
ByteArray |
TunnelBuildReplyMessage.getRecord(int index) |
Modifier and Type | Method and Description |
---|---|
boolean |
BuildRequestRecord.decryptRecord(I2PAppContext ctx,
PrivateKey ourKey,
Hash ourIdent,
ByteArray encryptedRecord)
Decrypt the data from the specified record, writing the decrypted record into this instance's
buffer (but not overwriting the array contained within the old buffer)
|
void |
BuildRequestRecord.setData(ByteArray data) |
void |
TunnelBuildMessage.setRecord(int index,
ByteArray record) |
void |
TunnelBuildReplyMessage.setRecord(int index,
ByteArray record) |
Constructor and Description |
---|
BuildRequestRecord(ByteArray data) |
Modifier and Type | Field and Description |
---|---|
protected ByteArray |
HTTPResponseOutputStream._headerBuffer |
Modifier and Type | Method and Description |
---|---|
ByteArray[] |
InboundMessageState.getFragments() |
Modifier and Type | Method and Description |
---|---|
ByteArray |
HopConfig.getReplyIV()
iv used to encrypt the reply sent for the new tunnel creation crypto
|
Modifier and Type | Method and Description |
---|---|
void |
HopConfig.setReplyIV(ByteArray iv) |
Modifier and Type | Method and Description |
---|---|
ByteArray |
ByteCache.acquire()
Get the next available structure, either from the cache or a brand new one
|
Modifier and Type | Method and Description |
---|---|
void |
ByteCache.release(ByteArray entry)
Put this structure back onto the available cache for reuse
|
void |
ByteCache.release(ByteArray entry,
boolean shouldZero) |