|
|
 |
 |
|
Asn1OpenExt Class ReferenceInheritance diagram for Asn1OpenExt:
List of all members.
Detailed Description
This is a container class for holding open type elements that may occur within an open type extension (i.e. a ... at the end of a constructed type or a ..., ... at some other point in a constructed type).
Member Function Documentation
|
|
This method decodes an open type extension in a SEQUENCE or SET construct using the packed encoding rules (PER). This method will capture each extension item in a separate open type object and store it in the mValue public member list variable. If optional items are absent, null placeholders will be inserted in the list.
- Parameters:
-
| buffer | Decode message buffer object |
Reimplemented from Asn1Type. |
| override void Decode |
( |
Asn1BerDecodeBuffer |
buffer, |
|
|
bool |
explicitTagging, |
|
|
int |
implicitLength |
|
) |
[virtual] |
|
|
|
This method decodes an ASN.1 open type extension value using the Basic Encoding Rules (BER).
- Parameters:
-
| buffer | Decode message buffer object |
| explicitTagging | Flag indicating element is explicitly tagged |
| implicitLength | Length if implicit element |
Reimplemented from Asn1Type. |
|
|
This method decodes a single component of a BER open type extension by decoding an open type value and appending it to the list of open type objects.
- Parameters:
-
| buffer | Decode message buffer object |
|
|
|
This method decodes a single component of a BER open type extension by decoding an open type value and appending it to the list of open type objects, this function also triggers event handler code, with element name "..."
- Parameters:
-
| buffer | Decode message buffer object |
|
|
|
This method decodes a single open type extension item in a SEQUENCE or SET construct using the packed encoding rules (PER). It will then add the item to the open extension element list.
- Parameters:
-
| buffer | Decode message buffer object |
| present | Flag indicating whether element is present |
| index | Index of element in the object array |
- Returns:
- Decoded open type
|
|
|
This method encodes an ASN.1 open type extension value using the Packed Encoding Rules (PER).
Also throws any exception thrown by the underlying Asn1PerOutputStream.
- Parameters:
-
| outs | PER Output Stream object |
- Exceptions:
-
Reimplemented from Asn1Type. |
|
|
This method encodes an ASN.1 open type extension value using the Basic Encoding Rules (BER) and writes it into the stream.
Also throws any exception thrown by the underlying Asn1BerOutputStream.
- Parameters:
-
| outs | BER Output Stream object |
| explicitTagging | Flag indicating element is explicitly tagged |
- Exceptions:
-
Reimplemented from Asn1Type. |
|
|
This method encodes an ASN.1 open type extension value using the XML Encoding Rules (XER). - Parameters:
-
| buffer | Encode message buffer object |
Reimplemented from Asn1Type. |
|
|
This method encodes an ASN.1 open type extension value using the Packed Encoding Rules (PER).
- Parameters:
-
| buffer | Encode message buffer object |
Reimplemented from Asn1Type. |
|
|
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 Asn1Type. |
|
|
This method encodes an ASN.1 open type extension value bits using the Packed Encoding Rules (PER).
- Parameters:
-
| buffer | Encode message buffer object |
|
| virtual void SetOpenType |
( |
Asn1OpenType |
obj, |
|
|
int |
index |
|
) |
[virtual] |
|
|
|
This method will add the given open type object to the open extension element list at the given index.
- Parameters:
-
| obj | Open type object |
| index | Index in open type list where element is to be placed |
|
| virtual void ShrinkArray |
( |
int |
numrecs |
) |
[virtual] |
|
|
|
This method adjusts the size of the open type component array downward to the given size value.
- Parameters:
-
| numrecs | Number of entries the array should hold |
|
| override System.String ToString |
( |
|
) |
|
|
|
|
This method will return a string representation of the open extension value. The format is the ASN.1 value format for each open type in the extension.
- Returns:
- Stringified representation of the value
|
Member Data Documentation
| System.Collections.ArrayList mValue |
|
|
|
Initial value:
new System.Collections.ArrayList()
The value is a list of Asn1OpenType objects. Each of these objects contains a fully encoded extension item. |
|
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 |
|