ITU-T X 209-1988 SPECIFICATION OF BASIC ENCODING RULES FOR ABSTRACT SYNTAX NOTATION ONE (ASN 1)《抽象句法表记法(ASN 1)的基本编码规则的规范》.pdf
《ITU-T X 209-1988 SPECIFICATION OF BASIC ENCODING RULES FOR ABSTRACT SYNTAX NOTATION ONE (ASN 1)《抽象句法表记法(ASN 1)的基本编码规则的规范》.pdf》由会员分享,可在线阅读,更多相关《ITU-T X 209-1988 SPECIFICATION OF BASIC ENCODING RULES FOR ABSTRACT SYNTAX NOTATION ONE (ASN 1)《抽象句法表记法(ASN 1)的基本编码规则的规范》.pdf(25页珍藏版)》请在麦多课文档分享上搜索。
1、)45 4 8 TELECOMMUNICATIONSTANDARDIZATION SECTOROF ITU/0%. 3934%-3 ).4%2#/%#4)/.-/$%, !.$ ./4!4)/.30%#)(b) the need for a high-level notation for specifying such information objects;(c) the value of isolating and standardizing the rules for encoding such information objects.unanimously recommendsthat
2、 the rules for encoding information objects are defined in this Recommendation.CONTENTS0 Introduction1 Scope and field of application2 References3 Definitions4 Abbreviations and notation4.1 Abbreviations4.2 Notation5 Conformance6 General rules for encoding6.1 Structure of an encoding6.2 Identifier o
3、ctets6.3 Length octets6.4 Contents octets6.5 End-of-contents octets7 Encoding of a Boolean value8 Encoding of an integer value9 Encoding of an enumerated value10 Encoding of a real value11 Encoding of a bitstring value12 Encoding of an octetstring value13 Encoding of a null value14 Encoding of a seq
4、uence value_1)Recommendation X.209 and ISO 8825 Information processing systems - Open systems interconnection - Specification of basicencoding rules for Abstract Syntax Notation One (ASN.1) as extended by Addendum 1 to ISO 8825, were developed in closecooperation and are technically aligned.2 Fascic
5、le VIII.4 - Rec. X.20915 Encoding of a sequence-of value16 Encoding of a set value17 Encoding of a set-of value18 Encoding of a choice value19 Encoding of a selection value20 Encoding of a tagged value21 Encoding of a value of the ANY type22 Encoding of an object identifier value23 Encoding for valu
6、es of the character string types24 Encoding for values of the ASN.1 useful types25 Use in transfer syntax definitionAppendix I - Example of encodingsI.1 ASN.1 description of the record structureI.2 ASN.1 description of a record valueI.3 Representation of this record valueAppendix II - Assignment of
7、object identifier valuesAppendix III - Illustration of real value encoding0 IntroductionRecommendation X.208 (Specification of Abstract Syntax Notation One) specifies a notation for the definitionof abstract syntaxes, enabling application layer specifications to define the types of information they
8、need to transferusing the presentation service. It also specifies a notation for the specification of value of a defined type.This Recommendation defines a set of encoding rules that may be applied to values of types defined using thenotation specified in Recommendation X.208. Application of these e
9、ncoding rules produces a transfer syntax for suchvalues. It is implicit in the specification of these encoding rules that they are also to be used for decoding.There may be more than one set of encoding rules that can be applied to values of types that are defined usingthe notation of Recommendation
10、 X.208. This Recommendation defines one set of encoding rules, called basic encodingrules.This Recommendation is technically and editorially aligned with ISO 8825 plus Addendum I to ISO 8825.Appendix I gives examples of the application of the encoding rules. It is not part of this Recommendation.App
11、endix II summarises the assignment of object identifier values made in this Recommendation and is notpart of this Recommendation.Appendix III is not part of this Recommendation, and gives examples of applying the rules for encoding reals.1 Scope and field of applicationThis Recommendation specifies
12、a set of basic encoding rules that may be used to derive the specification of atransfer syntax for values of types defined using the notation specified in Recommendation X.208. These basic encodingrules are also to be applied for decoding such a transfer syntax in order to identify the data values b
13、eing transferred.These basic encoding rules are used at the time of communication (by the presentation service provider whenrequired by a presentation context). Fascicle VIII.4 - Rec. X.209 32 References1 Recommendation X.200, Reference Model of Open Systems Interconnection for CCITT Applications (s
14、ee alsoISO 7498).2 Recommendation X.208, Specification of Abstract Syntax Notation One (ASN.1) (see also ISO 8824).3 Recommendation X.226, Presentation Protocol Specification for Open Systems Interconnection for CCITTApplications (see also ISO 8823).4 ISO 2022, Information processing - ISO 7-bit and
15、 8-bit coded character sets - Code extension techniques.5 ISO 2375, Data processing - Procedure for registration of escape sequences.6 ISO 6093, Information processing - Representation of numerical values in character strings for informationinterchange.3 DefinitionsThe definitions of Recommendation
16、X.208 are used in this Recommendation.3.1 dynamic conformanceA statement of the requirement for an implementation to adhere to the behaviour prescribed by thisRecommendation in an instance of communication.3.2 static conformanceA statement of the requirement for support by an implementation of a val
17、id set of features from among thosedefined by this Recommendation.3.3 data valueInformation specified as the value of a type; the type and the value are defined using ASN.1.3.4 encoding (of a data value)The complete sequence of octets used to represent the data value.Note - Some CCITT Recommendation
18、s use the term “data element“ for this sequence of octets, but the term isnot used in this Recommendation, as ISO International Standard use it to mean “data value“.3.5 identifier octetsPart of a data value encoding which is used to identify the type of the value.3.6 length octetsPart of a data valu
19、e encoding following the identifier octets which is used to determine the end of theencoding.3.7 end-of-contents octetsPart of a data value encoding, occurring at its end, which is used to determine the end of the encoding.Note - Not all encodings require end-of-contents octets.3.8 contents octetsTh
20、at part of a data value encoding which represents a particular value, to distinguish it from other values of thesame type.4 Fascicle VIII.4 - Rec. X.2093.9 primitive encodingA data value encoding in which the contents octets directly represent the value.3.10 constructed encodingA data value encoding
21、 in which the contents octets are the complete encoding of one or more other datavalues.3.11 senderAn implementation encoding a data value for transfer.3.12 receiverAn implementation decoding the octets produced by a sender, in order to identify the data value which wasencoded.4 Abbreviations and no
22、tation4.1 AbbreviationsASN.1 Abstract Syntax Notation One4.2 Notation4.2.1 This Recommendation references the notation defined by Recommendation X.208.4.2.2 This Recommendation specifies the value of each octet in an encoding by use of the terms “most significantbit“ and “least significant bit“.Note
23、 - Lower layer specifications use the same notation to define the order of bit transmission on a serial line, orthe assignment of bits to parallel channels.4.2.3 For the purposes of this Recommendation, the bits of an octet are numbered from 8 to 1, where bit 8 is the“most significant bit“, and bit
24、1 is the “least significant bit“.5 Conformance5.1 Dynamic conformance is specified by 6 to 24 inclusive.5.2 Static conformance is specified by those documents which specify the application of these basic encodingrules.5.3 Alternative encodings are permitted. by this Recommendation as a senders optio
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ITUTX2091988SPECIFICATIONOFBASICENCODINGRULESFORABSTRACTSYNTAXNOTATIONONEASN1 抽象 句法 表记 ASN1 基本 编码 规则

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