Information technology — Abstract Syntax Notation One (ASN.1): Information object specification — Part 2:

ISO/IEC 8824-2:2002 provides the ASN.1 notation which allows information object classes as well as individual information objects and sets thereof to be defined and given reference names. An information object class defines the form of a conceptual table (an information object set) with one column for each field in the information object class, and with each complete row defining an information object.

Technologies de l'information — Notation de syntaxe abstraite numéro un (ASN.1): Spécification des objets informationnels — Partie 2:

L'ISO/CEI 8824-2:2006 spécifie la notation ASN.1 qui permet de définir les classes d'objets informationnels ainsi que les objets informationnels proprement dits et de leur donner des noms de référence. Une classe d'objets informationnels définit la forme d'un tableau conceptuel (un ensemble d'objets informationnels), une colonne étant attribuée à chaque champ dans la classe d'objets informationnels, et chaque ligne complète définissant un objet informationnel.

General Information

Status
Withdrawn
Publication Date
14-Dec-2002
Withdrawal Date
14-Dec-2002
Current Stage
9599 - Withdrawal of International Standard
Completion Date
15-Dec-2009
Ref Project

Relations

Buy Standard

Standard
ISO/IEC 8824-2:2002 - Information technology -- Abstract Syntax Notation One (ASN.1): Information object specification
English language
31 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ISO/IEC 8824-2:2002 - Technologies de l'information -- Notation de syntaxe abstraite numéro un (ASN.1): Spécification des objets informationnels
French language
32 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL ISO/IEC
STANDARD 8824-2
Third edition
2002-12-15

Information technology — Abstract
Syntax Notation One (ASN.1): Information
object specification
Technologies de l'information — Notation de syntaxe abstraite
numéro un (ASN.1): Spécification des objets informationnels




Reference number
ISO/IEC 8824-2:2002(E)
©
ISO/IEC 2002

---------------------- Page: 1 ----------------------
ISO/IEC 8824-2:2002(E)
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but
shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In
downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat
accepts no liability in this area.
Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation
parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In
the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below.


©  ISO/IEC 2002
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 either ISO at the address below or
ISO's member body in the country of the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published by ISO in 2003
Published in Switzerland

ii © ISO/IEC 2002 – All rights reserved

---------------------- Page: 2 ----------------------
ISO/IEC 8824-2:2002(E)
CONTENTS

Page
Introduction . v
1 Scope . 1
2 Normative references . 1
2.1 Identical Recommendations | International Standards . 1
3 Definitions. 1
3.1 Specification of basic notation . 1
3.2 Constraint specification. 1
3.3 Parameterization of ASN.1 specification . 1
3.4 Additional definitions. 2
4 Abbreviations . 3
5 Convention . 3
6 Notation. 3
6.1 Assignments . 3
6.2 Types. 3
6.3 Values . 4
6.4 Elements. 4
7 ASN.1 lexical items. 4
7.1 Information object class references. 4
7.2 Information object references. 4
7.3 Information object set references . 4
7.4 Type field references. 4
7.5 Value field references . 4
7.6 Value set field references . 5
7.7 Object field references . 5
7.8 Object set field references. 5
7.9 Word . 5
7.10 Additional keywords . 5
8 Referencing definitions . 5
9 Information object class definition and assignment . 6
10 Syntax List. 9
11 Information object definition and assignment . 11
12 Information object set definition and assignment. 13
13 Associated tables . 15
14 Notation for the object class field type. 15
15 Information from objects. 17
Annex A – The TYPE-IDENTIFIER information object class . 20
Annex B – Abstract syntax definitions . 21
Annex C – The instance-of type . 22
Annex D – Examples. 24
D.1 Example usage of simplified OPERATION class. 24
D.2 Example usage of "ObjectClassFieldType" . 25
D.3 Illustrate usage of objects and object sets. 25
Annex E – Tutorial annex on the ASN.1 model of object set extension. 27
Annex F – Summary of the notation. 28

© ISO/IEC 2002 – All rights reserved iii

---------------------- Page: 3 ----------------------
ISO/IEC 8824-2:2002(E)
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that are members of
ISO 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. ISO and IEC
technical committees collaborate in fields of mutual interest. Other international organizations, governmental
and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information
technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
The main task of the joint technical committee is to prepare International Standards. 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.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent
rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights.
ISO/IEC 8824-2 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology,
Subcommittee SC 6, Telecommunications and information exchange between systems, in collaboration with
ITU-T. The identical text is published as ITU-T Rec. X.681.
This third edition cancels and replaces the second edition (ISO/IEC 8824-2:1998), which has been technically
revised. It also incorporates the Technical Corrigendum ISO/IEC 8824-2:1998/Cor.1:1999 and the
Amendment ISO/IEC 8824-2:1998/Amd.1:2000.
ISO/IEC 8824 consists of the following parts, under the general title Information technology — Abstract Syntax
Notation One (ASN.1):
— Part 1: Specification of basic notation
— Part 2: Information object specification
— Part 3: Constraint specification
— Part 4: Parameterization of ASN.1 specifications
iv © ISO/IEC 2002 – All rights reserved

---------------------- Page: 4 ----------------------
ISO/IEC 8824-2:2002(E)
Introduction

An application designer frequently needs to design a protocol which will work with any of a number of instances of
some class of information objects, where instances of the class may be defined by a variety of other bodies, and may be
added to over time. Examples of such information object classes are the "operations" of Remote Operations Service
(ROS) and the "attributes" of the OSI Directory.
This Recommendation | International Standard provides notation which allows information object classes as well as
individual information objects and information object sets thereof to be defined and given reference names.
An information object class is characterized by the kinds of fields possessed by its instances. A field may contain:
– an arbitrary type (a type field); or
– a single value of a specified type (a fixed-type value field); or
– a single value of a type specified in a (named) type field (a variable-type value field);
– a non-empty set of values of a specified type (a fixed-type value set field); or
– a non-empty set of values of a type specified in a (named) type field (a variable-type value set field); or
– a single information object from a specified information object class (an object field);
– an information object set from a specified information object class (an object set field).
A fixed-type value field of an information object class may be selected to provide unique identification of information
objects in that class. This is called the identifier field for that class. Values of the identifier field, if supplied, are
required to be unique within any information object set that is defined for that class. They may, but need not, serve to
unambiguously identify information objects of that class within some broader scope, particularly by the use of object
identifier as the type of the identifier field.
An information object class is defined by specifying:
– the names of the fields;
– for each field, the form of that field (type, fixed-type value, variable-type value, fixed-type value set,
variable-type value set, object, or object set);
– optionality and default settings of fields;
– which field, if any, is the identifier field.
An individual information object in the class is defined by providing the necessary information for each field.
The notation defined herein permits an ASN.1 type to be specified by reference to a field of some information object
class – the object class field type. In ITU-T Rec. X.682 | ISO/IEC 8824-3, notation is provided to enable this type to be
restricted by reference to some specific information object set.
It can be useful to consider the definition of an information object class as defining the form of an underlying
conceptual table (the associated table) with one column for each field, and with a completed row defining an
information object. The form of the table (determined by the information object class specification) determines the sort
of information to be collected and used to complete some protocol specification. The underlying conceptual table
provides the link between those specifying information objects of that class and the protocol which needs that
information to complete its specification. Typically, the actual information object set used to complete a particular
protocol specification will be a parameter of that protocol (see ITU-T Rec. X.683 | ISO/IEC 8824-4).
The "InformationFromObjects" notation referencing a specific object or object set (probably a parameter) can be used to
extract information from cells of conceptual tables.
This Recommendation | International Standard:
– Specifies a notation for defining an information object class, and for identifying it with a reference name
(see clause 9).
– Specifies a notation by which the definer of an information object class can provide a defined syntax for
the definition of information objects of that class; a default notation is provided for classes for which no
defined syntax has been defined (see clause 10).
– Specifies a notation for defining an information object, and for assigning it to a reference name
(see clause 11), and provides analogous notation for an object set (see clause 12).
– Defines the "associated table" for an object or object set of a class (see clause 13).
– Specifies notation for the object class field type and its values (see clause 14).
NOTE – These constructs enable an ASN.1 type to be specified using a named field of a named information
object class. Constraints on that type to restrict it to values related to a specific information object set appear in
ITU-T Rec. X.682 | ISO/IEC 8824-3.
© ISO/IEC 2002 – All rights reserved v

---------------------- Page: 5 ----------------------
ISO/IEC 8824-2:2002(E)
– Specifies notation for extracting information from objects (see clause 15).

Th e set of information objects used in defining an object set may be partially or entirely unknown at the time of
definition of an ASN.1 specification. Such cases occur, for example, in network management where the set of managed
objects varies while the network manager is executing. This Recommendation | International Standard specifies the
rules for inclusion of an extension marker in the definition of object sets to signal to implementors the intention of the
designer that the contents of the object set is not fully defined in the ASN.1 specification. When an object set is defined
with an extension marker, the implementor must provide means, possibly outside the scope of ASN.1, for dynamically
adding objects to the object set and removing previously added objects from the object set.
Annex A, which is an integral part of this Recommendation | International Standard, specifies the information object
class whose object class reference is TYPE-IDENTIFIER. This is the simplest useful class, with just two fields, an
identifier field of type object identifier, and a single type field which defines the ASN.1 type for carrying all
information concerning any particular object in the class. It is defined herein because of the widespread use of
information objects of this form.
Annex B, which is an integral part of this Recommendation | International Standard, specifies the notation for defining
an abstract syntax (composed of the set of values of a single ASN.1 type) by the definition of an appropriate
information object.
Annex C, which is an integral part of this Recommendation | International Standard, specifies the notation for the
instance-of type (the INSTANCE OF notation).
Annex D, which is not an integral part of this Recommendation | International Standard, provides examples on how to
use the notation described in this Recommendation | International Standard.
Annex E, which is not an integral part of this Recommendation | International Standard, provides a summary of the
ASN.1 model of object set extension.
Annex F, which is not an integral part of this Recommendation | International Standard, provides a summary of the
notation defined herein.

vi © ISO/IEC 2002 – All rights reserved

---------------------- Page: 6 ----------------------
ISO/IEC 8824-1:2002 (E)ISO/ISO/IEC 8824-2:2002 (E)IEC 8824-2:2003 (E)
INTERNATIONAL STANDARD
ISO/IEC 8824-2 : 2002 (E)
ITU-T Rec. X.681 (2002 E)
ITU-T RECOMMENDATION
Information technology –
Abstract Syntax Notation One (ASN.1):
Information object specification
1 Scope
This Recommendation | International Standard is part of Abstract Syntax Notation One (ASN.1) and provides notation
for specifying information object classes, information objects and information object sets.
2 Normative references
The following Recommendations and International Standards contain provisions which, through reference in this text,
constitute provisions of this Recommendation | International Standard. At the time of publication, the editions indicated
were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this
Recommendation | International Standard are encouraged to investigate the possibility of applying the most recent
edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of currently
valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently
valid ITU-T Recommendations.
2.1 Identical Recommendations | International Standards
– ITU-T Recommendation X.680 (2002) | ISO/IEC 8824-1:2002, Information technology – Abstract Syntax
Notation One (ASN.1): Specification of basic notation.
– ITU-T Recommendation X.682 (2002) | ISO/IEC 8824-3:2002, Information technology – Abstract Syntax
Notation One (ASN.1): Constraint specification.
– ITU-T Recommendation X.683 (2002) | ISO/IEC 8824-4:2002, Information technology – Abstract Syntax
Notation One (ASN.1): Parameterization of ASN.1 specifications.
3 Definitions
For the purposes of this Recommendation | International Standard, the following definitions apply.
3.1 Specification of basic notation
This Recommendation | International Standard uses the terms defined in ITU-T Rec. X.680 | ISO/IEC 8824-1.
3.2 Constraint specification
This Recommendation | International Standard uses the following term defined in ITU-T Rec. X.682 | ISO/IEC 8824-3:
– table constraint.
3.3 Parameterization of ASN.1 specification
This Recommendation | International Standard uses the following terms defined in ITU-T Rec. X.683 | ISO/IEC 8824-4:
a) parameterized type;
b) parameterized value.
  ITU-T Rec. X.681 (07/2002) 1

---------------------- Page: 7 ----------------------
ISO/ISO/IEC 8824-1:2002 (E)ISO/IEC 8824-2:2002 (E)IEC 8824-2:2003 (E)
3.4 Additional definitions
3.4.1 associated table: (For some information object or information object set) an abstract table, derivable from the
object or object set by flattening the hierarchical structure resulting from the presence of link fields (see 3.4.15).
NOTE – An associated table can be used to determine the precise nature of some constraint (see ITU-T Rec. X.682 |
ISO/IEC 8824-3) which has been applied using an object set.
3.4.2 default syntax: The notation which shall be used for defining information objects of classes whose definers
have not provided a defined syntax (see example 11.10).
3.4.3 defined syntax: A notation, provided by the definer of a class, which allows information objects of that class
to be defined in a user-friendly manner.
NOTE – For example, the defined syntax for the class OPERATION might allow instances of the class to be defined by the word
ARGUMENT followed by &ArgumentType, then the word RESULT followed by the &ResultType, then the word CODE
followed by &operationCode (see example 11.11).
3.4.4 extensible object set: An object set with an extension marker or which has been defined using set arithmetic
with object sets that are extensible.
3.4.5 field: A component of an information object class. Each field is a type field, a fixed-type value field, a
variable-type value field, a fixed-type value set field, a variable-type value set field, an information object field or an
information object set field.
3.4.6 field name: A name which identifies a field of some class; either the class which specifies the field directly, in
which case the name is a primitive field name, or a class which has a chain of link fields to that in which the field is
actually specified (see 9.13 and 9.14).
3.4.7 governing (class); governor: An information object class definition or reference which affects the
interpretation of a part of the ASN.1 syntax, requiring it to reference or to specify information objects of the governing
class.
3.4.8 identifier field: A fixed-type value field of a class, selected to provide unique identification of information
objects in that class. Values of the identifier field, if supplied, are required to be unambiguous within any information
object set that is defined for that class. They may, but need not, serve to unambiguously identify information objects of
that class within some broader scope.
NOTE 1 – The identifier field has a fixed ASN.1 type, and values of that type can be carried in protocol to identify information
objects within the class.
NOTE 2 – The scope within which the identifier is unambiguous is that of an information object set. It could, however, also be
made unambiguous within any given abstract syntax, or within an entire application context, or could even be global across all
classes and all application contexts by use of the object identifier type for the identifier field.
3.4.9 information object: An instance of some information object class, being composed of a set of fields which
conform to the field specifications of the class.
NOTE – For example, one specific instance of the information object class OPERATION (mentioned in the example in 3.4.10)
might be invertMatrix, which has an &ArgumentType field containing the type Matrix, a &ResultType field also containing
the type Matrix, and an &operationCode field containing the value 7 (see example in 10.13).
3.4.10 information object class (class): A set of fields, forming a template for the definition of a potentially
unbounded collection of information objects, the instances of the class.
NOTE – For example, an information object class OPERATION might be defined to correspond to the operation concept of
Remote Operations Service (ROS). Each of the various named field specifications would then correspond to some aspect which
can vary from one operation instance to another. Thus, there could be &ArgumentType, &ResultType, and &operationCode
fields, the first two specifying type fields and the third specifying a value field.
3.4.11 information object field: A field which contains an information object of some specified class.
3.4.12 information object set: A non-empty set of information objects, all defined using the same information
object class reference name.
NOTE – For example, one information object set, MatrixOperations, of the class OPERATION (used in the example in 3.4.10)
might contain invertMatrix (mentioned in 3.4.9) together with other related operations, such as addMatrices,
multiplyMatrices, etc. Such an object set might be used in defining an abstract syntax that makes provision for the invocation
and result reporting of all of these operations (see example in 12.11).
3.4.13 information object set field: A field which contains an information object set of some specified class.
3.4.14 instance-of type: A type, defined by referencing an information object class which associates object
identifiers with types.
3.4.15 link field: An object or object set field.
2 ITU-T Rec. X.681 (07/2002)

---------------------- Page: 8 ----------------------
ISO/IEC 8824-1:2002 (E)ISO/ISO/IEC 8824-2:2002 (E)IEC 8824-2:2003 (E)
3.4.16 object class field type: A type specified by reference to some field of an information object class. In ITU-T
Rec. X.682 | ISO/IEC 8824-3, notation is provided to enable this type to be restricted by reference to an information
object set of the class.
3.4.17 primitive field name: The name specified directly in an information object class definition without use of a
link field.
3.4.18 recursive definition (of a reference name): A reference name for which resolution of the reference name, or
of the governor of the definition of the reference name, requires resolution of the original reference name.
NOTE – Recursive definition of an information object class is permitted. Recursive definition of an information object or an
information object set is forbidden by 11.2 and 12.2 respectively.
3.4.19 recursive instantiation (of a parameterized reference name): An instantiation of a reference name, where
resolution of the actual parameters requires resolution of the original reference name.
NOTE – Recursive instantiation of an information object class (including an encoding structure) is permitted. Recursive
instantiation of an information object or an information object set is forbidden by 11.2 and 12.2 respectively.
3.4.20 type field: A field which contains an arbitrary type.
3.4.21 value field: A field which contains a value. Such a field is either of fixed-type or of variable-type. In the
former case the type of the value is fixed by the field specification. In the latter case the type of the value is contained in
some (specific) type field of the same information object.
3.4.22 value set field: A field which contains a non-empty set of values of some type. Such a field is either of
fixed-type or of variable-type. In the former case the type of the values is fixed by the field specification. In the latter
case the type of the values is contained in some (specific) type field of the same information object.
NOTE – The set of values in a value set field for an information object constitutes a subtype of the specified type.
4 Abbreviations
For the purposes of this Recommendation | International Standard, the following abbreviation applies:
ASN.1 Abstract Syntax Notation One
5 Convention
This Recommendation | International Standard employs the notational convention defined in ITU-T Rec. X.680 |
ISO/IEC 8824-1, clause 5.
6 Notation
This clause summarizes the notation defined in this Recommendation | International Standard.
6.1 Assignments
The following notations which can be used as alternatives for "Assignment" (see ITU-T Rec. X.680 | ISO/IEC 8824-1,
clause 12) are defined in this Recommendation | International Standard:
– ObjectClassAssignment (see 9.1);
– ObjectAssignment (see 11.1);
– ObjectSetAssignment (see 12.1).
6.2 Types
6.2.1 The following notations which can be used as alternatives for "BuiltinType" (see ITU-T Rec. X.680 |
ISO/IEC 8824-1, 16.2) are defined in this Recommendation | International Standard:
– ObjectClassFieldType (see 14.1);
– InstanceOfType (see Annex C).
6.2.2 The following notations which can be used as alternatives for "ReferencedType" (see ITU-T Rec. X.680 |
ISO/IEC 8824-1, 16.3) are defined in this Recommendation | International Standard:
– TypeFromObject (see clause 15);
– ValueSetFromObjects (see clause 15).
  ITU-T Rec. X.681 (07/2002) 3

---------------------- Page: 9 ----------------------
ISO/ISO/IEC 8824-1:2002 (E)ISO/IEC 8824-2:2002 (E)IEC 8824-2:2003 (E)
6.3 Values
6.3.1 The following notation which can be used as an alternative for "Value" (see ITU-T Rec. X.680 |
ISO/IEC 8824-1, 16.7) is defined in this Recommendation | International Standard:
– ObjectClassFieldValue (see 14.6);
6.3.2 The following
...

NORME ISO/CEI
INTERNATIONALE 8824-2
Troisième édition
2002-12-15


Technologies de l'information — Notation
de syntaxe abstraite numéro un (ASN.1):
Spécification des objets informationnels
Information technology — Abstract Syntax Notation One (ASN.1):
Information object specification




Numéro de référence
ISO/CEI 8824-2:2002(F)
©
ISO/CEI 2002

---------------------- Page: 1 ----------------------
ISO/CEI 8824-2:2002(F)
PDF – Exonération de responsabilité
Le présent fichier PDF peut contenir des polices de caractères intégrées. Conformément aux conditions de licence d'Adobe, ce fichier
peut être imprimé ou visualisé, mais ne doit pas être modifié à moins que l'ordinateur employé à cet effet ne bénéficie d'une licence
autorisant l'utilisation de ces polices et que celles-ci y soient installées. Lors du téléchargement de ce fichier, les parties concernées
acceptent de fait la responsabilité de ne pas enfreindre les conditions de licence d'Adobe. Le Secrétariat central de l'ISO décline toute
responsabilité en la matière.
Adobe est une marque déposée d'Adobe Systems Incorporated.
Les détails relatifs aux produits logiciels utilisés pour la création du présent fichier PDF sont disponibles dans la rubrique General Info
du fichier; les paramètres de création PDF ont été optimisés pour l'impression. Toutes les mesures ont été prises pour garantir
l'exploitation de ce fichier par les comités membres de l'ISO. Dans le cas peu probable où surviendrait un problème d'utilisation,
veuillez en informer le Secrétariat central à l'adresse donnée ci-dessous.


©  ISO/CEI 2002
Droits de reproduction réservés. Sauf prescription différente, aucune partie de cette publication ne peut être reproduite ni utilisée sous
quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie et les microfilms, sans l'accord écrit
de l'ISO à l'adresse ci-après ou du comité membre de l'ISO dans le pays du demandeur.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax. + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Version française parue en 2006
Publié en Suisse

ii © ISO/CEI 2002 – Tous droits réservés

---------------------- Page: 2 ----------------------
ISO/CEI 8824-2:2002(F)
SOMMAIRE
Page
1 Domaine d'application . 1
2 Références normatives. 1
2.1 Recommandations | Normes internationales identiques. 1
3 Définitions . 1
3.1 Spécification de la notation de base . 1
3.2 Spécification des contraintes . 1
3.3 Paramétrage des spécifications ASN.1. 1
3.4 Autres définitions. 2
4 Abréviations. 3
5 Conventions . 3
6 Notation . 3
6.1 Affectations . 3
6.2 Types. 3
6.3 Valeurs . 4
6.4 Eléments . 4
7 Unités lexicales ASN.1. 4
7.1 Référence de classe d'objets informationnels . 4
7.2 Référence d'objets informationnels . 4
7.3 Référence d'ensemble d'objets . 4
7.4 Référence de champ de type. 5
7.5 Référence de champ de valeur . 5
7.6 Référence de champ d'ensemble de valeurs . 5
7.7 Référence de champ d'objet. 5
7.8 Référence de champ d'ensemble d'objets. 5
7.9 Mot . 5
7.10 Autres mots clés . 5
8 Définitions de références. 5
9 Définition et affectation d'une classe d'objets informationnels . 6
10 Syntaxe conviviale. 10
11 Définition et affectation des objets informationnels . 13
12 Définition et affectation des ensembles d'objets informationnels . 15
13 Tables associées . 16
14 Notation du type champ de classe d'objets (object class field type) . 17
15 Extraction d'information à partir d'objets. 19
Annexe A – Classe d'objets informationnels "TYPE-IDENTIFIER" (identificateur de type) . 22
Annexe B – Définition d'une syntaxe abstraite . 23
Annexe C – Le type instance-de (instance-of type) . 24
Annexe D – Exemples. 26
D.1 Exemple d'utilisation de la classe "OPERATION" simplifiée. 26
D.2 Exemple d'utilisation du type champ de classe d'objets "ObjectClassFieldType". 27
D.3 Illustration de l'utilisation des objets et des ensembles d'objets . 28
Annexe E – Annexe didactique sur le modèle ASN.1 d'extension des ensembles d'objets . 29
Annexe F – Récapitulation de la notation. 30



© ISO/CEI 2002 – Tous droits réservés iii

---------------------- Page: 3 ----------------------
ISO/CEI 8824-2:2002(F)
Avant-propos
L'ISO (Organisation internationale de normalisation) et la CEI (Commission électrotechnique internationale)
forment le système spécialisé de la normalisation mondiale. Les organismes nationaux membres de l'ISO ou
de la CEI participent au développement de Normes internationales par l'intermédiaire des comités techniques
créés par l'organisation concernée afin de s'occuper des domaines particuliers de l'activité technique. Les
comités techniques de l'ISO et de la CEI collaborent dans des domaines d'intérêt commun. D'autres
organisations internationales, gouvernementales et non gouvernementales, en liaison avec l'ISO et la CEI
participent également aux travaux. Dans le domaine des technologies de l'information, l'ISO et la CEI ont créé
un comité technique mixte, l'ISO/CEI JTC 1.
Les Normes internationales sont rédigées conformément aux règles données dans les Directives ISO/CEI,
Partie 2.
La tâche principale du comité technique mixte est d'élaborer les Normes internationales. Les projets de
Normes internationales adoptés par le comité technique mixte sont soumis aux organismes nationaux pour
vote. Leur publication comme Normes internationales requiert l'approbation de 75 % au moins des
organismes nationaux votants.
L'attention est appelée sur le fait que certains des éléments du présent document peuvent faire l'objet de
droits de propriété intellectuelle ou de droits analogues. L'ISO et la CEI ne sauraient être tenues pour
responsables de ne pas avoir identifié de tels droits de propriété et averti de leur existence.
L'ISO/CEI 8824-2 a été élaborée par le comité technique mixte ISO/CEI JTC 1, Technologies de l'information,
sous-comité SC 6, Téléinformatique, en collaboration avec l'UIT-T. Le même texte est publié par l'UIT-T
Rec. X.681.
Cette troisième édition annule et remplace la deuxième édition (ISO/CEI 8824-2:1998) qui a fait l'objet d'une
révision technique. Elle incorpore également le Rectificatif technique ISO/CEI 8824-2:1998/Cor.1:1999 et
l'Amendement ISO/CEI 8824-2:1998/Amd.1:2000.
L'ISO/CEI 8824 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.1):
⎯ 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 de la notation de syntaxe abstraite numéro un

iv © ISO/CEI 2002 – Tous droits réservés

---------------------- Page: 4 ----------------------
ISO/CEI 8824-2:2002(F)
Introduction
Le concepteur d'applications est fréquemment appelé à concevoir un protocole destiné à fonctionner avec un certain
nombre d'instances d'une certaine classe d'objets informationnels, ces instances pouvant être définies par diverses
entités au cours du temps. Comme exemple de classe d'objets informationnels, on peut citer les "opérations" du Service
d'opérations distantes (ROS, remote operations service) et les "attributs" de l'annuaire de l'OSI.
La présente Recommandation | Norme internationale spécifie une notation permettant de définir des classes d'objets
informationnels ainsi que des objets informationnels individuels et des ensembles d'objets informationnels et de leur
attribuer des noms de référence.
Une classe d'objets informationnels est caractérisée par les diverses sortes de champs de ses instances. Un champ peut
contenir:
– un type quelconque (champ de type);
– une valeur unique d'un type spécifié (champ de valeur de type fixé);
– une valeur unique d'un type spécifié dans un champ de type nommé (champ de valeur de type variable);
– un ensemble non vide de valeurs d'un type spécifié (champ d'ensemble de valeurs de type fixé);
– un ensemble non vide de valeurs d'un type spécifié dans un champ de type nommé (champ d'ensemble de
valeurs de type variable);
– un objet informationnel unique pris dans une classe d'objets informationnels spécifiée (champ d'objet);
– un ensemble d'objets informationnels pris dans une classe d'objets informationnels spécifiée (champ
d'ensemble d'objets).
On peut choisir un champ de valeur de type fixé d'une classe d'objets informationnels pour identifier sans équivoque les
objets informationnels de cette classe. Ce champ est alors appelé le champ identificateur de cette classe. Les valeurs de
ce champ, lorsqu'il existe, sont nécessairement uniques pour tout ensemble d'objets informationnels défini dans cette
classe. Elles peuvent, mais pas nécessairement, servir à identifier de manière non ambiguë les objets informationnels de
cette classe dans un cadre plus large, en adoptant notamment le type identificateur d'objet pour le champ identificateur.
On définit une classe d'objets informationnels en spécifiant:
– le nom des champs;
– la forme de chaque champ (type, valeur de type fixé, valeur de type variable, ensemble de valeurs de type
fixé, ensemble de valeurs de type variable, objet ou ensemble d'objets);
– la nature optionnelle ou non des champs et leurs valeurs par défaut;
– le champ identificateur s'il existe.
On définit un objet informationnel individuel d'une classe en fournissant les informations nécessaires à chaque champ.
La notation définie ici permet de spécifier un type ASN.1 en faisant référence à un champ d'une classe d'objets
informationnels donnée – le type champ de classe d'objets. La notation donnée dans la Rec. UIT-T X.682 |
ISO/CEI 8824-3 permet de restreindre ce type en faisant référence à un ensemble d'objets informationnels spécifique.
Il peut être utile de considérer que la définition d'une classe d'objets informationnels définit la forme d'une table
conceptuelle sous-jacente (la table associée) comportant une colonne par champ, chaque ligne de cette table définissant
un objet informationnel. La forme de cette table (déterminée par la spécification de la classe d'objets informationnels)
détermine la nature des informations à collecter et à utiliser pour compléter une spécification de protocole donnée. Cette
table conceptuelle sous-jacente assure la liaison entre ceux qui spécifient les objets informationnels de cette classe et le
protocole ayant besoin de ces informations pour que sa spécification soit complète. En général, l'ensemble effectif
d'objets informationnels utilisé pour compléter la spécification d'un protocole particulier constitue un paramètre de ce
protocole (voir la Rec. UIT-T X.683 | ISO/CEI 8824-4).
La notation "InformationFromObjects" renvoyant à un objet ou un ensemble d'objets donné (probablement un
paramètre) peut servir à extraire l'information contenue dans les cellules des tables conceptuelles.
La présente Recommandation | Norme internationale:
– spécifie une notation servant à définir une classe d'objets informationnels et à l'identifier par un nom de
référence (voir le § 9);
– spécifie une notation permettant, lors de la définition d'une classe d'objets informationnels, d'établir une
syntaxe conviviale pour définir des objets informationnels de cette classe; une notation par défaut est
indiquée pour les classes pour lesquelles aucune syntaxe conviviale n'a été établie (voir le § 10);
© ISO/CEI 2002 – Tous droits réservés v

---------------------- Page: 5 ----------------------
ISO/CEI 8824-2:2002(F)
– spécifie une notation servant à définir un objet informationnel et à lui affecter un nom de référence (voir
le § 11), ainsi qu'une notation analogue pour un ensemble d'objets (voir le § 12);
– définit la "table associée" pour un objet ou d'un ensemble d'objets d'une classe (voir le § 13);
– spécifie une notation pour le type champ de classe d'objets et ses valeurs (voir le § 14);
NOTE – Ces structures permettent de spécifier un type ASN.1 à l'aide d'un champ nommé ou d'une classe
d'objets informationnels nommée. Les contraintes imposées à ce type afin d'en limiter les valeurs à un ensemble
d'objets informationnels spécifique figurent dans la Rec. UIT-T X.682 | ISO/CEI 8824-3.
– spécifie une notation pour extraire des informations contenues dans les objets (voir le § 15).
L'ensemble des objets informationnels utilisés dans la définition d'un ensemble d'objets peut être partiellement ou
entièrement inconnu lors de la définition des spécifications ASN.1. Tel est par exemple le cas, dans la gestion d'un
réseau, lorsque l'ensemble des objets gérés varie lors de l'exécution des fonctions du gestionnaire de réseau. La présente
Recommandation | Norme internationale spécifie les règles d'inclusion d'un marqueur d'extension dans la définition de
tels ensembles d'objets, pour signaler aux réalisateurs de mises en œuvre que le concepteur s'est abstenu
intentionnellement de définir entièrement l'ensemble d'objets dans la spécification ASN.1. Lorsqu'un ensemble d'objets
comporte dans sa définition un marqueur d'extension, le réalisateur d'une mise en œuvre doit assurer les moyens – ne
relevant pas nécessairement de la notation ASN.1 – permettant d'ajouter dynamiquement des objets à cet ensemble
d'objets, et de supprimer des objets qui lui auraient été ajoutés.
L'Annexe A, qui fait partie intégrante de la présente Recommandation | Norme internationale, spécifie la classe d'objets
informationnels dont la référence de classe d'objets est "TYPE-IDENTIFIER" (identificateur de type). Il s'agit de la
classe utile la plus simple; elle ne comporte que deux champs: un champ identificateur de type identificateur d'objet
("OBJECT IDENTIFIER") et un champ de type unique définissant le type ASN.1 servant à acheminer toute
l'information concernant un objet particulier de la classe. Cette classe est définie ici en raison de l'utilisation très
fréquente des objets informationnels de cette sorte.
L'Annexe B, qui fait partie intégrante de la présente Recommandation | Norme internationale, spécifie la notation
servant à définir une syntaxe abstraite (composée de l'ensemble de valeurs d'un même type ASN.1) en définissant un
objet informationnel approprié.
L'Annexe C, qui fait partie intégrante de la présente Recommandation | Norme internationale, spécifie la notation du
type instance-de (notation INSTANCE OF).
L'Annexe D, qui ne fait pas partie intégrante de la présente Recommandation | Norme internationale, fournit quelques
exemples sur la manière d'utiliser la notation décrite dans la présente Recommandation | Norme internationale.
L'Annexe E, qui ne fait pas partie intégrante de la présente Recommandation | Norme internationale, récapitule le
modèle ASN.1 d'extension des ensembles d'objets.
L'Annexe F, qui ne fait pas partie intégrante de la présente Recommandation | Norme internationale, récapitule la
notation définie dans la présente Recommandation.

vi © ISO/CEI 2002 – Tous droits réservés

---------------------- Page: 6 ----------------------
ISO/CEI 8824-2:2002 (F)
NORME INTERNATIONALE
RECOMMANDATION UIT
Technologies de l'information – Notation de syntaxe abstraite numéro un:
spécification des objets informationnels
1 Domaine d'application
La présente Recommandation | Norme internationale participe à la définition de la notation ASN.1 et établit une
notation permettant de spécifier les classes d'objets informationnels, les objets informationnels et les ensembles d'objets
informationnels.
2 Références normatives
Les Recommandations et Normes internationales suivantes contiennent des dispositions qui, par suite de la référence
qui y est faite, constituent des dispositions valables pour la présente Recommandation | Norme internationale. Au
moment de la publication, les éditions indiquées étaient en vigueur. Toutes Recommandations et Normes sont sujettes à
révision et les parties prenantes aux accords fondés sur la présente Recommandation | Norme internationale sont
invitées à rechercher la possibilité d'appliquer les éditions les plus récentes des Recommandations et Normes indiquées
ci-après. Les membres de la CEI et de l'ISO possèdent le registre des Normes internationales en vigueur. Le Bureau de
la normalisation des télécommunications de l'UIT tient à jour une liste des Recommandations de l'UIT-T en vigueur.
2.1 Recommandations | Normes internationales identiques
– Recommandation UIT-T X.680 (2002) | ISO/CEI 8824-1:2002, Technologies de l'information – Notation
de syntaxe abstraite numéro un: spécification de la notation de base.
– Recommandation UIT-T X.682 (2002) | ISO/CEI 8824-3:2002, Technologies de l'information – Notation
de syntaxe abstraite numéro un: spécification des contraintes.
– Recommandation UIT-T X.683 (2002) | ISO/CEI 8824-4:2002, 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.
3 Définitions
Pour les besoins de la présente Recommandation | Norme internationale les définitions suivantes s'appliquent.
3.1 Spécification de la notation de base
La présente Recommandation | Norme internationale utilise les termes définis dans la Rec. UIT-T X.680 |
ISO/CEI 8824-1.
3.2 Spécification des contraintes
La présente Recommandation | Norme internationale utilise le terme suivant défini dans la Rec. UIT-T X.682 |
ISO/CEI 8824-3:
– contrainte tabulaire.
3.3 Paramétrage des spécifications ASN.1
La présente Recommandation | Norme internationale utilise les termes suivants définis dans la Rec. UIT-T X.683 |
ISO/CEI 8824-4:
a) type paramétré;
b) valeur paramétrée.
 Rec. UIT-T X.681 (07/2002) 1

---------------------- Page: 7 ----------------------
ISO/CEI 8824-2:2002 (F)
3.4 Autres définitions
3.4.1 table associée: (pour un objet informationnel ou un ensemble d'objets informationnels): table abstraite,
dérivable de l'objet ou de l'ensemble d'objets en aplatissant la structure hiérarchique résultant de la présence de champs
de liaison (voir § 3.4.15).
NOTE – Une table associée peut servir à déterminer la nature précise d'une contrainte donnée (voir la Rec. UIT-T X.682 |
ISO/CEI 8824-3), appliquée à l'aide d'un ensemble d'objets.
3.4.2 syntaxe par défaut: la notation qui sera utilisée pour définir les objets informationnels des classes pour
lesquelles les spécificateurs n'ont pas établi de syntaxe conviviale (voir § 11.10).
3.4.3 syntaxe conviviale: notation, indiquée lors de la définition d'une classe, permettant d'en définir les objets
informationnels d'une manière conviviale.
NOTE – Par exemple, la syntaxe conviviale de la classe "OPERATION" pourrait permettre de définir les instances de cette classe à
l'aide du mot "ARGUMENT" suivi de la spécification "&ArgumentType", puis du mot "RESULT" suivi de la spécification
"&ResultType", et enfin du mot "CODE" suivi de la spécification "&operationCode" (voir § 11.11).
3.4.4 ensemble d'objets extensible: ensemble d'objets comportant un marqueur d'extension ou ayant été défini au
moyen d'opérations arithmétiques sur des ensembles d'objets qui sont extensibles.
3.4.5 champ: composant d'une classe d'objets informationnels. Chaque champ est un champ de type, un champ de
valeur de type fixé, un champ de valeur de type variable, un champ d'ensemble de valeurs de type fixé, un champ
d'ensemble de valeurs de type variable, un champ d'objet informationnel ou un champ d'ensemble d'objets
informationnels.
3.4.6 nom de champ: nom identifiant un champ d'une classe donnée; il s'agira soit de la classe à laquelle appartient
le champ concerné, auquel cas le nom est un nom de champ primitif, soit d'une classe comportant une chaîne de champs
de liaison menant à la classe à laquelle appartient le champ concerné (voir § 9.13 et 9.14).
3.4.7 (classe) gouvernante; gouvernant: définition de classe d'objet informationnel ou référence à une telle classe
qui a une influence sur l'interprétation d'une partie de la syntaxe ASN.1, celle-ci devant faire référence aux objets
informationnels de la classe gouvernante ou les spécifier.
3.4.8 champ identificateur: champ de valeur de type fixé d'une classe, choisi pour identifier de manière unique les
objets informationnels de cette classe. Les valeurs du champ identificateur, s'il existe, doivent être non ambiguës dans
tout ensemble d'objets informationnels défini pour cette classe. Elles peuvent, mais pas nécessairement, servir à
identifier de manière non ambiguë les objets informationnels de cette classe dans un cadre plus large.
NOTE 1 – Le champ identificateur a un type ASN.1 fixé et les valeurs de ce type peuvent être acheminées par un protocole afin
d'identifier les objets informationnels de cette classe.
NOTE 2 – Le cadre dans lequel l'identificateur est non ambigu est celui d'un ensemble d'objets informationnels. Il pourrait
cependant être rendu non ambigu dans le cadre d'une syntaxe abstraite quelconque, ou dans le cadre d'un contexte d'application
tout entier, et même dans un cadre global recouvrant toutes les classes et tous les contextes d'application si on utilise le type
identificateur d'objet "OBJECT IDENTIFIER" comme champ identificateur.
3.4.9 objet informationnel: instance d'une classe d'objets informationnels, composée d'un ensemble de champs
respectant les spécifications des champs de cette classe.
NOTE – Par exemple, une instance particulière de la classe d'objets informationnels "OPERATION" (voir l'exemple du § 3.4.10)
pourrait être "inversionDeMatrice", avec un champ "&ArgumentType" de type "Matrice", un champ "&ResultType"
également de type "Matrice" et un champ "&operationCode" contenant la valeur 7 (voir § 10.13).
3.4.10 classe d'objets informationnels (classe): ensemble de champs, formant un modèle pour définir une
collection virtuellement illimitée d'objets informationnels qui sont les instances de cette classe.
NOTE – Par exemple, la classe d'objets informationnels "OPERATION" pourrait être définie afin de correspondre au concept
"opération" du Service des opérations distantes "ROS". Chacune des diverses spécifications de champs nommés correspondrait
alors à un aspect pouvant varier d'une instance d'opération à une autre. On pourrait ainsi avoir trois champs "&ArgumentType",
"&ResultType" et "&operationCode", les deux premiers spécifiant des champs de type, le troisième un champ de valeur.
3.4.11 champ d'objet informationnel: champ contenant un objet informationnel d'une classe donnée.
3.4.12 ensemble d'objets informationnels: ensemble non vide d'objets informationnels, tous définis au moyen du
même nom de référence de la classe d'objets informationnels.
NOTE – On peut constituer par exemple l'ensemble d'objets informationnels "OperationsMatricielles" de la classe
"OPERATION" (voir l'exemple du § 3.4.10) contenant "inversionDeMatrice" (voir l'exemple du § 3.4.9) et d'autres opérations
similaires telles que "additionDeMatrices", "multiplicationDeMatrices", etc. Un tel ensemble d'objets pourrait servir à
définir une syntaxe abstraite comportant les mécanismes d'appel et d'indication des résultats pour toutes ces opérations (voir
§ 12.11).
3.4.13 champ d'ensemble d'objets informationnels: champ contenant un ensemble d'objets informationnels d'une
classe donnée.
2 Rec. UIT-T X.681 (07/2002)

---------------------- Page: 8 ----------------------
ISO/CEI 8824-2:2002 (F)
3.4.14 type instance-de: type défini par référence à une classe d'objets informationnels associant des identificateurs
d'objets à des types.
3.4.15 champ de liaison: champ d'objet ou d'ensemble d'objets.
3.4.16 type de champ de classe d'objets: type spécifié par référence à un champ d'une classe d'objets
informationnels. Dans la Rec. UIT-T X.682 | ISO/CEI 8824-3, une notation est prévue pour permettre de restreindre ce
type en faisant référence à un ensemble d'objets informationnels de cette classe.
3.4.17 nom de champ primitif: nom directement spécifié dans une définition de classe d'objets informationnels sans
utilisation d'un champ de liaison.
3.4.18 définition récursive (d'un nom de référence): nom de référence dont la résolution ou dont la résolution par
le gouvernant de la définition dudit nom de référence nécessite la résolution du nom de référence original.
NOTE – La définition récursive d'une classe d'objets informationnels est autorisée. La définition récursive d'un objet
informationnel ou d'un ensemble d'objets informationnels est interdite en vertu des § 11.2 et 12.2, respectivement.
3.2.19 instanciation récursive (d'un nom de référence paramétré): instanciation d'un nom de référence, la
résolution des paramètres effectifs nécessitant la résolution du nom de référence original.
NOTE – L'instanciation récursive d'une classe d'objets informationnels (y compris une structure de codage) est autorisée.
L'instanciation récursive d'un objet informationnel ou d'un ensemble d'objets informationnels est interdite en vertu des § 11.2 et
12.2, respectivement.
3.4.20 champ de type: champ contenant un type quelconque.
3.4.21 champ de valeur: champ contenant une valeur. Ce champ est soit de type fixé, soit de type variable. Dans le
premier cas, le type de la valeur est fixé par la spécification du champ. Dans le second, il est contenu dans un champ de
type (spécifique) du même objet informationnel.
3.4.22 champ d'ensemble de valeurs: champ contenant un ensemble non vide de valeurs d'un type donné. Ce
champ est soit de type fixé, soit de type variable. Dans le premier cas, le type des valeurs est fixé par la spécification du
champ. Dans le second, il est contenu dans un champ de type (spécifique) du même objet informationnel.
NOTE – L'ensemble de valeurs d'un champ d'ensemble de valeurs d'un objet informationnel est un sous-type du type spécifié.
4 Abréviations
Pour les besoins de la présente Recommandation | Norme internationale l'abréviation suivante est utilisée:
ASN.1 Notation de syntaxe abstraite numéro un (abstract syntax notation one)
5 C
...

Questions, Comments and Discussion

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