net.i2p.router.message
Class GarlicMessageParser
java.lang.Object
net.i2p.router.message.GarlicMessageParser
public class GarlicMessageParser
- extends Object
Read a GarlicMessage, decrypt it, and return the resulting CloveSet.
Thread-safe, does not contain any state.
Public as it's now in the RouterContext.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GarlicMessageParser
public GarlicMessageParser(I2PAppContext context)
getGarlicCloves
public CloveSet getGarlicCloves(GarlicMessage message,
PrivateKey encryptionKey,
SessionKeyManager skm)
- Parameters:
skm
- use tags from this session key manager
- Returns:
- null on error