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
Modifier and Type Method Description Certificate
getCertificate()
GarlicClove
getClove(int index)
int
getCloveCount()
long
getExpiration()
long
getMessageId()
String
toString()
-
Constructor Details
-
CloveSet
- Parameters:
cloves
- non-null, all entries non-nullcert
- non-null
-
-
Method Details
-
getCloveCount
public int getCloveCount() -
getClove
- Throws:
ArrayIndexOutOfBoundsException
-
getCertificate
-
getMessageId
public long getMessageId() -
getExpiration
public long getExpiration() -
toString
-