Module intermediate

Source
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 as BOOLEANs or SEQUENCEs.
utils

Structs§

AsnTag
Representation of a tag
DeclarationElsewhere
Intermediate placeholder for a type declared in some other part of the ASN1 specification that is being parsed or in one of its imports.
EncodingReferenceDefault
ExternalValueReference
Represents a global module reference as specified in Rec. ITU-T X.680 (02/2021)
GlobalModuleReference
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
ModuleReference
Represents a module header as specified in Rec. ITU-T X.680 (02/2021) § 13
ObjectIdentifierArc
Represents a single arc of an object identifier value as specified in Rec. ITU-T X.680 (02/2021) §32
ObjectIdentifierValue
Represents an object identifier value as specified in Rec. ITU-T X.680 (02/2021) §32
ToplevelTypeDefinition
ToplevelValueDefinition
Represents a top-level definition of a value using a custom or built-in ASN.1 type.

Enums§

ASN1Type
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.
ASN1Value
The possible types of an ASN1 value.
AssignedIdentifier
Represents an assigned identifier as specified in Rec. ITU-T X.680 (02/2021)
CharacterStringType
The types of an ASN1 character strings.
DefinitiveIdentifier
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
ExtensibilityEnvironment
Represents the extensibility environment as specified in Rec. ITU-T X.680 (02/2021) § 13.4
IntegerType
Representation of common integer types
StructLikeFieldValue
Representation of a field value of a struct-like ASN1 value
TagClass
Tag classes
TaggingEnvironment
ToplevelDefinition
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