Top Fields Constructors Methods
org.bouncycastle.mls.codec

public Class GroupInfo

extends Object
implements Readable, Writable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.mls.codec.MLSOutputStream.Writable, org.bouncycastle.mls.codec.MLSInputStream.Readable
Imports
java.io.IOException, java.util.ArrayList, .Arrays, .List, org.bouncycastle.crypto.AsymmetricCipherKeyPair, org.bouncycastle.mls.TreeKEM.LeafIndex, .LeafNode, .TreeKEMPublicKey, org.bouncycastle.mls.crypto.MlsCipherSuite

Field Summary

Modifier and TypeField and Description
pack-priv byte[]
pack-priv List<Extension>
pack-priv GroupContext
pack-priv byte[]
pack-priv LeafIndex

Constructor Summary

AccessConstructor and Description
public
GroupInfo(GroupContext groupContext, List<Extension> extensions, byte[] confirmationTag)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public byte[]
public long
public List<Extension>
public GroupContext
public byte[]
public LeafIndex
public MlsCipherSuite
public void
private byte[]
public boolean
public boolean
verify(MlsCipherSuite suite, byte[] pub)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

confirmationTagback to summary
pack-priv byte[] confirmationTag
extensionsback to summary
pack-priv List<Extension> extensions
groupContextback to summary
pack-priv GroupContext groupContext
signatureback to summary
pack-priv byte[] signature
signerback to summary
pack-priv LeafIndex signer

Constructor Detail

GroupInfoback to summary
public GroupInfo(GroupContext groupContext, List<Extension> extensions, byte[] confirmationTag)
GroupInfoback to summary
pack-priv GroupInfo(MLSInputStream stream) throws IOException
Annotations
@SuppressWarnings:unused

Method Detail

getConfirmationTagback to summary
public byte[] getConfirmationTag()
getEpochback to summary
public long getEpoch()
getExtensionsback to summary
public List<Extension> getExtensions()
getGroupContextback to summary
public GroupContext getGroupContext()
getGroupIDback to summary
public byte[] getGroupID()
getSignerback to summary
public LeafIndex getSigner()
getSuiteback to summary
public MlsCipherSuite getSuite()
signback to summary
public void sign(TreeKEMPublicKey tree, LeafIndex signerIndex, AsymmetricCipherKeyPair sk) throws Exception
toBeSignedback to summary
private byte[] toBeSigned() throws IOException
verifyback to summary
public boolean verify(MlsCipherSuite suite, TreeKEMPublicKey tree) throws Exception
verifyback to summary
public boolean verify(MlsCipherSuite suite, byte[] pub) throws IOException
writeToback to summary
public void writeTo(MLSOutputStream stream) throws IOException

Implements org.bouncycastle.mls.codec.MLSOutputStream.Writable.writeTo.

Annotations
@Override