Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Open Source
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

Asn1XmlEncodeBuffer Class Reference

Inheritance diagram for Asn1XmlEncodeBuffer:

Asn1XerEncodeBuffer Asn1EncodeBuffer Asn1XerEncoder Asn1MessageBuffer List of all members.

Detailed Description

This class handles the encoding of ASN.1 messages as specified in the XML Encoding (non-XER) by the XML schema standard(generated by asn2xsd).


Public Member Functions

 Asn1XmlEncodeBuffer (bool canonical, int sizeIncrement)
 Asn1XmlEncodeBuffer (bool canonical)
 Asn1XmlEncodeBuffer ()
override void EncodeEndElement (System.String elemName)
override void EncodeNamedValueElement (System.String valueName)


Constructor & Destructor Documentation

Asn1XmlEncodeBuffer  ) 
 

The default constructor creates an XML encode buffer object with the default size increment and canonical set to false.

Asn1XmlEncodeBuffer bool  canonical  ) 
 

The parameterized constructor creates an XML encode buffer object with default size increment and canonical set to the given values.

Parameters:
canonical Boolean indicating a canonical or non-canonical encoding should be produced as defined in the X.693 standard.

Asn1XmlEncodeBuffer bool  canonical,
int  sizeIncrement
 

The parameterized constructor creates an XML encode buffer object with size increment and canonical set to the given values.

Parameters:
canonical Boolean indicating a canonical or non-canonical encoding should be produced as defined in the X.693 standard.
sizeIncrement The initial size in bytes of an encode buffer. If the buffer becomes full, it will be expanded by this amount. If this parameter is set to zero, the default increment will be used.


Member Function Documentation

override void EncodeEndElement System.String  elemName  )  [virtual]
 

This method encodes an XML end element tag

Parameters:
elemName The name of element, as String.

Reimplemented from Asn1XerEncodeBuffer.

override void EncodeNamedValueElement System.String  valueName  )  [virtual]
 

This method encodes an XML named value element tag

Parameters:
valueName The named value, as String.
Exceptions:
Asn1Exception Thrown, if operation is failed.

Reimplemented from Asn1XerEncodeBuffer.


Copyright © 1997-2005 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 18 Nov 2005.
ASN1C C# Runtime Library, 5.8