Package org.bouncycastle.mls.codec
Class Proposal
java.lang.Object
org.bouncycastle.mls.codec.Proposal
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
ConstructorsConstructorDescriptionProposal
(MLSInputStream stream) Proposal
(ProposalType proposalType, Proposal.Add add, Proposal.Update update, Proposal.Remove remove, Proposal.PreSharedKey preSharedKey, Proposal.ReInit reInit, Proposal.ExternalInit externalInit, Proposal.GroupContextExtensions groupContextExtensions) -
Method Summary
Modifier and TypeMethodDescriptionstatic Proposal
add
(KeyPackage newMember) static Proposal
externalInit
(byte[] kemOutput) getAdd()
static Proposal
groupContextExtensions
(List<Extension> extensions) static Proposal
preSharedKey
(PreSharedKeyID pskID) static Proposal
reInit
(byte[] group_id, ProtocolVersion version, MlsCipherSuite cipherSuite, List<Extension> extensions) static Proposal
static Proposal
void
writeTo
(MLSOutputStream stream)
-
Constructor Details
-
Proposal
- Throws:
IOException
-
Method Details
-
getAdd
-
getUpdate
-
getRemove
-
getReInit
-
getExternalInit
-
getGroupContextExtensions
-
getLeafNode
-
getProposalType
-
add
- Throws:
IOException
-
update
-
remove
-
reInit
public static Proposal reInit(byte[] group_id, ProtocolVersion version, MlsCipherSuite cipherSuite, List<Extension> extensions) -
externalInit
-
groupContextExtensions
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-