ASN1C C# Runtime Library
7.3
|
Public Member Functions | |
void | EncodeAttr (System.String qname, System.String data) |
void | EncodeDoubleValue (double valueName, System.String elemName, System.String nsPrefix) |
void | EncodeEmptyElement (System.String elemName, System.String nsPrefix, bool terminate) |
void | EncodeEndElement (System.String elemName, System.String nsPrefix) |
void | EncodeNamedValue (System.String valueName, System.String elemName, System.String nsPrefix) |
void | EncodeStartElement (System.String elemName, System.String nsPrefix, bool terminate) |
void | EncodeXSIAttrs () |
void | SetXSIAttrs (Asn1XmlXSIAttrs value) |
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 | |
Asn1XmlEncodeHelper | Helper [get] |
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 as specified in the w3c standard. It is implemented by both Asn1XmlEncodeBuffer and Asn1XmlOutputStream.
void EncodeAttr | ( | System.String | qname, |
System.String | data | ||
) |
This method encodes an XML attribute value.
qname | Attribute qualified name. |
value | Attribute value in string form. |
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
void EncodeDoubleValue | ( | double | valueName, |
System.String | elemName, | ||
System.String | nsPrefix | ||
) |
This method encodes an XML REAL (double) value (with start and end tags). The start tag will contain the attribute name and value.
valueName | The name of value. |
elemName | The name of element. If null, then start and end |
nsPrefix | The namespace prefix of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
void EncodeEmptyElement | ( | System.String | elemName, |
System.String | nsPrefix, | ||
bool | terminate | ||
) |
This method encodes an XML empty element tag. element name tag will also contain the attribute name and value
elemName | The name of element. |
nsPrefix | The namespace prefix of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
Referenced by Asn1BitString.DecodeXER(), Asn1Null.Encode(), Asn1Enumerated.Encode(), Asn1Boolean.Encode(), Asn1OctetString.Encode(), Asn1BitString.Encode(), and Asn1Real.Encode().
void EncodeEndElement | ( | System.String | elemName, |
System.String | nsPrefix | ||
) |
This method encodes an XML end element tag.
elemName | The name of element. |
nsPrefix | The namespace prefix of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
Referenced by Asn1XmlAnyElem.Asn1XmlAnyElem(), Asn1ObjectIdentifier.DecodeXER(), Asn1CharString.DecodeXER(), Asn1Integer.DecodeXER(), Asn1BigInteger.DecodeXER(), Asn1UniversalString.DecodeXER(), Asn1BitString.DecodeXER(), Asn1Real.DecodeXER(), Asn1Real10.Encode(), Asn1Enumerated.Encode(), Asn1Boolean.Encode(), Asn1RelativeOID.Encode(), Asn1OpenType.Encode(), Asn1OctetString.Encode(), Asn1BitString.Encode(), Asn1AbstractTime.Encode(), Asn1Real.Encode(), Asn1XmlUtil.EncodeDouble(), and Asn1AbstractTime.EncodeXER().
void EncodeNamedValue | ( | System.String | valueName, |
System.String | elemName, | ||
System.String | nsPrefix | ||
) |
This method encodes an XML named value (with start and end tags). The start tag will contain the attribute name and value.
valueName | The name of value. |
elemName | The name of element. |
nsPrefix | The namespace prefix of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
Referenced by Asn1Boolean.DecodeXER(), Asn1Enumerated.Encode(), and Asn1Boolean.Encode().
void EncodeStartElement | ( | System.String | elemName, |
System.String | nsPrefix, | ||
bool | terminate | ||
) |
This method encodes an XML start element and attribute tag. The start tag will contain the attribute name and value.
elemName | The name of element. |
nsPrefix | The namespace prefix of element. |
Asn1Exception | Thrown, if operation is failed. |
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
Referenced by Asn1XmlAnyElem.Asn1XmlAnyElem(), Asn1ObjectIdentifier.DecodeXER(), Asn1CharString.DecodeXER(), Asn1Integer.DecodeXER(), Asn1BigInteger.DecodeXER(), Asn1UniversalString.DecodeXER(), Asn1BitString.DecodeXER(), Asn1Real.DecodeXER(), Asn1Real10.Encode(), Asn1Enumerated.Encode(), Asn1Boolean.Encode(), Asn1RelativeOID.Encode(), Asn1OpenType.Encode(), Asn1OctetString.Encode(), Asn1BitString.Encode(), Asn1AbstractTime.Encode(), Asn1Real.Encode(), Asn1XmlUtil.EncodeDouble(), and Asn1AbstractTime.EncodeXER().
void EncodeXSIAttrs | ( | ) |
This method encodes XSI attributes.
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
void SetXSIAttrs | ( | Asn1XmlXSIAttrs | value | ) |
This method sets the XSI attributes object to the given value.
value | XSI attributes object |
Implemented in Asn1XmlOutputStream, and Asn1XmlEncodeBuffer.
|
get |
This returns the encode helper object.
|
getset |
This method gets and sets the state of the buffer.
Value:
Buffer Stat