Top Fields Constructors Methods
org.bouncycastle.mls.codec

public Class Extension

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, .List, org.bouncycastle.mls.TreeKEM.TreeKEMPublicKey

Field Summary

Modifier and TypeField and Description
public byte[]
public ExtensionType

Constructor Summary

AccessConstructor and Description
public
Extension(ExtensionType extensionType, byte[] extension_data)

public
Extension(int extensionType, byte[] extension_data)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public static Extension
public byte[]
public TreeKEMPublicKey
public List<ExternalSender>
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

extension_databack to summary
public byte[] extension_data
extensionTypeback to summary
public ExtensionType extensionType

Constructor Detail

Extensionback to summary
public Extension(ExtensionType extensionType, byte[] extension_data)
Extensionback to summary
public Extension(int extensionType, byte[] extension_data)
Extensionback to summary
pack-priv Extension(MLSInputStream stream) throws IOException
Annotations
@SuppressWarnings:unused

Method Detail

externalSenderback to summary
public static Extension externalSender(List<ExternalSender> list) throws IOException
getExternalPubback to summary
public byte[] getExternalPub() throws IOException
getRatchetTreeback to summary
public TreeKEMPublicKey getRatchetTree() throws IOException
getSendersback to summary
public List<ExternalSender> getSenders() throws IOException
writeToback to summary
public void writeTo(MLSOutputStream stream) throws IOException

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

Annotations
@Override