パッケージ | 説明 |
---|---|
net.i2p.data.i2np |
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
|
修飾子とタイプ | フィールド | 説明 |
---|---|---|
protected EncryptedBuildRecord[] |
TunnelBuildMessageBase._records |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
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) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
TunnelBuildMessageBase.setRecord(int index,
EncryptedBuildRecord record) |
コンストラクタ | 説明 |
---|---|
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.
|