Package net.i2p.router.message
Class CloveSet
- java.lang.Object
-
- net.i2p.router.message.CloveSet
-
public class CloveSet extends Object
Wrap up the data contained in a GarlicMessage after being decrypted- Since:
- public since 0.9.44, was package private
-
-
Constructor Summary
Constructors Constructor Description CloveSet(GarlicClove[] cloves, Certificate cert, long msgId, long expiration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Certificate
getCertificate()
GarlicClove
getClove(int index)
int
getCloveCount()
long
getExpiration()
long
getMessageId()
String
toString()
-
-
-
Constructor Detail
-
CloveSet
public CloveSet(GarlicClove[] cloves, Certificate cert, long msgId, long expiration)
- Parameters:
cloves
- non-null, all entries non-nullcert
- non-null
-
-
Method Detail
-
getCloveCount
public int getCloveCount()
-
getClove
public GarlicClove getClove(int index)
- Throws:
ArrayIndexOutOfBoundsException
-
getCertificate
public Certificate getCertificate()
-
getMessageId
public long getMessageId()
-
getExpiration
public long getExpiration()
-
-