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[]
long
getEpoch()
byte[]
getSuite()
void
sign
(TreeKEMPublicKey tree, LeafIndex signerIndex, org.bouncycastle.crypto.AsymmetricCipherKeyPair sk) boolean
verify
(MlsCipherSuite suite, byte[] pub) boolean
verify
(MlsCipherSuite suite, TreeKEMPublicKey tree) void
writeTo
(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:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-
sign
public void sign(TreeKEMPublicKey tree, LeafIndex signerIndex, org.bouncycastle.crypto.AsymmetricCipherKeyPair sk) throws Exception - Throws:
Exception
-