CONTENTS

0 Introduction
1 Scope and field of application
2 References
3 Definitions
4 Abbreviations
5 Notation used in this Recommendation
5.1 Productions
5.2 The alternative collections
5.3 Example of a production
5.4 Layout
5.5 Recursion
5.6 References to a collection of sequences
5.7 References to an item
5.8 Tags
6 Use of the ASN.1 notation
SECTION 1 SPECIFICATION OF ASN.1 NOTATION
7 The ASN.1 character set
8 ASN.1 items
8.1 General rules
8.2 Type references
8.3 Identifiers
8.4 Value references
8.5 Module reference
8.6 Comment
8.7 Empty item
8.8 Number item
8.9 Binary string item
8.10 Hexadecimal string item
8.11 Character string item
8.12 Assignment item
8.13 Single character items
8.14 Keyword items
9 Module definition
10 Referencing type and value definitions
11 Assigning types and values
12 Definition of types and values
13 Notation for the Boolean type
14 Notation for the integer type
15 Notation for the enumerated type
16 Notation for the real type
17 Notation for the bitstring type
18 Notation for the octetstring type
19 Notation for the null type
20 Notation for sequence types
21 Notation for sequence-of types
22 Notation for set types
23 Notation for set-of types
24 Notation for choice types
25 Notation for selection types
26 Notation for tagged types
27 Notation for the any type
28 Notation for the object identifier type
29 Notation for character string types
30 Notation for types defined in Section 3
SECTION 2 CHARACTER STRING TYPES
31 Definition of character string types
SECTION 3 USEFUL DEFINITIONS
32 Generalized time
33 Universal time
34 The external type
35 The object descriptor type
SECTION 4 SUBTYPES
36 Subtype notation
37 Subtype Value Sets
37.1 Single Value
37.2 Contained Subtype
37.3 Value Range
37.4 Size Constraint
37.5 Permitted Alphabet
37.6 Inner Subtyping
Annex A The macro notation
A.1 Introduction
A.2 Extensions to the ASN.1 character set and items
A.2.1 Macroreference
A.2.2 Productionreference
A.2.3 Localtypereference
A.2.4 Localvaluereference
A.2.5 Alternation item
A.2.6 Definition terminator item
A.2.7 Syntactic terminal item
A.2.8 Syntactic category keyword items
A.2.9 Additional keyword items
A.3 Macro definition notation
A.4 Use of the new notation
Annex B ISO assignment of OBJECT IDENTIFIER
Annex C CCITT assignment of OBJECT IDENTIFIER
Annex D Joint assignment of OBJECT IDENTIFIER
Appendix I Examples and hints
I.1 Example of a personnel record
I.1.1 Informal Description of Personnel Record
I.1.2 ASN.1 description of the record structure
I.1.3 ASN.1 description of a record value
I.2 Guidelines for use of the notation
I.2.1 Boolean
I.2.2 Integer
I.2.3 Enumerated
I.2.4 Real
I.2.5 Bit string
I.2.6 Octet string
I.2.7 Null
I.2.8 Sequence and sequence-of
I.2.9 Set
I.2.10 Tagged
I.2.11 Choice
I.2.12 Selection type
I.2.13 Any
I.2.14 External
I.2.15 Encrypted
I.3 An example of the use of the macro notation
I.4 Use in identifying abstract syntaxes
I.5 Subtypes
Appendix II Summary of the ASN.1 notation