|
|
 |
 |
|
Asn1BerDecodeContext Class ReferenceList of all members.
Detailed Description
This class is mainly for internal use by the compiler to keep track of where nested constructed elements (SEQUENCE, SET, CHOICE, etc.) begin and end.
Constructor & Destructor Documentation
|
|
The constructor initializes all internal working varaibles.
- Parameters:
-
| decodeBuffer | Reference to current Decode buffer method. |
| elemLength | Length of the element being tracked. |
|
Member Function Documentation
| virtual bool Expired |
( |
|
) |
[virtual] |
|
|
|
This method will determine if a decoding context is expired. A context is defined to be the wrapper in which a set of elements or a primitive data type resides..
- Returns:
- True if at the end of the context block
|
| virtual bool MatchElemTag |
( |
Asn1Tag |
tag, |
|
|
IntHolder |
parsedLen, |
|
|
bool |
advance |
|
) |
[virtual] |
|
|
|
This method will attempt to match the next element tag in a constructed type with the expected value. It will check to see if the context is expired and, if not, will match the given tag with the expected tag. The Decode cursor is advanced if the boolean advance argument is true.
- Parameters:
-
| tag | Tag object representing tag to be matched. |
| parsedLen | Holder object to receive parsed length value |
| advance | True if Decode cursor to be advanced. |
- Returns:
- True, if the tag is matched
|
| virtual bool MatchElemTag |
( |
short |
tagClass, |
|
|
short |
tagForm, |
|
|
int |
tagIDCode, |
|
|
IntHolder |
parsedLen, |
|
|
bool |
advance |
|
) |
[virtual] |
|
|
|
This method will attempt to match the next element tag in a constructed type with the expected value. It will check to see if the context is expired and, if not, will match the given tag with the expected tag. The Decode cursor is advanced if the boolean advance argument is true.
- Parameters:
-
| tagClass | Class value of tag to match |
| tagForm | Form value of tag to match |
| tagIDCode | ID code of tag to match |
| parsedLen | Holder object to receive parsed length value |
| advance | True if Decode cursor to be advanced. |
- Returns:
- True, if the tag is matched
|
Member Data Documentation
|
|
This variable is used to keep track of the current byte count in the Decode buffer. |
|
|
This variable holds a reference to the BER Decode buffer object that is being used to Decode the entire message component. |
|
|
This variable holds the contructed element length for the context component. |
|
|
This boolean flag variable indictaes if explicit tagging is in effect for this element. |
|
|
This variable holds the current parsed tag for matching operations. |
|
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 |
|