net.i2p.router.tunnel
public class InboundSender extends Object implements TunnelGateway.Sender
Modifier and Type | Field and Description |
---|---|
(package private) static boolean |
USE_ENCRYPTION |
Constructor and Description |
---|
InboundSender(I2PAppContext ctx,
HopConfig config) |
Modifier and Type | Method and Description |
---|---|
long |
sendPreprocessed(byte[] preprocessed,
TunnelGateway.Receiver receiver)
Take the preprocessed data containing zero or more fragments, encrypt
it, and pass it on to the receiver
|
static final boolean USE_ENCRYPTION
public InboundSender(I2PAppContext ctx, HopConfig config)
public long sendPreprocessed(byte[] preprocessed, TunnelGateway.Receiver receiver)
TunnelGateway.Sender
sendPreprocessed
in interface TunnelGateway.Sender
preprocessed
- IV + (rand padding) + 0x0 + Hash[0:3] + {instruction+fragment}*