Information technology — Abstract Syntax Notation One (ASN.1): Specification of basic notation

Technologies de l'information — Notation de syntaxe abstraite numéro un (ASN.1): Spécification de la notation de base

General Information

Status
Withdrawn
Publication Date
18-Oct-1995
Withdrawal Date
18-Oct-1995
Current Stage
9599 - Withdrawal of International Standard
Completion Date
09-Dec-1999
Ref Project

Relations

Buy Standard

Standard
ISO/IEC 8824-1:1995 - Information technology -- Abstract Syntax Notation One (ASN.1): Specification of basic notation
English language
95 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ISO/IEC 8824-1:1995 - Technologies de l'information -- Notation de syntaxe abstraite numéro un (ASN.1): Spécification de la notation de base
French language
101 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL
ISO/IEC
STANDARD 8824-l
First edition
1995-l o-1 5
Information technology - Abstract Syntax
Notation One (ASN.l): Specification of
basic notation
Technologies de I’informa tion - Notation de syntaxe abstraite num&o I
(ASN. 7): Spkifications pour notations de base
Reference number
lSO/lEC 8824-l :I 995(E)

---------------------- Page: 1 ----------------------
ISO/IEC 8824=1:1995(E)
CONTENTS
Page
1
1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
Normative references .
1
........................................................................
2.1 Identical Recommendations I International Standards
2
..........................................................................................................................
2.2 Additional references
Definitions .
Information object specification .
3.1
Constraint specification .
3.2
Parameterization of ASN. 1 specification .
3.3
3.4 Presentation service definition .
3.5 Presentation protocol specification .
3.6 Structure for identification of organizations .
.......................................................................
3.7 Universal Multiple-Octet Coded Character Set (UCS)
3.8 Additional definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
4 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7
5 Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1 Productions
The alternative collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.2
Example of a production . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3
5.4 Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.5 Recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.6 References to a collection of sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.7 References to an item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.8 Short-hand notations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9
6 Tags .
10
.............................................................................................................................
7 Use of the ASN. 1 notation
11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8 The ASN.l character set
11
9 ASN. 1 items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
91 General rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
9:2 Type references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
93 Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
9:4 Value references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
95 Module reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
9:6 Comment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
97 . Empty item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
98 . Number item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13
99 . Binary string item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
0 ISO/IEC 1995
All rights reserved. Unless otherwise specified, no part of this publication may be
reproduced or utilized in any form or by any means, electronic or mechanical, including
photocopying and microfilm, without permission in writing from the publisher.
ISO/IEC Copyright Office l Case postale 56 l CH-1211 Geneve 20 l Switzerland
Printed in Switzerland
ii

---------------------- Page: 2 ----------------------
ISOREC 8824=1:1995(E)
o ISO/IEC
13
.....................................................................................................................
9.10 Hexadecimal string item
13
9.11 Character string item .
14
.................................................................................................................................
9.12 Assignment item
14
...................................................................................................................................
9.13 Range separator
14
9.14 Ellipsis .
14
9.15 Single character items .
15
...................................................................................................................................
9.16 Reserved words
15
...........................................................................................................................................
10 Module definition
19
..........................................................................................................
11 Referencing type and value definitions
19
...................................................................................
12 Notation to support references to ASN. 1 components
20
............................................................................................................................
13 Assigning types and values
21
........................................................................................................................
14 Definition of types and values
23
15 Notation for the boolean type .
23
16 Notation for the integer type .
24
Notation for the enumerated type .
17
25
...............................................................................................................................
18 Notation for the real type
25
........................................................................................................................
19 Notation for the bitstring type
27
.....................................................................................................................
20 Notation for the octetstring type
27
...............................................................................................................................
21 Notation for the null type
27
...........................................................................................................................
22 Notation for sequence types
29
23 Notation for sequence-of types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29
24 Notation for set types .
30
.................................................................................................................................
25 Notation for set-of types
30
...............................................................................................................................
26 Notation for choice types
31
............................................................................................................................
27 Notation for selection types
32
...............................................................................................................................
28 Notation for tagged types
33
............................................................................................................
29 Notation for the object identifier type
34
..............................................................................................................
30 Notation for the embedded-pdv type
36
31 Notation for the external type .
38
The Character String types .
32
38
.................................................................................................................
33 Notation for character string types
38
................................................................................................
34 Definition of restricted character string types
42
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35 Naming characters and collections defined in ISO/IEC 10646
45
.........................................................................................................................
Canonical order of characters
36
46
............................................................................................
Definition of unrestricted character string types
37
47
...................................................................................................
Notation for types defined in clauses 39-41
38
47
............................................................................................................................................
39 Generalized time
48
................................................................................................................................................
40 Universal time
49
..............................................................................................................................
41 The object descriptor type
49
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42 Constrained Types
. . .
111

---------------------- Page: 3 ----------------------
o ISO/IEC
ISO/IEC 8824-1:1995(E)
50
The exception identifier .
43
51
................................................................................................................................
44 Element set specification
52
...........................................................................................................................................
45 Subtype elements
52
45.1 General .
53
45.2 Single Value .
53
..............................................................................................................................
45.3 Contained Subtype
53
........................................................................................................................................
45.4 Value Range
53
45.5 Size Constraint .
54
...................................................................................................................................
45.6 Type Constraint
54
45.7 Permitted Alphabet .
54
...................................................................................................................................
45.8 Inner Subtyping
56
Annex A - Use of ASN. l-88/90 notation .
56
A. 1 Maintenance .
............................................................................. 56
A.2 Mixing ASN.l-88/90 and current ASN.l notation
56
............................................................................................
A.3 Migration to the current ASN. 1 notation
58
...............................................................
Annex B - IS0 assignment of OBJECT IDENTIFIER component values
........................................................... 59
Annex C - ITU-T assignment of OBJECT IDENTIFIER component values
60
.............................................................
Annex D - Joint assignment of OBJECT IDENTIFIER component values
61
....................................................................................................
Annex E - Assignment of object identifier values
62
Annex F - Examples and hints .
62
Example of a personnel record .
F.1
63
.......................................................................................................
F.2 Guidelines for use of the notation
71
F.3 Identifying abstract syntaxes .
72
F.4 Subtypes .
.......................................................................................... 75
Annex G - Tutorial Annex on ASN. 1 Character Strings
75
......................................................................................................
G.1 Character string support in ASN.l
75
.........................................................................................
G.2 The UniversalString and BMPString types
76
...............................................................................
G.3 On ISOLIEC 10646- 1 conformance requirements
............................................ 76
G.4 Recommendations for ASN. 1 users on ISO/IEC 10646-l conformance
77
........................................................................
G.5 Adopted subsets as parameters of the abstract syntax
77
G.6 The CHARACTER STRING type .
79
................................................................................................................................
Annex H - Superseded features
79
H.l Use of identifiers now mandatory .
79
.................................................................................................................................
H.2 The choice value
79
H.3 The any type .
80
...........................................................................................................................
H.4 The macro capability
81
Annex I - The any type notation .
81
Notation for the any type .
I.1
82
...................................................................................................................................
Annex J - The macro notation
82
Introduction .
J.l
82
................................................................................
5.2 Extensions to the ASN.l character set and items
84
....................................................................................................................
5.3 Macro definition notation
87
......................................................................................................................
J.4 Use of the new notation
88
.............................................................................................................
Annex K - Summary of the ASN.1 notation
iv

---------------------- Page: 4 ----------------------
o ISO/IEC ISO/IEC 8824=1:1995(E)
Foreword
IS0 (the International Organization for Standardization) and IEC (the Inter-
national Electrotechnical Commission) form the specialized system for worldwide
standardization. National bodies that are members of IS0 or IEC participate in the
development of International Standards through technical committees established
by the respective organization to deal with particular fields of technical activity.
IS0 and IEC technical committees collaborate in fields of mutual interest. Other
international organizations, governmental and non-governmental, in liaison with
IS0 and IEC, also take part in the work.
In the field of information technology, IS0 and IEC have established a joint
technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the
joint technical committee are circulated to national bodies for voting. Publication
as an International Standard requires approval by at least 75 % of the national
bodies casting a vote.
International Standard ISO/IEC 8824-l was prepared by Joint Technical
Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 21, Open
systems interconnection, data management and open distributed processing, in
collaboration with ITU-T. The identical text is published as ITU-T
Recommendation X.680.
This is a revision of ISOKEC 8824: 1990.
ISO/IEC 8824:1995 consists of the following parts, under the general title
Information technology - Abstract Syntax Notation One (ASN. I):
of basic notation
- Part 1: Specification
Part 2: Information object specification
Part 3: Constraint specification
- Part 4: Parameterization of ASN.1 specifications
Annexes A to E form an integral part of this part of ISOLIEC 8824: 1995. Annexes
F to K are for information only.

---------------------- Page: 5 ----------------------
ISO/IEC 8824=1:1995(E) o ISO/IEC
Introduction
This Recommendation I International Standard presents a standard notation for the definition of data types and values. A
data type (or type for short) is a class of information (for example, numeric, textual, still image or video information). A
data vahe (or vahe for short) is an instance of such a class. This Recommendation I International Standard defines
several basic types and their corresponding values, and rules for combining them into more complex types and values.
Although this standard notation is defined within the OS1 framework, it can be used for many other purposes. In the
lower layers of the OS1 Basic Reference Model (see ITU-T Rec. X.200 I ISO/IEC 7498-l) and in many other protocol
architectures, each message is specified as the binary value of a sequence of octets. In the Presentation layer of OS1 (see
ITU-T Rec. X.216 I ISO/IEC 8822), the nature of user data parameters changes. However, Application layer standards
need to define quite complex data types to carry their messages, without concern for their binary representation. In order
to specify the data types they require a notation which does not necessarily determine the representation of each value.
Such notation has to be supplemented by the specification of one or more algorithms called encoding rules which
determine the value of the lower layer octets that carry the Application data (called the transfer syntax). The
Presentation layer protocol of OS1 (see ITU-T Rec. X.226 I ISO/IEC 8823) can negotiate which transfer syntaxes
(encodings) are to be used.
Outside the context of OS1 there is increasing recognition of the notion of an abstract value of some class (e.g., a
particular 256-color picture) divorced from the details of any particular encoding where in order to correctly interpret the
bit-pattern representation of the value, it is necessary to know (usually from the context), the type (class) of the value
being represented, as well as the encoding mechanism being employed. Thus the identification of a type is an important
part of this Recommendation I International Standard.
A very general technique for defining a complicated type at the abstract level is to define a small number of simple
types by defining all possible values of the simple types, then combining these simple types in various ways. Some of
the ways of defining new types are as follows:
a) given an (ordered) list of existing types, a value can be formed as an (ordered) sequence of values, one
from each of the existing types; the collection of all possible values obtained in this way is a new type; (if
the existing types in the list are all distinct, this mechanism can be extended to allow omission of some
values from the list);
b) given an unordered set of (distinct) existing types, a value can be formed as an (unordered) set of values,
one from each of the existing types; the collection of all possible unordered sets of values obtained in this
way is a new type; (the mechanism can again be extended to allow omission of some values);
c) given a single existing type, a value can be formed as an (ordered) list or (unordered) set of zero, one or
more values of the existing type; the collection of all possible lists or sets of values obtained in this way is
a new type;
of (distinct) types, a val
given a list ue can be chosen from any one of them; the set of all possible values
d)
obtained in this way is a new type;
given a type, a new type can be formed some structure or order relationsh
as a subset of it by using
e>
among the values.
An important aspect of combining types in this way is that encoding rules should recognize the combining constructs,
providing unambiguous encodings of the collection of values of the basic types. Thus, every basic type defined using the
notation specified in this Recommendation I International Standard is assigned a tag to aid in the unambiguous encoding
of values.
Four classes of tag are specified in the notation.
the universal class. Universal class within this
The first is tags are only used specified Recommendation I
Standard, and each tag is either
International
assigned to a single type; or
a)
assigned to a construction mechanism.
b)
vi

---------------------- Page: 6 ----------------------
ISO/IEC 8824=1:1995(E)
0 ISO/IEC
Users of this notation are not allowed to explicitly
specify universal class tags in their ASN. 1 specifications, for these
tags are built-in and can be specified explicitly only
in this Recommendation I International Standard.
The other three classes of tag are called application class tags, private class tags, and context-specific class tags. There
is no formal difference between use of tags from these three classes. Where application class tags are employed, a
private or context-specific class tag could generally be applied instead, as a matter of user choice and style. The presence
of the three classes is largely for historical reasons, but guidance is given in F.2.1.2 on the way in which the classes are
usually employed.
Tags are mainly intended for machine use, and are not essential for the human notation defined in this
Recommendation I International Standard. Where, however, it is necessary to require that certain types be distinct, this is
expressed by requiring that they have distinct tags. The allocation of tags is therefor
...

ISO/CEI
NORME
I NT E R NAT I O N AL E
Première édition
1995-1 0-1 5
Technologies de l'information - Notation
de syntaxe abstraite numéro un (ASN.1):
Spécification de la notation de base
Information technology -Abstract Syntax Notation One (ASN. I):
Specification of basic notation
Numéro de référence
ISO/CEI 8824-1 :I 995(F)

---------------------- Page: 1 ----------------------
ISOKEI 8824-1:1995(F)
Sommaire
Page
1 Domaine d'application .
1
2 Références normatives .
1
2.1 Recommandations 1 Normes internationales identiques .
1
2.2 Autres références .
2
3 Définitions .
2
3.1 Spécification des objets informationnels . 2
3.2 Spécification des contraintes .
2
3.3 Paramétrisation des spécifications ASN . 1 . 3
3.4 Définition du service de présentation .
3
3.5 Spécification du protocole de présentation . 3
3.6 Structure pour l'identification des organisations .
3
3.7 Jeu de caractères universels codés sur multi-octets (UCS) . 3
3.8 Définitions supplémentaires .
3
4 Abréviations . 7
5 Notation .
7
5.1 Productions .
8
5.2 Collections au choix dune production . 8
5.3 Exemple de production .
8
5.4 Mise en page .
8
5.5 Récursivité .
9
5.6 Pointage d'une collection de séquences .
9
5.7 Pointage dun item .
9
5.8 Notations abrégées .
9
6 Etiquettes .
10
7 Utilisation de la notation ASN . 1 . 11
8 Jeu de caractères ASN . 1 . 11
9 Items ASN . 1 .
12
9.1 Règles générales . 12
9.2 Référence de type .
12
9.3 Identificateur .
12
9.4 Référence de valeur .
12
O ISOICEI 1995
Droits de reproduction réservés . Sauf prescription différente. aucune partie de cette publi-
cation ne peut être reproduite ni utilisée sous quelque forme que ce soit et par aucun pro-
cédé. électronique ou mécanique. y compris la photocopie et les microfilms. sans raccord
écrit de i'éditeur .
ISOKEI Copyright Office Case Postale 56 CH-1211 Genève 20 Suisse
Version française tirée en 1996
Imprimé en Suisse
..
11

---------------------- Page: 2 ----------------------
ISOKEI 8824-1: 1995(F)
0 ISOKEI
12
9.5 Référence de module .
Commentaire .
13
9.6
Item vide .
9.7 13
Item numéro . 13
9.8
Item chaîne binaire .
9.9 13
Item chaîne hexadécimale .
9.10 13
9.1 1 Item chaîne de caractères .
14
Item affectation .
9.12 14
Séparateur de plage .
9.13 14
Points de suspension .
9.14 15
Items à caractère unique .
9.15 15
9.16 Items mots réservés . 15
10 Définition de module . 16
Référenciation des définitions de types et de valeurs .
11 19
12 Notation de prise en charge des références à des composantes ASN . 1 . 20
Affectation de types et de valeurs .
13 21
14 Définition des types et valeurs . 22
Notation du type booléen .
24
O 15
Notation du type entier (Integer) .
24
16
Notation du type énuméré .
17 25
Notation du type réel .
18 26
Notation du type chaîne binaire (bitstring) . 27
19
Notation du type chaîne d'octets (octetstring) .
28
20
Notation du type néant (Null) .
21 28
Notation des types séquence .
22 29
Notation des types séquence-de .
23 30
Notation des types ensemble .
31
24
Notation des types ensemble-de .
25 31
Notation des types choix .
26 32
Notation des types sélection .
27 33
Notation des types étiquetés .
33
29 Notation du type identificateur d'objet . 34
Notation du type pdv encapsulé .
30 36
Notation du type externe .
31 38
Les types chaînes de caractères . 40
32
Notation des types chaîne de caractères .
33 40
Définition des types chaînes de caractères restreintes .
40
34
Dénomination des caractères et collections de caractères définis dans ISOICEI 10646-1 .
44
35
Spécification du module ASNl-CHARACTER-MODn E . 44
35.1
Ordre canonique des caractères . 47
36
Definition des types chaînes de caractères non restreintes . 49
37
Notation des types définis dans les articles 39 à 41 .
38 50
Temps généralisé .
50
39
Temps universel . 51
40
41 Type descripteur d'objets . 52
Types contraints .
52
42
...
111

---------------------- Page: 3 ----------------------
ISOKEI 8824-1:1995(F) O ISO/CEI
43 Identificateur d'exception . 53
54
44 Spécification d'un ensemble d'éléments .
45 Eléments de sous-type . 55
55
45.1 Généralités .
45.2 Valeur unique . 55
55
45.3 Sous-type contenu .
55
45.4 Intervalle de valeurs .
57
45.5 Contrainte de taille .
57
45.6 Contrainte de type .
57
45.7 Alphabet autorisé .
57
45.8 Sous-typage interne .
60
Annexe A . Utilisation de la notation ASN . 1-88/90 .
60
A.l Maintenance .
A.2 Panachage de l'ASN.1-88/90 et de la notation ASN . 1 actuelle . 60
60
A.3 Migration vers la notation ASN. 1 actuelle .
63
Annexe B - Affectation par VISO de valeurs de composantes d'identificateur d'objet .
Annexe C - Affectation par l'UIT-T de valeurs de composantes d'identificateur d'objet .
64 65 O
Annexe D - Affectation commune de valeurs de composantes d'identificateur d'objet .
Annexe E - Affectation de valeurs d'identificateurs d'objets . 66
67
Annexe F - Exemples et conseils stylistiques .
F.l Exemple d'un enregistrement "salarié" . 67
68
F.2 Directives pour l'utilisation de la notation .
77
F.3 Identification des syntaxes abstraites .
78
F.4 Sous-types .
81
Annexe G - Annexe didactique sur les chaînes de caractères ASN.l .
Prise en charge des chaînes de caractères en notation ASN.l . 81
G.l
Les types chaîne universelle "UniversalString" et table multilingue "BMPString" . 81
G.2
A propos des prescriptions de conformité à ISO/CEI 10646-1 . 82
G.3
82
G.4 Recommandations aux utilisateurs ASN.l à propos de la conformité à ISO/CEI 10646-1 .
Sous-jeux adoptés comme paramètres de la syntaxe abstraite . 83
G.5
83
G.6 Le type chaîne de caractères CHARACTER STRING .
Annexe H - Caractéristiques remplacées .
85 O
85
H . 1 Utilisation des identificateurs devenus obligatoires .
Valeur du type choix . 85
H.2
85
H.3 Type ANY .
86
H.4 Capacité de macro-notation .
Annexe I - Notation du type (quelconque) . 87
1.1 Notation du type . 87
88
Annexe J - Les macro-notations .
J.l Introduction . 88
5.2 Extensions aux items et au jeu de caractères ASN . 1 . 88
5.3 Notation de macro-définition . 90
5.4 Utilisation de la nouvelle notation .
93
Annexe K - Récapitulatif de la notation ASN.1 . 94
iV

---------------------- Page: 4 ----------------------
O ISO/CEI
ISOKEI 8824-1:1995(F)
Avant-propos
L'ISO (Organisation internationale de normalisation) et la CE1 (Commission élec-
trotechnique internationale) forment ensemble un système consacré à la normali-
sation internationale considérée comme un tout. Les organismes nationaux
membres de I'ISO ou de la CE1 participent au développement de Normes interna-
tionales par l'intermédiaire des comités techniques créés par l'organisation concer-
née afin de s'occuper des différents domaines particuliers de l'activité technique.
Les comités techniques de US0 et de la CE1 collaborent dans des domaines dinté-
rêt commun. D'autres organisations internationales, gouvernementales ou non
gouvernementales, en liaison avec I'ISO et la CE1 participent également aux tra-
vaux.
Dans le domaine des technologies de I'information, VISO et la CE1 ont créé un
comité technique mixte, I'ISO/CEI JTC 1. Les projets de Normes internationales
adoptés par le comité technique mixte sont soumis aux organismes nationaux pour
approbation, avant leur acceptation comme Normes internationales. Les Normes
internationales sont approuvées conformément aux procédures qui requièrent I'ap-
probation de 75 9% au moins des organismes nationaux votants.
ISO/CEI 8824-1 a été élaborée par le comité technique
La Norme internationale
mixte ISO/CEI JTC 1, Technologies de l'information, sous-comité SC 21, Znter-
ou-
connexion des systèmes ouverts, gestion des données et traitement distribué
vert, en collaboration avec WIT-T. Le texte identique est publié en tant que
Recommandation UIT-T X.680.
C'est une révision de l'ISO/CEI 8824:1990.
L'ISO/CEI 8824: 1995 comprend les parties suivantes, présentées sous le titre gé-
néral Technologies de l'information - Notation de syntaxe abstraite numéro un
(ASN. I):
-
Partie 1: Spécification de la notation de base
-
Partie 2: Spécification des objets informationnels
-
Partie 3: Spécification des contraintes
-
Partie 4: Paramétrage des spécifications ASN. 1
Les annexes A à E font partie intégrante de la présente partie de
l'ISO/CEI 8824:1995. Les annexes F à K sont données uniquement à titre d'infor-
mation.
V

---------------------- Page: 5 ----------------------
ISO/CEI 8824-1 : 1995 (F)
NORME INTERNATIONALE
RECOMMANDATION UIT-T
TECHNOLOGIES DE L'INFORMATION -
NOTATION DE SYNTAXE ABSTRAITE NUMÉRO UN (ASN.l):
SPÉCIFICATION DE LA NOTATION DE BASE
1 Domaine d'application
La présente Recommandation I Norme internationale spécifie une notation normalisée appelée notation de syntaxe
abstraite numéro un (ASN.1) servant à définir les types de données, les valeurs et les contraintes imposées à ces types.
La présente Recommandation I Norme internationale:
-
définit un certain nombre de types simples avec leurs étiquettes, et spécifie une notation pour la
O
désignation de ces types et la spécification de leurs valeurs;
-
définit des mécanismes pour construire de nouveaux types à partir de types plus élémentaires, et spécifie
une notation pour définir de tels types, leur affecter des étiquettes, et en spécifier les valeurs;
-
définit (par référence à d'autres Recommandations I Normes internationales) les jeux de caractères à
utiliser en notation ASN.l;
-
définit un certain nombre de types utiles (en utilisant la notation ASN. 1) auxquels l'utilisateur de I'ASN. 1
peut faire référence.
La notation ASN.1 peut &re utilisée chaque fois qu'il est nécessaire de définir la syntaxe abstraite d'informations. Elle est
en particulier applicable, mais non exclusivement, aux protocoles d'application.
I1 est fait référence à la notation ASN. 1 dans d'autres normes qui définissent les règles de codage pour des types ASN. 1.
2 Références normatives
Les Recommandations et les Normes internationales suivantes contiennent des dispositions qui, par suite de la référence
qui y est faite dans le présent document, constituent des dispositions valables pour la présente Recommandation I Norme
internationale. Au moment de la publication, les éditions indiquées étaient en vigueur. Toutes Recommandations et
0 Normes sont sujettes à révision, et les parties prenantes aux accords fondés sur la présente Recommandation I Norme
à rechercher la possibilité d'appliquer les éditions les plus récentes des Recommandations et
internationale sont invitées
Normes indiquées ci-après. Les membres de la CE1 et de I'ISO possèdent le registre des Normes internationales en
vigueur. Le Bureau de la normalisation des télécommunications de I'UIT tient à jour une liste des Recommandations
de WIT-T actuellement en vigueur.
Recommandations I Normes internationales identiques
2.1
- Recommandation UIT-T X.200 (1994) I ISO/CEI 7498- 1 : 1994 Technologie de l'information -
Interconnexion des systèmes ouverts - Le modèle de référence de base: Modèle de référence de base.
- Recommandation UIT-T X.216 (1994) I ISO/CEI 8822: 1994 Technologie de l'information -
Interconnexion des systèmes ouverts - Définition du service de présentation.
- Recommandation UIT-T X.226 (1994) I ISO/CEI 8823-1: 1994 Technologie de l'information -
Interconnexion des systèmes ouverts - Protocole de présentation en mode connexion: Spécification du
protocole.
-
Recommandation UIT-T X.681 (1994) I ISO/CEI 8824-2: 1995 Technologies de l'information - Notation
de syntaxe abstraite numéro un: Spécification des objets informationnels.
-
Recommandation UIT-T X.682 (1994) I ISO/CEI 8824-3:1995 Technologies de l'information - Notation
de syntaxe abstraite numéro un (ASN. I): Spécification des contraintes.
Rec. UIT-T X.680 (1994 F) 1

---------------------- Page: 6 ----------------------
ISO/CEI 8824-1 : 1995 (F)
-
Recommandation UIT-T X.683 (1994) I ISOICEI 8824-4: 1995 Technologies de l'information - Notation
de syntaxe abstraite numéro un: Paramétrage des spécifications de la notation de syntaxe abstraite
numéro un.
-
Recommandation UIT-T X.690 (1994) I ISOICEI 8825-1:1995 Technologies de l'information -Règles de
codage de la notation de syntaxe abstraite numéro un - Spécijïcation des règles de codage de base, des
règles de codage canoniques et des règles de codage distinctives.
-
Recommandation UIT-T X.691 (1995) I ISOICEI 8825-2: 1995 Technologies de l'information - Règles de
codage de la notation de syntaxe abstraite numéro un - Spécipcation des règles de codage en paquet.
2.2 Autres références
IS0 Registre international des jeux de caractères codés à utiliser avec les séquences d'échappement.
ISO/CEI 646:1991, Technologies de l'information - Jeux IS0 de caractères codés à 7 éléments pour
l'échange d'informations.
ISOICEI 2022: 1994, Technologies de l'information - Structure de code de caractères et techniques
d'extension.
IS0 3 166: 1993, Codes pour la représentation des noms de pays.
IS0 6523: 1984, Echange de données - Structures pour l'identifcation des organisations.
IS0 8601:1988, Eléments de données et formats d'échange - Echange d'information - Représentation de
la date et de 1 'heure.
ISOICEI 10646-1: 1993, Technologies de l'information - Jeu universel de caractères à plusieurs octets
Partie I: Architecture et table multilingue.
Recommandation X. 121 du CCITT (1992) Plan de numérotage international pour les réseaux publics
pour données.
Recommandation X.208 du CCITT (1988), Spéc@cation de la syntaxe abstraite numéro un (ASN.l).
ISOKEI 8824: 1990, Technologies de l'information - Interconnexion de systèmes ouverts - Spécification
de la notation de syntaxe abstraite numéro 1 (ASN.1).
3 Définitions
Pour les besoins de la présente Recommandation I Norme internationale les définitions suivantes s'appliquent.
3.1 Spécification des objets informationnels
La présente Recommandation I Norme internationale utilise les termes suivants, définis dans la Rec. UIT-T X.681
ISOICEI 8824-2:
a) objet informationnel;
b) classe d'objets informationnels;
c) ensemble d'objets informationnels;
d) type instance-de;
type champ de classe d'objets.
e)
3.2 Spécification des contraintes
La présente Recommandation I Norme internationale utilise les termes suivants, définis dans la Rec. UIT-T X.682
ISOKEI 8824-3:
a) contrainte relationnelle de composante;
b) contrainte tabulaire.
2 Rec. UIT-T X.680 (1994 F)

---------------------- Page: 7 ----------------------
ISO/CEI 8824-1 : 1995 (F)
3.3 Paramétrisation des spécifications ASN.l
La présente Recommandation I Norme internationale utilise les termes suivants, définis dans la Rec. UIT-T X.683 I
ISO/CEI 8824-4:
a) type paramétré;
b) valeur paramétrée.
Définition du service de présentation
3.4
La présente Recommandation I Norme internationale utilise les termes suivants, définis dans la Rec. UIT-T X.216 I
ISO/CEI 8822:
a) syntaxe abstraite;
b) nom de syntaxe abstraite;
c) ensemble contextuel défini;
valeur de donnée de présentation;
d)
e) (une) syntaxe de transfert;
nom de syntaxe de transfert.
f)
0 3.5 Spécification du protocole de présentation
La présente Recommandation I Norme internationale utilise le terme suivant, défini dans la Rec. UIT-T X.226
ISOKEI 8823:
-
identificateur de contexte de présentation
3.6 Structure pour l'identification des organisations
La présente Recommandation I Norme internationale utilise les termes suivants, définis dans IS0 6523:
a) organisme émetteur;
b) code d'organisation;
prescripteur de code international (ICD).
c)
3.7 Jeu de caractères universels codés sur multi-octets (UCS)
La présente Recommandation I Norme internationale utilise les termes suivants, définis dans ISO/CEI 10646-1 :
table multilingue (BMP) (basic multilingual plane);
a)
b) cellule;
c) caractère de combinaison;
d) symbole graphique;
e) groupe;
f) sous-ensemble limité;
g) plan;
h) rangée;
i) sous-ensemble sélectionné.
3.8 Définitions supplémentaires
caractère abstrait: Ensemble de l'information associée à une cellule dans une table définissant un répertoire
3.8.1
de caractères:
NOTE - Cette information comprend normalement tout ou partie des éléments suivants:
a) un symbole graphique,
b) le nom du caractère,
la définition des fonctions associées au caractère lorsqu'il est utilisé dans des environnements particuliers.
c)
Rec. UIT-T X.680 (1994 F) 3

---------------------- Page: 8 ----------------------
ISOKEI 8824-1 : 1995 (F)
valeur abstraite: Valeur dont la définition est basée uniquement sur le type, indépendamment de la manière
3.8.2
dont elle est représentée
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.