public static class BerEmbeddedPdv.Identification.ContextNegotiation extends Object implements BerType, Serializable
Constructor and Description |
---|
ContextNegotiation() |
ContextNegotiation(byte[] code) |
Modifier and Type | Method and Description |
---|---|
void |
appendAsString(StringBuilder sb,
int indentLevel) |
int |
decode(InputStream is) |
int |
decode(InputStream is,
boolean withTag) |
int |
encode(OutputStream reverseOS) |
int |
encode(OutputStream reverseOS,
boolean withTag) |
void |
encodeAndSave(int encodingSizeGuess) |
BerInteger |
getPresentationContextId() |
BerObjectIdentifier |
getTransferSyntax() |
void |
setPresentationContextId(BerInteger presentationContextId) |
void |
setTransferSyntax(BerObjectIdentifier transferSyntax) |
String |
toString() |
public static final BerTag tag
public byte[] code
public ContextNegotiation()
public ContextNegotiation(byte[] code)
public BerInteger getPresentationContextId()
public void setPresentationContextId(BerInteger presentationContextId)
public BerObjectIdentifier getTransferSyntax()
public void setTransferSyntax(BerObjectIdentifier transferSyntax)
public int encode(OutputStream reverseOS) throws IOException
encode
in interface BerType
IOException
public int encode(OutputStream reverseOS, boolean withTag) throws IOException
IOException
public int decode(InputStream is) throws IOException
decode
in interface BerType
IOException
public int decode(InputStream is, boolean withTag) throws IOException
IOException
public void encodeAndSave(int encodingSizeGuess) throws IOException
IOException
public void appendAsString(StringBuilder sb, int indentLevel)