Package org.bouncycastle.mls.codec
Class GroupContext
java.lang.Object
org.bouncycastle.mls.codec.GroupContext
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
public class GroupContext
extends Object
implements MLSInputStream.Readable, MLSOutputStream.Writable
-
Constructor Summary
ConstructorsConstructorDescriptionGroupContext
(MLSInputStream stream) GroupContext
(MlsCipherSuite ciphersuite, byte[] groupID, long epoch, byte[] treeHash, byte[] confirmedTranscriptHash, ArrayList<Extension> extensions) -
Method Summary
-
Constructor Details
-
GroupContext
public GroupContext(MlsCipherSuite ciphersuite, byte[] groupID, long epoch, byte[] treeHash, byte[] confirmedTranscriptHash, ArrayList<Extension> extensions) -
GroupContext
- Throws:
Exception
-
-
Method Details
-
getTreeHash
public byte[] getTreeHash() -
getConfirmedTranscriptHash
public byte[] getConfirmedTranscriptHash() -
getExtensions
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-