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