ASN1C C# Runtime Library
7.8
|
Public Member Functions | |
void | EncodeEmptyElement (System.String elemName) |
void | EncodeEndElement (System.String elemName) |
void | EncodeNamedValue (System.String valueName, System.String elemName) |
void | EncodeRealValue (double valueName, System.String elemName) |
void | EncodeStartElement (System.String elemName) |
Public Member Functions inherited from Asn1XmlXerEncoder | |
void | Copy (byte data) |
void | Copy (byte[] data) |
void | Copy (byte[] data, int off, int len) |
void | Copy (System.String data) |
void | DecrLevel () |
void | EncodeBinStrValue (byte[] bits, int nbits) |
void | EncodeByte (byte data) |
void | EncodeData (System.String data) |
void | EncodeEndDocument () |
void | EncodeHexStrValue (byte[] data) |
void | EncodeNamedValueElement (System.String elemName) |
void | EncodeStartDocument () |
void | IncrLevel () |
void | Indent () |
bool | IsCanonical () |
Properties | |
int | State [get, set] |
Properties inherited from Asn1XmlXerEncoder | |
Asn1Context | Context [get] |
This is a base interface for encoding of ASN.1 messages as specified in the XML Encoding Rules (XER) as specified in the ITU-T X.693 standard. It is implemented by both the Asn1XerEncodeBuffer and Asn1XerOutputStream.
void EncodeEmptyElement | ( | System.String | elemName | ) |
This method encodes an XML empty element tag.
Throws C# Exception, If I/O error occurs.
elemName | The name of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XerOutputStream, and Asn1XerEncodeBuffer.
Referenced by Asn1Null.Encode(), Asn1OctetString.Encode(), Asn1BitString.Encode(), and Asn1BitString.GetOerEffectiveMin().
void EncodeEndElement | ( | System.String | elemName | ) |
This method encodes an XML start element and attribute tag. start tag will contain the attribute name and value
Throws C# Exception, If I/O error occurs.
elemName | The name of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XerOutputStream, and Asn1XerEncodeBuffer.
Referenced by Asn1Integer.Decode32Bit(), Asn1Real10.Encode(), Asn1ObjectIdentifier.Encode(), Asn1StringRelativeOID.Encode(), Asn1StringOID.Encode(), Asn1RelativeOID.Encode(), Asn1OpenType.Encode(), Asn1OctetString.Encode(), Asn1UniversalString.Encode(), Asn1BitString.Encode(), Asn1XerUtil.EncodeReal(), Asn1BigInteger.EncodeUnsigned(), Asn1BitString.GetOerEffectiveMin(), and Asn1CharString.validate().
void EncodeNamedValue | ( | System.String | valueName, |
System.String | elemName | ||
) |
This method encodes an XML named value (with start and end tags).
Throws C# Exception, If I/O error occurs.
valueName | The name of value. |
elemName | The name of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XerOutputStream, and Asn1XerEncodeBuffer.
Referenced by Asn1Enumerated.Encode(), and Asn1Boolean.Encode().
void EncodeRealValue | ( | double | valueName, |
System.String | elemName | ||
) |
This method encodes an XML REAL (double) value (with start and end tags).
Throws C# Exception, If I/O error occurs.
valueName | The name of value. |
elemName | The name of element. If null, then start and end tags won't be encoded. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XerOutputStream, and Asn1XerEncodeBuffer.
Referenced by Asn1Real.EncodeDouble().
void EncodeStartElement | ( | System.String | elemName | ) |
This method encodes an XML start element tag.
Throws C# Exception, If I/O error occurs.
elemName | The name of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XerOutputStream, and Asn1XerEncodeBuffer.
Referenced by Asn1Integer.Decode32Bit(), Asn1Real10.Encode(), Asn1ObjectIdentifier.Encode(), Asn1StringRelativeOID.Encode(), Asn1StringOID.Encode(), Asn1RelativeOID.Encode(), Asn1OpenType.Encode(), Asn1OctetString.Encode(), Asn1UniversalString.Encode(), Asn1BitString.Encode(), Asn1XerUtil.EncodeReal(), Asn1BigInteger.EncodeUnsigned(), Asn1BitString.GetOerEffectiveMin(), and Asn1CharString.validate().
|
getset |
This method gets and sets the state of the buffer.
Value:
Buffer Stat
Referenced by Asn1OpenType.Encode(), and Asn1OpenType.EncodeAsExtension().