ASN.1 Complete

Chapter 4: The Basic Data Types and Construction Mechanisms: Closure

(Or: You Need Bricks of Various Shapes and Sizes!)

Summary

There are a number of types that are predefined in ASN.1, such as

  • INTEGER,

  • BOOLEAN, and

  • UTF8String.

These are used to build more complex user-defined types with construction mechanisms such as

  • SEQUENCE,

  • SET,

  • CHOICE,

  • SEQUENCE OF,

  • SET OF, and

  • etc.

Many of these construction mechanisms have appeared in the examples and illustrations of earlier chapters.

This chapter completes the detailed presentation of all the basic ASN.1 types, giving in each case a clear description of

  • the type-notation for the type,

  • the set of abstract values in the type, and

  • the value-notation for values of that type.

Additional pieces of type/value-related notation are also covered, largely completing the discussion of syntax commonly used in pre-1994 specifications.

The chapter ends with a list of additional concepts whose treatment is deferred to either the next chapter or to Section II.

4.1 Illustration by Example

Figure 4.1 has been carefully constructed to complete your introduction to all the basic ASN.1 types that's it folks!


Figure 4.1: (Part 1&2) Illustration of the use of basic ASN.1 types.

In order to illustrate some of the type and value notations, we will define our Return-of-Sales message as in Figure 4.1.Figure 4.1 has been designed to include all the basic ASN.1 types apart from NULL, and provides the hook for further discussion of these types.

Have a good look at Figure 4.1. It should by now be fairly easy for you to under stand its meaning. If you...

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: Landing Gear
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.