public class BuildResponseRecord extends Object
Bytes 0-31 contain the hash of bytes 32-527 Bytes 32-526 contain random data. Byte 527 contains the reply.
| Constructor | Description |
|---|---|
BuildResponseRecord() |
| Modifier and Type | Method | Description |
|---|---|---|
static EncryptedBuildRecord |
create(I2PAppContext ctx,
int status,
SessionKey replyKey,
byte[] replyIV,
long responseMessageId) |
Create a new encrypted response
|
public static EncryptedBuildRecord create(I2PAppContext ctx, int status, SessionKey replyKey, byte[] replyIV, long responseMessageId)
status - the response 0-255replyIV - 16 bytesresponseMessageId - unused except for debugging