Chapter 17. Table Constraint Processing

Table of Contents

CLASS Specification
Information Object
Information Object Set
Generated Information Object Table Structure
Populating OpenType Variables for Encoding
Decoding Types with Table Constraints

The ASN1C C# code generation capability can generate code to process ASN.1 table constraints as specified in the X.681 and X.682 ASN.1 standards. This code is generated through the use of the -tables option. This instructs the compiler to generate additional methods and tables to allow multi-level message types specified using table constraints to be encoded or decoded with a single method call.

Special code is generated for the CLASS, Information Object, and Information Object Set items to create the table necessary to for table constraint processing. Then additional encode and decode methods are generated that use these tables to branch to the multiple message levels.