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 ProposalOrRefforProposal(Proposal proposal) static ProposalOrRefforRef(byte[] ref) byte[]getType()voidwriteTo(MLSOutputStream stream)
-
Constructor Details
-
ProposalOrRef
-
-
Method Details
-
getType
-
getProposal
-
getReference
public byte[] getReference() -
forRef
-
forProposal
-
writeTo
- Specified by:
writeToin interfaceMLSOutputStream.Writable- Throws:
IOException
-