net.i2p.router.tunnel
Class BuildReplyHandler
java.lang.Object
net.i2p.router.tunnel.BuildReplyHandler
public class BuildReplyHandler
- extends java.lang.Object
Decrypt the layers of a tunnel build reply message, determining whether the individual
hops agreed to participate in the tunnel, or if not, why not.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildReplyHandler
public BuildReplyHandler()
decrypt
public int[] decrypt(I2PAppContext ctx,
TunnelBuildReplyMessage reply,
TunnelCreatorConfig cfg,
java.util.List recordOrder)
- Decrypt the tunnel build reply records. This overwrites the contents of the reply
- Returns:
- status for the records (in record order), or null if the replies were not valid. Fake records
always have 0 as their value