|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.router.tunnel.OutboundSender
public class OutboundSender
Receive the preprocessed data for an outbound gateway, encrypt all of the layers, and forward it on to the first hop.
Field Summary | |
---|---|
(package private) static boolean |
USE_ENCRYPTION
|
Constructor Summary | |
---|---|
OutboundSender(I2PAppContext ctx,
TunnelCreatorConfig config)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final boolean USE_ENCRYPTION
Constructor Detail |
---|
public OutboundSender(I2PAppContext ctx, TunnelCreatorConfig config)
Method Detail |
---|
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}*
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |