Back to index
This represents a sequence of ASN.1 objects, where ASN.1 is "Abstract Syntax Notation number One". More...
|The array of objects stored in the sequence. |
|Whether the node at this position in the ASN.1 data structure sequence contains sub elements understood by the application. |
|Whether the contained objects should be shown or hidden. |
|const unsigned long||ASN1_END_CONTENTS = 0|
|Identifiers for the possible types of object. |
|const unsigned long||ASN1_BOOLEAN = 1|
|const unsigned long||ASN1_INTEGER = 2|
|const unsigned long||ASN1_BIT_STRING = 3|
|const unsigned long||ASN1_OCTET_STRING = 4|
|const unsigned long||ASN1_NULL = 5|
|const unsigned long||ASN1_OBJECT_ID = 6|
|const unsigned long||ASN1_ENUMERATED = 10|
|const unsigned long||ASN1_UTF8_STRING = 12|
|const unsigned long||ASN1_SEQUENCE = 16|
|const unsigned long||ASN1_SET = 17|
|const unsigned long||ASN1_PRINTABLE_STRING = 19|
|const unsigned long||ASN1_T61_STRING = 20|
|const unsigned long||ASN1_IA5_STRING = 22|
|const unsigned long||ASN1_UTC_TIME = 23|
|const unsigned long||ASN1_GEN_TIME = 24|
|const unsigned long||ASN1_VISIBLE_STRING = 26|
|const unsigned long||ASN1_UNIVERSAL_STRING = 28|
|const unsigned long||ASN1_BMP_STRING = 30|
|const unsigned long||ASN1_HIGH_TAG_NUMBER = 31|
|const unsigned long||ASN1_CONTEXT_SPECIFIC = 32|
|const unsigned long||ASN1_APPLICATION = 33|
|const unsigned long||ASN1_PRIVATE = 34|
|attribute unsigned long||type|
|"type" will be equal to one of the defined object identifiers. |
|attribute unsigned long||tag|
|This contains a tag as explained in ASN.1 standards documents. |
|"displayName" contains a human readable explanatory label. |
|"displayValue" contains the human readable value. |
This represents a sequence of ASN.1 objects, where ASN.1 is "Abstract Syntax Notation number One".
Overview of how this ASN1 interface is intended to work.
First off, the nsIASN1Sequence is any type in ASN1 that consists of sub-elements (ie SEQUENCE, SET) nsIASN1Printable Items are all the other types that can be viewed by themselves without interpreting further. Examples would include INTEGER, UTF-8 STRING, OID. These are not intended to directly reflect the numberous types that exist in ASN1, but merely an interface to ease producing a tree display the ASN1 structure of any DER object.
The additional state information carried in this interface makes it fit for being used as the data structure when working with visual reprenstation of ASN.1 objects in a human user interface, like in a tree widget where open/close state of nodes must be remembered.