Package org.bouncycastle.mls.TreeKEM
Class LeafIndex
java.lang.Object
org.bouncycastle.mls.TreeKEM.LeafIndex
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommonAncestor
(LeafIndex other) directPath
(TreeSize size) boolean
int
hashCode()
int
value()
void
writeTo
(MLSOutputStream stream)
-
Field Details
-
value
protected int value
-
-
Constructor Details
-
LeafIndex
public LeafIndex(int valueIn) -
LeafIndex
-
LeafIndex
- Throws:
IOException
-
-
Method Details
-
value
public int value() -
equals
-
hashCode
public int hashCode() -
commonAncestor
-
directPath
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-