net.i2p.router.message
Class CloveSet

java.lang.Object
  extended by net.i2p.router.message.CloveSet

 class CloveSet
extends Object

Wrap up the data contained in a GarlicMessage after being decrypted


Constructor Summary
CloveSet(GarlicClove[] cloves, Certificate cert, long msgId, long expiration)
           
 
Method Summary
 Certificate getCertificate()
           
 GarlicClove getClove(int index)
           
 int getCloveCount()
           
 long getExpiration()
           
 long getMessageId()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CloveSet

public CloveSet(GarlicClove[] cloves,
                Certificate cert,
                long msgId,
                long expiration)
Parameters:
cloves - non-null, all entries non-null
cert - non-null
Method Detail

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