Top Fields Constructors Methods
org.bouncycastle.mls.codec

public Class ProposalOrRef

extends Object
implements Readable, Writable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.mls.codec.MLSOutputStream.Writable, org.bouncycastle.mls.codec.MLSInputStream.Readable
Imports
java.io.IOException

Field Summary

Modifier and TypeField and Description
pack-priv Proposal
pack-priv byte[]
pack-priv ProposalOrRefType

Constructor Summary

AccessConstructor and Description
public
ProposalOrRef(ProposalOrRefType type, Proposal proposal, byte[] reference)

pack-priv

Method Summary

Modifier and TypeMethod and Description
public static ProposalOrRef
public static ProposalOrRef
forRef(byte[] ref)

public Proposal
public byte[]
public ProposalOrRefType
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

proposalback to summary
pack-priv Proposal proposal
referenceback to summary
pack-priv byte[] reference
typeback to summary
pack-priv ProposalOrRefType type

Constructor Detail

ProposalOrRefback to summary
public ProposalOrRef(ProposalOrRefType type, Proposal proposal, byte[] reference)
ProposalOrRefback to summary
pack-priv ProposalOrRef(MLSInputStream stream) throws IOException
Annotations
@SuppressWarnings:unused

Method Detail

forProposalback to summary
public static ProposalOrRef forProposal(Proposal proposal)
forRefback to summary
public static ProposalOrRef forRef(byte[] ref)
getProposalback to summary
public Proposal getProposal()
getReferenceback to summary
public byte[] getReference()
getTypeback to summary
public ProposalOrRefType getType()
writeToback to summary
public void writeTo(MLSOutputStream stream) throws IOException

Implements org.bouncycastle.mls.codec.MLSOutputStream.Writable.writeTo.

Annotations
@Override