BS ISO IEC 7816-4-2013 Identification cards Integrated circuit cards Organization security and commands for interchange《识别卡 集成电路卡 交换用组织、安全和命令》.pdf
《BS ISO IEC 7816-4-2013 Identification cards Integrated circuit cards Organization security and commands for interchange《识别卡 集成电路卡 交换用组织、安全和命令》.pdf》由会员分享,可在线阅读,更多相关《BS ISO IEC 7816-4-2013 Identification cards Integrated circuit cards Organization security and commands for interchange《识别卡 集成电路卡 交换用组织、安全和命令》.pdf(166页珍藏版)》请在麦多课文档分享上搜索。
1、BSI Standards Publication BS ISO/IEC 7816-4:2013 Identification cards Integrated circuit cards Part 4: Organization, security and commands for interchange BS ISO/IEC 7816-4:2013 Incorporating corrigendum August 2014BS ISO/IEC 7816-4:2013 BRITISH STANDARD National foreword This British Standard is th
2、e UK implementation of ISO/IEC 7816-4:2013, incorporating corrigendum August 2014. It supersedes BS ISO/IEC 7816-4:2005+A1:2008 which is withdrawn. The start and finish of text introduced or altered by corrigendum is indicated in the text by tags. Text altered by ISO/IEC corrigendum August 2014 is i
3、ndicated in the text by . The UK participation in its preparation was entrusted to Technical Committee IST/17, Cards and personal identification. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not purport to include all the ne
4、cessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2014. Published by BSI Standards Limited 2014 ISBN 978 0 580 87836 7 ICS 35.240.15 Compliance with a British Standard cannot confer immunity from legal obligations. This British Sta
5、ndard was published under the authority of the Standards Policy and Strategy Committee on 30 April 2013. Amendments/corrigenda issued since publication Date Text affected 31 October 2014 Implementation of ISO/IEC corrigendum August 2014BS ISO/IEC 7816-4:2013Reference number ISO/IEC 7816-4:2013(E) IS
6、O/IEC 2013INTERNATIONAL STANDARD ISO/IEC 7816-4 Third edition 2013-04-15 Identification cards Integrated circuit cards Part 4: Organization, security and commands for interchange Cartes didentification Cartes circuit intgr Partie 4: Organisation, scurit et commandes pour les changes BS ISO/IEC 7816-
7、4:2013 ISO/IEC 7816-4:2013(E) COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2013 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 writin
8、g from either ISO at the address below or ISOs 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 copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2013 All rights reservedBS ISO/I
9、EC 7816-4:2013 ISO/IEC 7816-4:2013(E) ISO/IEC 2013 All rights reserved iiiContents Page Foreword . vii Introduction viii 1 Scope . . 1 2 Normative references 1 3 Terms and definitions . 2 4 Symbols and abbreviated terms 7 5 Command-Response pairs . 8 5.1 Conditions of operation . . 8 5.2 Syntax . 9
10、5.3 Chaining procedures . 10 5.3.1 General . 10 5.3.2 Payload fragmentation . . 10 5.3.3 Command chaining . 10 5.3.4 Response chaining 11 5.4 Class byte . 12 5.4.1 Coding 12 5.4.2 Logical channels . 13 5.5 Instruction byte 14 5.6 Status bytes . 14 6 Data objects . 17 6.1 SIMPLE-TLV data objects . 18
11、 6.2 BER-TLV data objects . 18 6.3 Constructed DOs versus primitive DOs 18 7 Structures for applications and data . 19 7.1 Available structures 19 7.2 Validity area . 20 7.2.1 Definitions and attributes . 20 7.2.2 Basic rules for VA handling and use . 20 7.3 Structure selection . . 21 7.3.1 Structur
12、e selection methods . . 21 7.3.2 File reference data element and DO 22 7.3.3 General reference data element and DO . 23 7.3.4 Data referencing methods in elementary files . 23 7.4 File and data control information 23 7.4.1 File control information retrieval . 23 7.4.2 Data control information retrie
13、val 24 7.4.3 Control parameters . 24 7.4.4 Short EF identifier . 26 7.4.5 File descriptor byte . 26 7.4.6 Profile indicator . 27 7.4.7 Data descriptor byte 27 7.4.8 DF and EF list data elements . 27 7.4.9 Instance number data element . 28 7.4.10 Life cycle status . 28 7.4.11 Indirect referencing by
14、short EF identifier using DOA2 28 7.4.12 Interface and life cycle status dependent security attribute template . 29 8 Specific use of DOs and related concepts 30 8.1 BER-TLV payloads and padding . 30 BS ISO/IEC 7816-4:2013 ISO/IEC 7816-4:2013(E) iv ISO/IEC 2013 All rights reserved8.1.1 Padding condi
15、tions30 8.1.2 Padding procedure 30 8.2 Current template and data object generations .31 8.2.1 Current template and current DO .31 8.2.2 Template extension .31 8.2.3 Data object sub-tree 31 8.2.4 Data object life cycle .32 8.3 Identification of data elements and data objects .32 8.3.1 Principles 32 8
16、.3.2 Tag interpretation in command and response data fields or payloads .32 8.3.3 Tag allocation .32 8.3.4 Standard tag allocation scheme .33 8.3.5 Compatible tag allocation scheme .33 8.3.6 Coexistent tag allocation scheme 34 8.3.7 Avoidance of independent tag allocation schemes .34 8.4 Referencing
17、 and retrieval of DOs and data elements 34 8.4.1 General 34 8.4.2 Element list .35 8.4.3 Tag list 35 8.4.4 Header list .35 8.4.5 Extended header and extended header list 35 8.4.6 Resolving an extended header .36 8.4.7 Resolving an extended header list .37 8.4.8 Wrapper 37 8.4.9 Tagged wrapper .38 9
18、Security architecture .38 9.1 General 38 9.2 Cryptographic mechanism identifier template .39 9.3 Security attributes .40 9.3.1 Security attributes targets 40 9.3.2 Compact format .40 9.3.3 Expanded format 44 9.3.4 Access rule references .48 9.3.5 Security attributes for data objects .49 9.3.6 Securi
19、ty parameters template 49 9.3.7 Security attributes for logical channels 55 9.4 Security support data elements .56 10 Secure messaging .57 10.1 SM fields and SM DOs .57 10.1.1 SM protection of command payloads 57 10.1.2 SM protection of chained commands and responses .57 10.1.3 SM DOs .57 10.2 Basic
20、 SM DOs .58 10.2.1 SM DOs for encapsulating plain values 58 10.2.2 SM DOs for confidentiality 59 10.2.3 SM DOs for authentication 60 10.3 Auxiliary SM DOs .61 10.3.1 Control reference templates .61 10.3.2 Control reference DOs in control reference templates 61 10.3.3 Security environments 63 10.3.4
21、Response descriptor template .65 10.4 SM impact on command-response pairs 65 11 Commands for interchange 67 11.1 Selection .67 11.1.1 SELECT command 67 11.1.2 MANAGE CHANNEL command .69 11.2 Data unit handling70 11.2.1 Data units 70 BS ISO/IEC 7816-4:2013 ISO/IEC 7816-4:2013(E) ISO/IEC 2013 All righ
22、ts reserved v11.2.2 General . 70 11.2.3 READ BINARY command . 71 11.2.4 WRITE BINARY command . 71 11.2.5 UPDATE BINARY command . 72 11.2.6 SEARCH BINARY command . 72 11.2.7 ERASE BINARY command . 72 11.2.8 COMPARE BINARY function . 73 11.3 Record handling . . 73 11.3.1 Records . . 73 11.3.2 General
23、. 74 11.3.3 READ RECORD (S) command 74 11.3.4 WRITE RECORD command 76 11.3.5 UPDATE RECORD command . 77 11.3.6 APPEND RECORD command . 77 11.3.7 SEARCH RECORD command . 78 11.3.8 ERASE RECORD (S) command 79 11.3.9 ACTIVATE RECORD (s) command . 80 11.3.10 DEACTIVATE RECORD (s) command . 80 11.3.11 CO
24、MPARE RECORD function 81 11.4 Data object handling . 81 11.4.1 General . 81 11.4.2 SELECT DATA command 82 11.4.3 GET DATA/GET NEXT DATA commands - even INS code 86 11.4.4 GET DATA/GET NEXT DATA command - odd INS codes . 87 11.4.5 General properties of PUT/PUT NEXT/UPDATE DATA commands 89 11.4.6 PUT
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BSISOIEC781642013IDENTIFICATIONCARDSINTEGRATEDCIRCUITCARDSORGANIZATIONSECURITYANDCOMMANDSFORINTERCHANGE

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