Package | Description |
---|---|
net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
Modifier and Type | Field | Description |
---|---|---|
protected EncryptedBuildRecord[] |
TunnelBuildMessageBase._records |
Modifier and Type | Method | Description |
---|---|---|
static EncryptedBuildRecord |
BuildResponseRecord.create(I2PAppContext ctx,
int status,
SessionKey replyKey,
byte[] replyIV,
long responseMessageId) |
Create a new encrypted response
|
EncryptedBuildRecord |
BuildRequestRecord.encryptRecord(I2PAppContext ctx,
PublicKey toKey,
Hash toPeer) |
Encrypt the record to the specified peer.
|
EncryptedBuildRecord |
TunnelBuildMessageBase.getRecord(int index) |
Modifier and Type | Method | Description |
---|---|---|
void |
TunnelBuildMessageBase.setRecord(int index,
EncryptedBuildRecord record) |
Constructor | Description |
---|---|
BuildRequestRecord(I2PAppContext ctx,
PrivateKey ourKey,
EncryptedBuildRecord encryptedRecord) |
Decrypt the data from the specified record, writing the decrypted record into this instance's
data buffer
Caller MUST check that first 16 bytes of our hash matches first 16 bytes of encryptedRecord
before calling this.
|