Package org.bouncycastle.mls.codec
Class ProposalOrRef
java.lang.Object
org.bouncycastle.mls.codec.ProposalOrRef
- All Implemented Interfaces:
MLSInputStream.Readable
,MLSOutputStream.Writable
public class ProposalOrRef
extends Object
implements MLSInputStream.Readable, MLSOutputStream.Writable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProposalOrRef
forProposal
(Proposal proposal) static ProposalOrRef
forRef
(byte[] ref) byte[]
getType()
void
writeTo
(MLSOutputStream stream)
-
Constructor Details
-
ProposalOrRef
-
-
Method Details
-
getType
-
getProposal
-
getReference
public byte[] getReference() -
forRef
-
forProposal
-
writeTo
- Specified by:
writeTo
in interfaceMLSOutputStream.Writable
- Throws:
IOException
-