ANSI INCITS ISO IEC 8825-2-2004 Information technology - ASN.1 encoding rules Specification of Packed Encoding Rules (PER).pdf
《ANSI INCITS ISO IEC 8825-2-2004 Information technology - ASN.1 encoding rules Specification of Packed Encoding Rules (PER).pdf》由会员分享,可在线阅读,更多相关《ANSI INCITS ISO IEC 8825-2-2004 Information technology - ASN.1 encoding rules Specification of Packed Encoding Rules (PER).pdf(54页珍藏版)》请在麦多课文档分享上搜索。
1、 Reference numberISO/IEC 8825-2:2002(E)ISO/IEC 2002INTERNATIONAL STANDARD ISO/IEC8825-2Third edition2002-12-15Information technology ASN.1 encoding rules: Specification of Packed Encoding Rules (PER) Technologies de linformation Rgles de codage ASN.1: Spcification des rgles de codage compact (PER) A
2、dopted by INCITS (InterNational Committee for Information Technology Standards) as an American National Standard.Date of ANSI Approval: 12/28/2004Published by American National Standards Institute,25 West 43rd Street, New York, New York 10036Copyright 2004 by Information Technology Industry Council
3、(ITI).All rights reserved.These materials are subject to copyright claims of International Standardization Organization (ISO), InternationalElectrotechnical Commission (IEC), American National Standards Institute (ANSI), and Information Technology Industry Council(ITI). Not for resale. No part of th
4、is publication may be reproduced in any form, including an electronic retrieval system, withoutthe prior written permission of ITI. All requests pertaining to this standard should be submitted to ITI, 1250 Eye Street NW,Washington, DC 20005.Printed in the United States of AmericaISO/IEC 8825-2:2002(
5、E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with 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 fil
6、e, parties accept therein the responsibility of not infringing Adobes 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 re
7、lative 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
8、/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 ISOs member body in
9、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 copyrightiso.org Web www.iso.org Published by ISO in 2003 Published in Switzerland ii ISO/IEC 2002 All rights reservedISO/IEC 8825-2:2002(E) ISO/IEC 2002 All right
10、s reserved iiiCONTENTS Page Introduction . vi 1 Scope 1 2 Normative references . 1 2.1 Identical Recommendations | International Standards 1 2.2 Paired Recommendations | International Standards equivalent in technical content. 1 2.3 Additional references 1 3 Definitions 2 3.1 Specification of Basic
11、Notation. 2 3.2 Information Object Specification 2 3.3 Constraint Specification 2 3.4 Parameterization of ASN.1 Specification . 2 3.5 Basic Encoding Rules . 2 3.6 Additional definitions 2 4 Abbreviations . 5 5 Notation 5 6 Convention . 5 7 Encoding rules defined in this Recommendation | Internationa
12、l Standard. 5 8 Conformance 6 9 The approach to encoding used for PER 6 9.1 Use of the type notation 6 9.2 Use of tags to provide a canonical order . 7 9.3 PER-visible constraints . 7 9.4 Type and value model used for encoding 8 9.5 Structure of an encoding . 8 9.6 Types to be encoded 9 10 Encoding
13、procedures 10 10.1 Production of the complete encoding 10 10.2 Open type fields 10 10.3 Encoding as a non-negative-binary-integer. 10 10.4 Encoding as a 2s-complement-binary-integer 11 10.5 Encoding of a constrained whole number . 11 10.6 Encoding of a normally small non-negative whole number 12 10.
14、7 Encoding of a semi-constrained whole number 13 10.8 Encoding of an unconstrained whole number . 13 10.9 General rules for encoding a length determinant 13 11 Encoding the boolean type . 16 12 Encoding the integer type. 16 13 Encoding the enumerated type . 17 14 Encoding the real type 17 15 Encodin
15、g the bitstring type. 17 16 Encoding the octetstring type . 18 17 Encoding the null type 19 18 Encoding the sequence type . 19 19 Encoding the sequence-of type. 20 20 Encoding the set type . 20 21 Encoding the set-of type. 21 22 Encoding the choice type 21 ISO/IEC 8825-2:2002(E) iv ISO/IEC 2002 All
16、rights reserved23 Encoding the object identifier type. 22 24 Encoding the relative object identifier type 22 25 Encoding the embedded-pdv type 22 26 Encoding of a value of the external type 22 27 Encoding the restricted character string types 23 28 Encoding the unrestricted character string type 25
17、29 Object identifiers for transfer syntaxes. 25 Annex A Example of encodings . 27 A.1 Record that does not use subtype constraints. 27 A.1.1 ASN.1 description of the record structure . 27 A.1.2 ASN.1 description of a record value . 27 A.1.3 ALIGNED PER representation of this record value 27 A.1.4 UN
18、ALIGNED PER representation of this record value 28 A.2 Record that uses subtype constraints . 30 A.2.1 ASN.1 description of the record structure . 30 A.2.2 ASN.1 description of a record value . 30 A.2.3 ALIGNED PER representation of this record value 30 A.2.4 UNALIGNED PER representation of this rec
19、ord value 31 A.3 Record that uses extension markers. 32 A.3.1 ASN.1 description of the record structure . 32 A.3.2 ASN.1 description of a record value . 33 A.3.3 ALIGNED PER representation of this record value 33 A.3.4 UNALIGNED PER representation of this record value 34 A.4 Record that uses extensi
20、on addition groups. 36 A.4.1 ASN.1 description of the record structure . 36 A.4.2 ASN.1 description of a record value . 36 A.4.3 ALIGNED PER representation of this record value 36 A.4.4 UNALIGNED PER representation of this record value 37 Annex B Observations on combining PER-visible constraints. 38
21、 Annex C Support for the PER algorithms. 43 Annex D Support for the ASN.1 rules of extensibility . 44 Annex E Tutorial annex on concatenation of PER encodings 45 Annex F Assignment of object identifier values. 46 ISO/IEC 8825-2:2002(E) ISO/IEC 2002 All rights reserved vForeword ISO (the Internationa
22、l 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
23、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
24、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 Inter
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIINCITSISOIEC882522004INFORMATIONTECHNOLOGYASN1ENCODINGRULESSPECIFICATIONOFPACKEDENCODINGRULESPERPDF

链接地址:http://www.mydoc123.com/p-436499.html