Expand description
The intermediate
module provides an intermediate representation for ASN.1 notation.
It includes constants for the various ASN.1 keywords and types to represent the
single ASN.1 data elements in an intermediate representation from which the
generator module produces bindings.
The intermediate representation aims to preserve as much information as possible
from the original specification, even though some of that information might not actually
be relevant for decoding and encoding in any of the common encoding rules
(inner type constraints are such an example).
Modules§
- constraints
- encoding_
rules - error
- information_
object - parameterization
- types
types
contains representations for ASN.1’s basic types, such asBOOLEAN
s orSEQUENCE
s.- utils
Structs§
- AsnTag
- Representation of a tag
- Declaration
Elsewhere - Intermediate placeholder for a type declared in some other part of the ASN1 specification that is being parsed or in one of its imports.
- Encoding
Reference Default - External
Value Reference - Represents a global module reference as specified in Rec. ITU-T X.680 (02/2021)
- Global
Module Reference - Represents a global module reference as specified in Rec. ITU-T X.680 (02/2021)
- Import
- Represents a module import as specified in Rec. ITU-T X.680 (02/2021) § 13.16
- Module
Reference - Represents a module header as specified in Rec. ITU-T X.680 (02/2021) § 13
- Object
Identifier Arc - Represents a single arc of an object identifier value as specified in Rec. ITU-T X.680 (02/2021) §32
- Object
Identifier Value - Represents an object identifier value as specified in Rec. ITU-T X.680 (02/2021) §32
- Toplevel
Type Definition - Toplevel
Value Definition - Represents a top-level definition of a value using a custom or built-in ASN.1 type.
Enums§
- ASN1
Type - The possible types of an ASN1 data element.
In addition, the
ElsewhereDeclaredType
enumeral denotes an type specified in the same or an imported ASN1 specification. - ASN1
Value - The possible types of an ASN1 value.
- Assigned
Identifier - Represents an assigned identifier as specified in Rec. ITU-T X.680 (02/2021)
- Character
String Type - The types of an ASN1 character strings.
- Definitive
Identifier - Represents a module header’s definitive identifier as specified in Rec. ITU-T X.680 (02/2021) § 13.8
- Exports
- Represents a module export as specified in Rec. ITU-T X.680 (02/2021) § 13.13
- Extensibility
Environment - Represents the extensibility environment as specified in Rec. ITU-T X.680 (02/2021) § 13.4
- Integer
Type - Representation of common integer types
- Struct
Like Field Value - Representation of a field value of a struct-like ASN1 value
- TagClass
- Tag classes
- Tagging
Environment - Toplevel
Definition - Represents a top-level ASN.1 definition. The compiler distinguished three different variants of top-level definitions.
- With
- Represents compatibility selectors as specified in Rec. ITU-T X.680 (02/2021) § 13.16 (f)
Constants§
- ABSENT
- ABSTRACT_
SYNTAX - ALL
- AMPERSAND
- APPLICATION
- ASN1_
KEYWORDS - ASSIGN
- AT
- AUTOMATIC
- BEGIN
- BIT
- BIT_
STRING - BLOCK_
COMMENT_ END - BLOCK_
COMMENT_ START - BMP_
STRING - BOOLEAN
- CARET
- CHARACTER
- CHOICE
- CLASS
- COLON
- COMMA
- COMPONENTS_
OF - CONSTRAINED_
BY - CONTAINING
- DATE
- DATE_
TIME - DEFAULT
- DEFINITIONS
- DOT
- DURATION
- ELLIPSIS
- EMBEDDED_
PDV - ENCODED_
BY - ENCODING_
CONTROL - END
- ENUMERATED
- EXCEPT
- EXPLICIT
- EXPORTS
- EXTENSIBILITY_
IMPLIED - EXTERNAL
- FALSE
- FROM
- GENERALIZED_
TIME - GENERAL_
STRING - GRAPHIC_
STRING - GREATER_
THAN - IA5_
STRING - IMPLICIT
- IMPORTS
- INCLUDES
- INSTANCE_
OF - INSTRUCTIONS
- INTEGER
- INTERSECTION
- LEFT_
BRACE - LEFT_
BRACKET - LEFT_
CHEVRON - LEFT_
PARENTHESIS - LESS_
THAN - LINE_
COMMENT - MAX
- MIN
- MINUS_
INFINITY - NOT_
A_ NUMBER - NULL
- NUMERIC_
STRING - NUMERIC_
STRING_ CHARSET - OBJECT
- OBJECT_
IDENTIFIER - OCTET
- OCTET_
STRING - OF
- OID_IRI
- OPTIONAL
- PATTERN
- PIPE
- PLUS_
INFINITY - PRESENT
- PRINTABLE_
STRING - PRINTABLE_
STRING_ CHARSET - PRIVATE
- RANGE
- REAL
- RELATIVE_
OID - RELATIVE_
OID_ IRI - RIGHT_
BRACE - RIGHT_
BRACKET - RIGHT_
CHEVRON - RIGHT_
PARENTHESIS - SEMICOLON
- SEQUENCE
- SEQUENCE_
OF - SET
- SET_OF
- SINGLE_
QUOTE - SIZE
- TAGS
- TELETEX_
STRING - TIME
- TIME_
OF_ DAY - TRUE
- TYPE_
IDENTIFIER - UNION
- UNIQUE
- UNIVERSAL
- UNIVERSAL_
STRING - UTC_
TIME - UTF8_
STRING - VIDEOTEX_
STRING - VISIBLE_
STRING - WITH_
COMPONENT - WITH_
COMPONENTS - WITH_
DESCENDANTS - WITH_
SUCCESSORS - WITH_
SYNTAX