Package org.bouncycastle.mls.TreeKEM
Class OptionalNode
java.lang.Object
org.bouncycastle.mls.TreeKEM.OptionalNode
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
public class OptionalNode
extends Object
implements MLSInputStream.Readable, MLSOutputStream.Writable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionalNode
boolean
isBlank()
boolean
isLeaf()
boolean
isParent()
void
writeTo
(MLSOutputStream stream)
-
Constructor Details
-
OptionalNode
- Throws:
IOException
-
-
Method Details
-
blankNode
-
isBlank
public boolean isBlank() -
isLeaf
public boolean isLeaf() -
isParent
public boolean isParent() -
getLeafNode
-
getParentNode
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-