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 classstatic classstatic classstatic classstatic classstatic classstatic 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 Proposaladd(KeyPackage newMember) static ProposalexternalInit(byte[] kemOutput) getAdd()static ProposalgroupContextExtensions(List<Extension> extensions) static ProposalpreSharedKey(PreSharedKeyID pskID) static ProposalreInit(byte[] group_id, ProtocolVersion version, MlsCipherSuite cipherSuite, List<Extension> extensions) static Proposalstatic ProposalvoidwriteTo(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:
writeToin interfaceMLSOutputStream.Writable- Throws:
IOException
-