Package org.bouncycastle.mls.codec
Class GroupInfo
java.lang.Object
org.bouncycastle.mls.codec.GroupInfo
- All Implemented Interfaces:
MLSInputStream.Readable,MLSOutputStream.Writable
-
Constructor Summary
ConstructorsConstructorDescriptionGroupInfo(GroupContext groupContext, List<Extension> extensions, byte[] confirmationTag) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]longgetEpoch()byte[]getSuite()voidsign(TreeKEMPublicKey tree, LeafIndex signerIndex, org.bouncycastle.crypto.AsymmetricCipherKeyPair sk) booleanverify(MlsCipherSuite suite, byte[] pub) booleanverify(MlsCipherSuite suite, TreeKEMPublicKey tree) voidwriteTo(MLSOutputStream stream)
-
Constructor Details
-
GroupInfo
-
-
Method Details
-
getConfirmationTag
public byte[] getConfirmationTag() -
getExtensions
-
getSigner
-
getGroupContext
-
getGroupID
public byte[] getGroupID() -
getEpoch
public long getEpoch() -
getSuite
-
verify
- Throws:
Exception
-
verify
- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceMLSOutputStream.Writable- Throws:
IOException
-
sign
public void sign(TreeKEMPublicKey tree, LeafIndex signerIndex, org.bouncycastle.crypto.AsymmetricCipherKeyPair sk) throws Exception - Throws:
Exception
-