1、Information technology Abstract Syntax Notation One (ASN.1): Information object specificationCAN/CSA-ISO/IEC 8824-2:13(ISO/IEC 8824-2:2008, IDT)National Standard of CanadaNOT FOR RESALE. / PUBLICATION NON DESTINE LA REVENTE.Legal Notice for StandardsCanadian Standards Association (operating as “CSA
2、Group”) develops standards through a consensus standards development process approved by the Standards Council of Canada. This process brings together volunteers representing varied viewpoints and interests to achieve consensus and develop a standard. Although CSA Group administers the process and e
3、stablishes rules to promote fairness in achieving consensus, it does not independently test, evaluate, or verify the content of standards.Disclaimer and exclusion of liabilityThis document is provided without any representations, warranties, or conditions of any kind, express or implied, including,
4、without limitation, implied warranties or conditions concerning this documents fitness for a particular purpose or use, its merchantability, or its non-infringement of any third partys intellectual property rights. CSA Group does not warrant the accuracy, completeness, or currency of any of the info
5、rmation published in this document. CSA Group makes no representations or warranties regarding this documents compliance with any applicable statute, rule, or regulation. IN NO EVENT SHALL CSA GROUP, ITS VOLUNTEERS, MEMBERS, SUBSIDIARIES, OR AFFILIATED COMPANIES, OR THEIR EMPLOYEES, DIRECTORS, OR OF
6、FICERS, BE LIABLE FOR ANY DIRECT, INDIRECT, OR INCIDENTAL DAMAGES, INJURY, LOSS, COSTS, OR EXPENSES, HOWSOEVER CAUSED, INCLUDING BUT NOT LIMITED TO SPECIAL OR CONSEQUENTIAL DAMAGES, LOST REVENUE, BUSINESS INTERRUPTION, LOST OR DAMAGED DATA, OR ANY OTHER COMMERCIAL OR ECONOMIC LOSS, WHETHER BASED IN
7、CONTRACT, TORT (INCLUDING NEGLIGENCE), OR ANY OTHER THEORY OF LIABILITY, ARISING OUT OF OR RESULTING FROM ACCESS TO OR POSSESSION OR USE OF THIS DOCUMENT, EVEN IF CSA GROUP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, INJURY, LOSS, COSTS, OR EXPENSES.In publishing and making this document av
8、ailable, CSA Group is not undertaking to render professional or other services for or on behalf of any person or entity or to perform any duty owed by any person or entity to another person or entity. The information in this document is directed to those who have the appropriate degree of experience
9、 to use and apply its contents, and CSA Group accepts no responsibility whatsoever arising in any way from any and all use of or reliance on the information contained in this document. CSA Group is a private not-for-profit company that publishes voluntary standards and related documents. CSA Group h
10、as no power, nor does it undertake, to enforce compliance with the contents of the standards or other documents it publishes. Intellectual property rights and ownershipAs between CSA Group and the users of this document (whether it be in printed or electronic form), CSA Group is the owner, or the au
11、thorized licensee, of all works contained herein that are protected by copyright, all trade-marks (except as otherwise noted to the contrary), and all inventions and trade secrets that may be contained in this document, whether or not such inventions and trade secrets are protected by patents and ap
12、plications for patents. Without limitation, the unauthorized use, modification, copying, or disclosure of this document may violate laws that protect CSA Groups and/or others intellectual property and may give rise to a right in CSA Group and/or others to seek legal redress for such use, modificatio
13、n, copying, or disclosure. To the extent permitted by licence or by law, CSA Group reserves all intellectual property rights in this document.Patent rightsAttention is drawn to the possibility that some of the elements of this standard may be the subject of patent rights. CSA Group shall not be held
14、 responsible for identifying any or all such patent rights. Users of this standard are expressly advised that determination of the validity of any such patent rights is entirely their own responsibility.Authorized use of this documentThis document is being provided by CSA Group for informational and
15、 non-commercial use only. The user of this document is authorized to do only the following:If this document is in electronic form:sLOADTHISDOCUMENTONTOACOMPUTERFORTHESOLEPURPOSEOFREVIEWINGITsSEARCHANDBROWSETHISDOCUMENTANDsPRINTTHISDOCUMENTIFITISIN0$ this remains the continuing responsibility of the
16、SDO. An NSC reflects a consensus of a number of capable individuals whose collective interests provide, to the greatest practicable extent, a balance of representation of general interests, producers, regulators, users (including consumers), and others with relevant interests, as may be appropriate
17、to the subject in hand. It normally is a standard which is capable of making a significant and timely contribution to the national interest.Those who have a need to apply standards areencouraged to use NSCs. These standards are subjectto periodic review. Users of NSCs are cautionedto obtain the late
18、st edition from the SDO which publishes the standard.The responsibility for approving standards as National Standards of Canada rests with theStandards Council of Canada270 Albert Street, Suite 200Ottawa, Ontario, K1P 6N7CanadaAlthough the intended primary application of this Standard is stated in i
19、ts Scope, it is importantto note that it remains the responsibility of the users to judge its suitability for their particular purpose.TMA trade-mark of Canadian Standards Association, operating as “CSA Group”Cette norme est offerte en anglais seulement pour le moment. Le Groupe CSA publiera la vers
20、ionen franais ds quelle sera produite par lorganisme rdacteur.TMA trade-mark of the Canadian Standards Association, operating as “CSA Group”National Standard of CanadaPublished in January 2013 by CSA GroupA not-for-profit private sector organization5060 Spectrum Way, Suite 100, Mississauga, Ontario,
21、 Canada L4W 5N61-800-463-6727 416-747-4044Visit our Online Store at shop.csa.caApproved byStandards Council of CanadaCAN/CSA-ISO/IEC 8824-2:13Information technology Abstract Syntax Notation One (ASN.1): Information object specificationPrepared by InternationalOrganizationforStandardization/ Internat
22、ional Electrotechnical CommissionReviewed byCAN/CSA-ISO/IEC 8824-2:13Information technology Abstract Syntax NotationOne (ASN.1): Information object specificationCSA/4 2013 CSA Group January 2013CAN/CSA-ISO/IEC 8824-2:13Information technology Abstract Syntax Notation One (ASN.1): Information object s
23、pecificationCSA PrefaceStandards development within the Information Technology sector is harmonized with international standards development. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Comm
24、ittee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegra
25、ph and Telephone Consultative Committee (ITU-T).This Standard supersedes CAN/CSA-ISO/IEC 8824-2-04 (adoption of ISO/IEC 8824-2:2002).At the time of publication, ISO/IEC 8824-2:2008 is available from ISO and IEC in English only. CSA Group will publish the French version when it becomes available from
26、 ISO and IEC.This International Standard was reviewed by the TCIT under the jurisdiction of the Strategic Steering Committee on Information Technology and deemed acceptable for use in Canada. From time to time, ISO/IEC may publish addenda, corrigenda, etc. The TCIT will review these documents for ap
27、proval and publication. For a listing, refer to the Current Standards Activities page at standardsactivities.csa.ca. This Standard has been formally approved, without modification, by the Technical Committee and has been approved as a National Standard of Canada by the Standards Council of Canada. 2
28、013 CSA GroupAll rights reserved. No part of this publication may be reproduced in any form whatsoever without the prior permission of thepublisher. ISO/IEC material is reprinted with permission. Where the words “this International Standard” appear in the text, they should be interpreted as “this Na
29、tional Standard of Canada”.Inquiries regarding this National Standard of Canada should be addressed toCSA Group5060 Spectrum Way, Suite 100, Mississauga, Ontario, Canada L4W 5N61-800-463-6727 416-747-4000http:/csa.caTo purchase standards and related publications, visit our Online Store at shop.csa.c
30、a or call toll-free 1-800-463-6727 or 416-747-4044.This Standard is subject to periodic review, and suggestions for its improvement will be referred to the appropriate committee. To submit a proposal for change, please send the following information to inquiriescsagroup.org and include “Proposal for
31、 change” in the subject line:(a) Standard designation (number);(b) relevant clause, table, and/or figure number;(c) wording of the proposed change; and(d) rationale for the change.Reference numberISO/IEC 8824-2:2008(E)ISO/IEC 2008INTERNATIONAL STANDARD ISO/IEC8824-2Fourth edition2008-12-15Informatio
32、n technology Abstract Syntax Notation One (ASN.1): Information object specification Technologies de linformation Notation de syntaxe abstraite numro un (ASN.1): Spcification des objets informationnels ISO/IEC 8824-2:2008(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance w
33、ith Adobes 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 Adobes licensing
34、 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. Ev
35、ery 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. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2008 All rights reserved. Unless otherwise sp
36、ecified, 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 ISOs member body in the country of the requester. ISO copyright office
37、 Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org ii ISO/IEC 2008 All rights reservedCAN/CSA-ISO/IEC 8824-2:13ISO/IEC 8824-2:2008(E) ISO/IEC 2008 All rights reserved iiiCONTENTS Page Introduction . v 1 Scope 1 2 Normative referenc
38、es . 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
39、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 . 5 7.6 Value set field references 5 7.7 Object field refere
40、nces 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 10 11 Information object definition and assignment 12 12 Information object set definition and assignment. 14 13 Asso
41、ciated tables 15 14 Notation for the object class field type. 16 15 Information from objects 18 Annex A The TYPE-IDENTIFIER information object class. 21 Annex B Abstract syntax definitions 22 Annex C The instance-of type 23 Annex D Examples. 25 D.1 Example usage of simplified OPERATION class. 25 D.2
42、 Example usage of “ObjectClassFieldType“ 26 D.3 Illustrate usage of objects and object sets . 26 Annex E Tutorial annex on the ASN.1 model of object set extension . 28 Annex F Summary of the notation 29 Foreword . iv CAN/CSA-ISO/IEC 8824-2:13ISO/IEC 8824-2:2008(E) iv ISO/IEC 2008 All rights reserved
43、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 techni
44、cal 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
45、 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 Intern
46、ational 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 o
47、f 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 info
48、rmation exchange between systems, in collaboration with ITU-T. The identical text is published as ITU-T Rec. X.681 (11/2008). This fourth edition cancels and replaces the third edition (ISO/IEC 8824-2:2002), which has been technically revised. It also incorporates the Amendment ISO/IEC 8824-2:2002/A
49、md.1:2004, and the Technical Corrigenda ISO/IEC 8824-2:2002/Cor.1:2006 and ISO/IEC 8824-2:2002/Cor.2:2007. 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: Constrain