class BuildMessageProcessor extends Object
| Constructor and Description |
|---|
BuildMessageProcessor(RouterContext ctx)Creates a new BuildMessageProcessor. |
| Modifier and Type | Method and Description |
|---|---|
BuildRequestRecord | decrypt(TunnelBuildMessage msg,
Hash ourHash,
PrivateKey privKey)Decrypt the record targeting us, encrypting all of the other records with the included
reply key and IV. |
public BuildMessageProcessor(RouterContext ctx)
ctx - the router contextpublic BuildRequestRecord decrypt(TunnelBuildMessage msg, Hash ourHash, PrivateKey privKey)
msg - the tunnel build messageourHash - our router hashprivKey - our private key