class InboundEndpointProcessor extends Object
| Constructor and Description |
|---|
InboundEndpointProcessor(RouterContext ctx,
TunnelCreatorConfig cfg)
Deprecated.
used only by unit tests
|
InboundEndpointProcessor(RouterContext ctx,
TunnelCreatorConfig cfg,
IVValidator validator) |
| Modifier and Type | Method and Description |
|---|---|
TunnelCreatorConfig |
getConfig() |
net.i2p.data.Hash |
getDestination() |
boolean |
retrievePreprocessedData(byte[] orig,
int offset,
int length,
net.i2p.data.Hash prev)
Undo all of the encryption done by the peers in the tunnel, recovering the
preprocessed data sent by the gateway.
|
@Deprecated InboundEndpointProcessor(RouterContext ctx, TunnelCreatorConfig cfg)
public InboundEndpointProcessor(RouterContext ctx, TunnelCreatorConfig cfg, IVValidator validator)
public net.i2p.data.Hash getDestination()
public TunnelCreatorConfig getConfig()
public boolean retrievePreprocessedData(byte[] orig,
int offset,
int length,
net.i2p.data.Hash prev)
orig - original data with an extra 16 byte IV prepended.offset - index into the array where the extra 16 bytes (IV) beginslength - how much of orig can we write to (must be a multiple of 16).
Should always be 1024 bytes.