Package org.bouncycastle.mls.codec
Class Extension
java.lang.Object
org.bouncycastle.mls.codec.Extension
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExtension
(int extensionType, byte[] extension_data) Extension
(ExtensionType extensionType, byte[] extension_data) -
Method Summary
Modifier and TypeMethodDescriptionstatic Extension
externalSender
(List<ExternalSender> list) byte[]
void
writeTo
(MLSOutputStream stream)
-
Field Details
-
extensionType
-
extension_data
public byte[] extension_data
-
-
Constructor Details
-
Extension
-
Extension
public Extension(int extensionType, byte[] extension_data)
-
-
Method Details
-
externalSender
- Throws:
IOException
-
getExternalPub
- Throws:
IOException
-
getSenders
- Throws:
IOException
-
getRatchetTree
- Throws:
IOException
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-