public static class BerEmbeddedPdv.Identification.ContextNegotiation
extends java.lang.Object
implements 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(BerByteArrayOutputStream os) |
int |
encode(BerByteArrayOutputStream os,
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(BerByteArrayOutputStream os) throws java.io.IOException
java.io.IOExceptionpublic int encode(BerByteArrayOutputStream os, boolean withTag) throws java.io.IOException
java.io.IOExceptionpublic int decode(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic 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)