|
|
 |
 |
|
Asn1TraceHandler Class ReferenceInheritance diagram for Asn1TraceHandler:
List of all members.
Detailed Description
This class is a standard named event handler for printing the data in an encoded message in a human-readable format. Note that this handler will work with data encoded using any of the encoding rules (BER, DER, or PER).
Constructor & Destructor Documentation
|
|
This constructor sets the output stream to standard output. |
|
|
This constructor sets the output stream to the given StreamWriter. - Parameters:
-
|
Member Function Documentation
| virtual void Characters |
( |
System.String |
svalue, |
|
|
short |
typeCode |
|
) |
[virtual] |
|
|
|
The characters callback method is invoked when content (primitive data) is encountered. A stringified representation of the parsed value is returned.
- Parameters:
-
| svalue | Stringified representation of the parsed value. The representation will be in ASN.1 value format. |
| typeCode | Identifier specifying the type of the parsed data variable. The enumerated list of values that might appear here is provided in the the Asn1Type class (see the documentation on this class for a full list of the names). |
Implements Asn1NamedEventHandler. |
| virtual void EndElement |
( |
System.String |
name, |
|
|
int |
index |
|
) |
[virtual] |
|
|
|
The endElement callback method is invoked when the end of an element within a constructed type (SEQUENCE, SET, SEQUENCE OF, SET OF, or CHOICE) is detected.
- Parameters:
-
| name | Name of the parsed element. |
| index | Index of element in array. Only used for SEQUENCE OF or SET OF elements. Set to -1 for all others. |
Implements Asn1NamedEventHandler. |
| virtual void StartElement |
( |
System.String |
name, |
|
|
int |
index |
|
) |
[virtual] |
|
|
|
The StartElement callback method is invoked when the start of an element within a constructed type (SEQUENCE, SET, SEQUENCE OF, SET OF, or CHOICE) is encountered.
- Parameters:
-
| name | Name of the parsed element. |
| index | Index of element in array. Only used for SEQUENCE OF or SET OF elements. Set to -1 for all others. |
Implements Asn1NamedEventHandler. |
|
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 |
|