Package org.bouncycastle.mls.codec
Class MLSMessage
java.lang.Object
org.bouncycastle.mls.codec.MLSMessage
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MLSMessage
externalProposal
(MlsCipherSuite suite, byte[] groupID, long epoch, Proposal proposal, int signerIndex, byte[] sigSk) long
getEpoch()
static MLSMessage
keyPackage
(KeyPackage keyPackage) void
writeTo
(MLSOutputStream stream)
-
Field Details
-
version
-
wireFormat
-
publicMessage
-
privateMessage
-
welcome
-
groupInfo
-
keyPackage
-
-
Constructor Details
-
MLSMessage
-
MLSMessage
- Throws:
IOException
-
-
Method Details
-
externalProposal
public static MLSMessage externalProposal(MlsCipherSuite suite, byte[] groupID, long epoch, Proposal proposal, int signerIndex, byte[] sigSk) throws Exception - Throws:
Exception
-
keyPackage
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-
getContentType
-
getCipherSuite
-
getEpoch
public long getEpoch()
-