Uses of Class
net.i2p.data.i2np.EncryptedBuildRecord
Package
Description
This package defines the low-level messages sent between routers,
called the Invisible Internet Network Protocol (I2NP).
-
Uses of EncryptedBuildRecord in net.i2p.data.i2np
Modifier and TypeFieldDescriptionprotected EncryptedBuildRecord[]
TunnelBuildMessageBase._records
Modifier and TypeMethodDescriptionstatic EncryptedBuildRecord
BuildResponseRecord.create
(I2PAppContext ctx, int status, SessionKey replyKey, byte[] replyIV, long responseMessageId) Create a new encrypted response.static EncryptedBuildRecord
BuildResponseRecord.create
(I2PAppContext ctx, int status, SessionKey replyKey, byte[] replyAD, Properties options) Create a new encrypted response (long record).BuildRequestRecord.encryptECIESRecord
(RouterContext ctx, PublicKey toKey, Hash toPeer) Encrypt the record to the specified peer.BuildRequestRecord.encryptRecord
(I2PAppContext ctx, PublicKey toKey, Hash toPeer) Encrypt the record to the specified peer.TunnelBuildMessageBase.getRecord
(int index) Modifier and TypeMethodDescriptionstatic boolean
BuildResponseRecord.decrypt
(EncryptedBuildRecord rec, SessionKey key, byte[] ad) static boolean
BuildResponseRecord.decrypt
(EncryptedBuildRecord rec, SessionKey key, byte[] ad, int nonce) void
OutboundTunnelBuildReplyMessage.setRecord
(int index, EncryptedBuildRecord record) void
ShortTunnelBuildMessage.setRecord
(int index, EncryptedBuildRecord record) void
ShortTunnelBuildReplyMessage.setRecord
(int index, EncryptedBuildRecord record) void
TunnelBuildMessageBase.setRecord
(int index, EncryptedBuildRecord record) ModifierConstructorDescriptionBuildRequestRecord
(RouterContext 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.