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.

Asn1ChoiceExt Class Reference

Inheritance diagram for Asn1ChoiceExt:

Asn1OpenType Asn1OctetString Asn1Type Asn1TypeIF List of all members.

Detailed Description

This is a container class for holding a CHOICE open type extension element. This class is used for an open type extension (i.e. a ... at the end of a constructed type or a ..., ... at some other point in a constructed type).


Public Member Functions

override void Decode (Asn1PerDecodeBuffer buffer)
override void Decode (Asn1BerDecodeBuffer buffer, bool explicitTagging, int implicitLength)
override void Encode (Asn1PerOutputStream outs)
override void Encode (Asn1BerOutputStream outs, bool explicitTagging)
override void Encode (Asn1PerEncodeBuffer buffer)
override int Encode (Asn1BerEncodeBuffer buffer, bool explicitTagging)

Public Attributes

short choiceIndex


Member Function Documentation

override void Decode Asn1PerDecodeBuffer  buffer  )  [virtual]
 

This method decodes an open type extension in a CHOICE construct using the packed encoding rules (PER). This method will capture the extension item in an open type object and store it in the mValue public member list variable. The public member variable choiceIndex will be populated with the decoded choice index value.

Parameters:
buffer Decode message buffer object

Reimplemented from Asn1OctetString.

override void Decode Asn1BerDecodeBuffer  buffer,
bool  explicitTagging,
int  implicitLength
[virtual]
 

This method decodes an extension field using the Basic Encoding Rules (BER).

Parameters:
buffer Decode message buffer object
explicitTagging Flag indicating element is explicitly tagged
implicitLength Length of contents if implicit

Reimplemented from Asn1OpenType.

override void Encode Asn1PerOutputStream  outs  )  [virtual]
 

This method encodes an ASN.1 open type value using the Packed Encoding Rules (PER).

Parameters:
outs PER Output Stream object

Reimplemented from Asn1OpenType.

override void Encode Asn1BerOutputStream  outs,
bool  explicitTagging
[virtual]
 

This method encodes an ASN.1 open type extension value using the Basic Encoding Rules (BER).

Parameters:
outs BER Output Stream object
explicitTagging Flag indicating element is explicitly tagged

Reimplemented from Asn1OpenType.

override void Encode Asn1PerEncodeBuffer  buffer  )  [virtual]
 

This method encodes an ASN.1 open type extension value using the Packed Encoding Rules (PER).

Parameters:
buffer Encode message buffer object

Reimplemented from Asn1OpenType.

override int Encode Asn1BerEncodeBuffer  buffer,
bool  explicitTagging
[virtual]
 

This method encodes an ASN.1 open type extension value using the Basic Encoding Rules (BER).

Parameters:
buffer Encode message buffer object
explicitTagging Flag indicating element is explicitly tagged
Returns:
Length of encoded component

Reimplemented from Asn1OpenType.


Member Data Documentation

short choiceIndex
 

The choice index value is used with the packed encoding rules (PER) when this object is used to encode/Decode a choice extension.


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