net.i2p.router.message
Class CloveSet
java.lang.Object
net.i2p.router.message.CloveSet
class CloveSet
- extends Object
Wrap up the data contained in a GarlicMessage after being decrypted
CloveSet
public CloveSet(GarlicClove[] cloves,
Certificate cert,
long msgId,
long expiration)
- Parameters:
cloves
- non-null, all entries non-nullcert
- non-null
getCloveCount
public int getCloveCount()
getClove
public GarlicClove getClove(int index)
- Throws:
AIOOBE
getCertificate
public Certificate getCertificate()
getMessageId
public long getMessageId()
getExpiration
public long getExpiration()
toString
public String toString()
- Overrides:
toString
in class Object