ANSI ISO IEC 7816-5-1994 Identification cards - Integrated circuit(s) cards with contacts - Part 5 Numbering system and registration procedure for application identifiers《信息技术.识别卡..pdf
《ANSI ISO IEC 7816-5-1994 Identification cards - Integrated circuit(s) cards with contacts - Part 5 Numbering system and registration procedure for application identifiers《信息技术.识别卡..pdf》由会员分享,可在线阅读,更多相关《ANSI ISO IEC 7816-5-1994 Identification cards - Integrated circuit(s) cards with contacts - Part 5 Numbering system and registration procedure for application identifiers《信息技术.识别卡..pdf(12页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD ISOJIEC 7816-5 First edition 1994-06-l 5 Identification cards - Integrated circuit(s) cards with contacts - Part 5: Numbering system and registration procedure for application identifiers Cartes didentification - Cartes 9 circuit(s) inthgrt$(s) B contacts - Partie 5: Systhme d
2、e numhotation et proc - The application label; - The path to a file; - A command to perform; - Discretionary data; - The application template. 5 Coding of the data elements 5.1 Structure of an ASN.l object If a data element defined in this clause is represented as an ASN.l object, it shall be encode
3、d according to table 1 Table 1 - ASN.l coding of data elements TAG LENGTH(L) VALUE(data element) TYPE 1 byte 1 byte L bytes 4F 01 to IO Application identifier (AID) P 50 00 to IO Application label P 51 00 to 7E Path P 52 04 to 7F Command to perform, see ISO/IEC 7816-4 P 53 00 to 7F Discretionary dat
4、a P 73 00 to 7F Discretionary ASN. 1 objects C 61 03 to 7F Application template C TYPE : P = primitive ASN.l object, C = constructed ASN.l object All other application class tags are reserved by IS0 5.2 Application identifier The AID is coded using hexadecimal notation. The most significant 4 bits o
5、f the first byte are the registration category (see table 2), which is used to OISO/IEC ISOhEC 7816-5 : 1994 (E) differentiate registered and proprietary application identifiers. Table 2 - Registration category values As defined in IS0 7812 II II IA I International registration II II lB I Reserved f
6、or IS0 II c I Reserved for IS0 II II ID I National registration II Reserved for IS0 II II IF I Proprietary non-registered II The PIX allows an application provider to identify their application(s). The PIX has a free coding. If the AID is 16 bytes long, then the value FF for the least significant by
7、te is reserved for future use. 5.2.1 Registration category = 0 to 9 The first part of the AID is the IIN (The registration category is the first digit of the IIN). If the IIN contains an odd number of digits, it shall be padded with F ( i.e. bit 4 to bit 1 of the least significant byte shall be set
8、to 1). If a PIX is present, it shall be preceded by a byte coded as FF. The coding of the AID is therefore IIN, FF as defined in IS0 7812 Proprietary application identifier extension W) length not defined in I 1 5.2.2 Registration category = A The RID consists of the following fields - Registration
9、category : 4 bits, coded as 1010. - Registered application provider number, 36 bits as 9 BCD digits. Other codings are reserved for IS0 use. The coding of the AID is therefore : Registered application provider identifier (RID) Proprietary application identifier extension I I I W) 5.2.3 Registration
10、category = D The RID consists of the following fields - Registration category : 4 bits, coded as 1101. - Country code of the national registration authority, 12 bits as 3 BCD digits, coded according to IS0 3166, numeric part only. - Field(s) specified by the national authority, 24 bits, BCD coding r
11、ecommended. The coding of the AID is therefore : 5.2.4 Registration category = F The coding of the remaining part of the AID is F lroprietary-the format of the AID.is therefore : Proprietary application identifier I WARNING Within the category F, where identifiers are not registered, the same value
12、of the AID may be used by different application providers. 5.2.5 Registration category = B,C,E These values are reserved for ISO. 5.3 Additional data elements In addition to the application identifier, the following data elements may be used for the application selection. 5.3.1 Application label Thi
13、s data element of free coding may be specified by an application provider for use at the man-machine interface, e.g. trademark to be displayed to the customer. Application label 1 1 5.3.2 Path The number of bytes of this data element is even. Path I 1 1 I I i 1 I 3 OISO/IEC ISO/IEC 7816-5 : 1994 (E)
14、 5.3.3 Command to perform The command to perform data element is a command APDU relevant to application selection. Command to perform, see ISO/IEC 7816-4 I 1 ( 5.3.4 Discretionary data The application provider may put any relevant data in this data element. Discretionary data 1 c - variable from 0 t
15、o 127 bytes- 1 OR I Discretionary ASN. 1 objects I I I 53.5 Application template The application template shall contain one or more of the ASN.1 objects relevant to an application. Within the application template, - the ASN.l object containing the application identifier is mandatory, - all other ASN
16、.l objects defined in this part of lSO/IEC 7816 are optional. ASN.l objects relevant to an application I I 5.4 Retrieval of ASN.l objects The ASN.l objects defined in this part of ISO/IEC 7816 may be found: - In the historical bytes of the ATR, - In a DIR file, - In the ATR file, - In any command or
17、 response message where ASN.l is used, e.g. in the file control information of a file, see ISO/IEC 7816-4. The DIR file contains only a sequence of application identifiers and/or application templates. Erased ASN.1 objects may be replaced by a sequence of 00 or FF bytes. If present in the historical
18、 bytes of the ATR, the tag and length of the ASN.1 object containing the AID shall be coded according to ISO/IEC 7816-4. 6 Use of the data elements 6.1 Application identification The application identification shall enable the IFD - To ascertain that an application may be initiated in the card ; - T
19、o identify the access method to a specific application in the card. 6.2 Retrieval of the application identifier If application identifier retrieval is offered by the card, the application identifier(s) may be read in the DIR file(s), and/or ATR file, as defined in ISO/IEC 7816-4. For single applicat
20、ion cards, the AID may be found in the historical bytes. NOTE 2 See ISO/IEC 7816-4 for the coding conven- tions in the historical bytes. 6.3 Application selection A card shall support one or more of the following application selection methods : - Direct application selection with AID; - Application
21、selection by the use of a DIR file or an ATR file; - Implicit application selection. 6.3.1 Direct application selection with AID Direct application selection is performed by the use of the SELECT FILE command, specifying the AID as dedicated file name. If this mechanism is supported by the card, the
22、n the IFD may explicitly select an application to be performed, without previously checking that the respective application is present in the card. If the respective application is not present, then the card shall reject the command. If the application is present, the card shall execute the SELECT F
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ANSIISOIEC781651994IDENTIFICATIONCARDSINTEGRATEDCIRCUITSCARDSWITHCONTACTSPART5NUMBERINGSYSTEMANDREGISTRATIONPROCEDUREFORAPPLICATIONIDENTIFIERS

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