|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.objsys.asn1j.runtime.Asn1Type com.objsys.asn1j.runtime.Asn1XmlEmbeddedPDV_identification_context_negotiation
public class Asn1XmlEmbeddedPDV_identification_context_negotiation
Field Summary | |
---|---|
Asn1Integer |
presentation_context_id
|
static Asn1Tag |
TAG
|
Asn1ObjectIdentifier |
transfer_syntax
|
Fields inherited from class com.objsys.asn1j.runtime.Asn1Type |
---|
BIT_STRING, BMPString, BOOLEAN, DATE, DATE_TIME, DURATION, ENUMERATED, EOC, EXTERNAL, GeneralString, GeneralTime, GraphicString, IA5String, INTEGER, mAsn1TypeName, NULL, NumericString, OBJECT_IDENTIFIER, ObjectDescriptor, OCTET_STRING, OID_IRI, OpenType, PrintableString, REAL, RELATIVE_OID_IRI, RelativeOID, SEQUENCE, SET, T61String, TeletexString, TIME, TIME_OF_DAY, UniversalString, UTCTime, UTF8String, VideotexString, VisibleString |
Constructor Summary | |
---|---|
Asn1XmlEmbeddedPDV_identification_context_negotiation()
|
|
Asn1XmlEmbeddedPDV_identification_context_negotiation(Asn1Integer presentation_context_id_,
Asn1ObjectIdentifier transfer_syntax_)
This constructor sets all elements to references to the given objects |
|
Asn1XmlEmbeddedPDV_identification_context_negotiation(long presentation_context_id_,
int[] transfer_syntax_)
This constructor allows primitive data to be passed for all primitive elements. |
Method Summary | |
---|---|
void |
decode(Asn1BerDecodeBuffer buffer,
boolean explicit,
int implicitLength)
This method is used to decode a message that is encoded in BER or DER format. |
void |
decode(Asn1PerDecodeBuffer buffer)
This method is the base implementation of the standard Packed Encoding Rules (PER) decode method. |
void |
decode(java.lang.Object reader_,
java.io.InputStream inputStream)
This method declaration is the signature of the standard XML Encoding Rules (XER) decode method. |
void |
decode(java.lang.Object reader_,
java.lang.String xmlURI)
This method declaration is the signature of the standard XML Encoding Rules (XER) decode method. |
int |
encode(Asn1BerEncodeBuffer buffer,
boolean explicit)
This method is used to encode this data type in BER or DER format. |
void |
encode(Asn1BerOutputStream out,
boolean explicit)
This method writes to the stream an encoded ASN.1 type value including the UNIVERSAL tag value and length if explicit tagging is specified. |
void |
encode(Asn1PerEncodeBuffer buffer)
This method is the base implementation of the standard Packed Encoding Rules (PER) encode method. |
void |
encode(Asn1XmlEncoder buffer,
java.lang.String elemName,
java.lang.String nsPrefix)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAsn1TypeName()
Returns the ASN.1 specification type name for this type. |
Asn1XerSaxHandler |
getSaxHandler()
|
int |
hashCode()
Returns the hash code of the object. |
void |
init()
|
void |
print(java.io.PrintStream _out,
java.lang.String _varName,
int _level)
This method will format and output a primitive value to the given print stream. |
Methods inherited from class com.objsys.asn1j.runtime.Asn1Type |
---|
clone, decode, decode, decode, decodeXML, encode, encode, encode, encode, equals, getLength, getTypeName, indent, isOpenType, matchTag, matchTag, pdiag, setKey, setOpenType |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Asn1Tag TAG
public Asn1Integer presentation_context_id
public Asn1ObjectIdentifier transfer_syntax
Constructor Detail |
---|
public Asn1XmlEmbeddedPDV_identification_context_negotiation()
public Asn1XmlEmbeddedPDV_identification_context_negotiation(Asn1Integer presentation_context_id_, Asn1ObjectIdentifier transfer_syntax_)
public Asn1XmlEmbeddedPDV_identification_context_negotiation(long presentation_context_id_, int[] transfer_syntax_)
Method Detail |
---|
public java.lang.String getAsn1TypeName()
Asn1Type
getAsn1TypeName
in class Asn1Type
public void init()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
Asn1Type
hashCode
in class Asn1Type
public void decode(Asn1BerDecodeBuffer buffer, boolean explicit, int implicitLength) throws Asn1Exception, java.io.IOException
Asn1Type
decode
in interface Asn1TypeIF
decode
in class Asn1Type
buffer
- Decode message buffer objectexplicit
- Flag indicating explicit tag should be parsed
from the encoded type.implicitLength
- Length of the contents field (only required
if explicit is false).
Asn1Exception
java.io.IOException
public int encode(Asn1BerEncodeBuffer buffer, boolean explicit) throws Asn1Exception
Asn1Type
encode
in interface Asn1TypeIF
encode
in class Asn1Type
buffer
- Encode message buffer objectexplicit
- Flag indicating explicit tag should be added
to the encoded type.
Asn1Exception
public void encode(Asn1BerOutputStream out, boolean explicit) throws Asn1Exception, java.io.IOException
Asn1Type
encode
in interface Asn1TypeIF
encode
in class Asn1Type
out
- BER Output Stream objectexplicit
- Flag indicating explicit tagging should be done
Asn1Exception
- Thrown, if operation is failed.
java.io.IOException
- Any exception thrown by the underlying OutputStream.public void decode(Asn1PerDecodeBuffer buffer) throws Asn1Exception, java.io.IOException
Asn1Type
decode
in interface Asn1TypeIF
decode
in class Asn1Type
buffer
- PER Encode message buffer object
Asn1Exception
java.io.IOException
public void encode(Asn1PerEncodeBuffer buffer) throws Asn1Exception, java.io.IOException
Asn1Type
encode
in interface Asn1TypeIF
encode
in class Asn1Type
buffer
- PER Encode message buffer object
Asn1Exception
java.io.IOException
public void decode(java.lang.Object reader_, java.lang.String xmlURI) throws Asn1Exception, java.io.IOException
Asn1Type
decode
in interface Asn1TypeIF
decode
in class Asn1Type
reader_
- XML reader objectxmlURI
- URI of a source
Asn1Exception
- Thrown, if operation is failed.
java.io.IOException
- An IO exception from the parser, possibly from a
byte stream or character stream supplied by the
application.public void decode(java.lang.Object reader_, java.io.InputStream inputStream) throws Asn1Exception, java.io.IOException
Asn1Type
decode
in interface Asn1TypeIF
decode
in class Asn1Type
reader_
- XML reader objectinputStream
- Input byte stream object
Asn1Exception
- Thrown, if operation is failed.
java.io.IOException
- An IO exception from the parser, possibly from a
byte stream or character stream supplied by the
application.public Asn1XerSaxHandler getSaxHandler()
public void encode(Asn1XmlEncoder buffer, java.lang.String elemName, java.lang.String nsPrefix) throws Asn1Exception, java.io.IOException
Asn1Exception
java.io.IOException
public void print(java.io.PrintStream _out, java.lang.String _varName, int _level)
Asn1Type
print
in interface Asn1TypeIF
print
in class Asn1Type
_out
- Print output stream_varName
- Name of variable_level
- Indentation level
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |