Value Specifications

INTEGER Value Specification
BOOLEAN Value Specification
Binary String Value Specification
Hexadecimal String Value Specification
Character String Value Specification
Object Identifier Value Specification
ENUMERATED Value Specification
REAL Value Specification
SEQUENCE Value Specification
SET Value Specification
SEQUENCE OF Value Specification
SET OF Value Specification
CHOICE Value Specification

The ASN1C compiler can parse any type of ASN.1 value specification, however, the basic version will only generate code for the following types of value specifications:

The Pro version of the compiler will generate code for the following remaining types of value specifications:

If any of the above types of value specifications are detected in an ASN.1 module, the compiler will generate a C# source file with a special class to hold the values. The name of the source file and class is of the following format:

   _<ModuleName>Values

In this definition, <ModuleName> would be replaced with the name of the ASN.1 module in which the values are defined.

The following sections provide details on the C# constants generated for the various types of ASN.1 value specifications.