Identification cards - Integrated circuit cards — Part 12: Cards with contacts — USB electrical interface and operating procedures

ISO/IEC 7816-12:2005 specifies the operating conditions of an integrated circuit card that provides a USB interface. An integrated circuit card with a USB interface is named USB-ICC. ISO/IEC 7816-12:2005 specifies the electrical conditions when a USB-ICC is operated by an interface device - for those contact fields that are not used, when the USB interface is applied; the USB standard descriptors and the USB-ICC class specific descriptor; the data transfer between host and USB-ICC using bulk transfers or control transfers; the control transfers which allow two different protocols named version A and version B; the (optional) interrupt transfers to indicate asynchronous events; status and error conditions. ISO/IEC 7816-12:2005 provides two protocols for control transfers. This is to support the protocol T=0 (version A) or to use the transfer on APDU level (version B). ISO/IEC 7816-12:2005 provides the state diagrams for the USB-ICC for each of the transfers (bulk transfers, control transfers version A and version B). Examples of possible sequences which the USB-ICC must be able to handle are given in an informative annex.

Cartes d'identification — Cartes à circuit intégré — Partie 12: Cartes à contacts — Interface électrique USB et procédures de fonctionnement

General Information

Status
Published
Publication Date
03-Oct-2005
Current Stage
9093 - International Standard confirmed
Start Date
19-Mar-2024
Completion Date
19-Apr-2025
Ref Project
Standard
ISO/IEC 7816-12:2005 - Identification cards - Integrated circuit cards
English language
50 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


INTERNATIONAL ISO/IEC
STANDARD 7816-12
First edition
2005-10-01
Identification cards — Integrated circuit
cards —
Part 12:
Cards with contacts — USB electrical
interface and operating procedures
Cartes d'identification — Cartes à circuit intégré —
Partie 12: Cartes à contacts — Interface électrique USB et procédures
de fonctionnement
Reference number
©
ISO/IEC 2005
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's 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 Adobe's 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 relative 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/IEC 2005
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
ISO's 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 copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO/IEC 2005 – All rights reserved

Contents Page
Foreword. iv
Introduction . v
1 Scope. 1
2 Normative references. 2
3 Terms and definitions. 2
3.1 Device. 2
3.2 Terms and definitions used in other specifications.2
4 Abbreviations and notation . 2
5 Electrical characteristics of the contacts. 3
6 USB-ICC operated by an interface device. 3
7 USB Descriptors. 4
7.1 Standard Descriptors. 4
7.1.1 The Standard Device Descriptor . 4
7.1.2 The Standard Configuration Descriptor . 5
7.1.3 The Standard Interface Descriptor. 6
7.1.4 The Standard Endpoint Descriptors . 7
7.2 The Class Specific Descriptor . 8
8 Data transfer between host and USB-ICC .10
8.1 Bulk transfers. 10
8.1.1 Bulk messages. 10
8.1.2 ATR and transmission of data. 13
8.1.3 Status and error conditions. 15
8.2 Control transfers. 16
8.2.1 Version A. 16
8.2.2 Version B. 23
8.3 Interrupt transfers. 29
8.3.1 Virtual insertion/removal event. 29
Annex A (informative) Notation for the state diagrams. 30
Annex B (informative) Scenarios for USB transfers . 31
Annex C (informative) Terms and definitions in the USB specification . 45
Annex D (informative) Class specific descriptor Smart Card device class. 46
Bibliography . 50

© ISO/IEC 2005 – All rights reserved iii

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 technical 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 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 International 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 of 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 7816-12 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology,
Subcommittee SC 17, Cards and personal identification.
ISO/IEC 7816 consists of the following parts, under the general title Identification cards — Integrated circuit
cards:
— Part 1: Cards with contacts — Physical characteristics
— Part 2: Cards with contacts — Dimensions and location of the contacts
— Part 3: Cards with contacts — Electrical interface and transmission protocols
— Part 4: Organization, security and commands for interchange
— Part 5: Registration of application providers
— Part 6: Interindustry data elements for interchange
— Part 7: Interindustry commands for Structured Card Query Language (SCQL)
— Part 8: Commands for security operations
— Part 9: Commands for card management
— Part 10: Cards with contacts — Electronic signals and answer to reset for synchronous cards
— Part 11: Personal verification through biometric methods
— Part 12: Cards with contacts — USB electrical interface and operating procedures
— Part 15: Cryptographic information application
[2] [3] [4]
ISO/IEC 10536 specifies access by close coupling. ISO/IEC 14443 and 15693 specify access by radio
frequency. Such cards are also known as contactless cards.
iv © ISO/IEC 2005 – All rights reserved

Introduction
ISO/IEC 7816 is a series of documents specifying integrated circuit cards and the use of such cards for
interchange. These cards are identification cards intended for information exchange negotiated between the
outside world and the integrated circuit in the card. As a result of an information exchange, the card delivers
information (computation result, stored data), and / or modifies its content (data storage, event memorization).
 Five parts are specific to cards with galvanic contacts and three of them specify electrical interfaces.
• ISO/IEC 7816-1 specifies physical characteristics for cards with contacts.
• ISO/IEC 7816-2 specifies dimensions and location of the contacts.
• ISO/IEC 7816-3 specifies electrical interface and transmission protocols for asynchronous cards.
• ISO/IEC 7816-10 specifies electrical interface and answer to reset for synchronous cards.
• ISO/IEC 7816-12 specifies electrical interface and operating procedures for USB cards.
 All the other parts are independent from the physical interface technology. They apply to cards accessed
by contacts and / or by radio frequency.
• ISO/IEC 7816-4 specifies organization, security and commands for interchange.
• ISO/IEC 7816-5 specifies registration of application providers.
• ISO/IEC 7816-6 specifies interindustry data elements for interchange.
• ISO/IEC 7816-7 specifies commands for structured card query language.
• ISO/IEC 7816-8 specifies commands for security operations.
• ISO/IEC 7816-9 specifies commands for card management.
• ISO/IEC 7816-11 specifies personal verification through biometric methods.
• ISO/IEC 7816-15 specifies cryptographic information application.
The International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC)
draw attention to the fact that it is claimed that compliance with this document may involve the use of the
following patents:
WO 00/16255, Data transmission method and card therefor, 23 March 2000
Declared for ISO/IEC 7816-2
WO 01/69881, A method of communication between a smart card and a host station, 20 September 2001
WO 01/57684 A1, Conveying protocol units for portable electronic objects via a protocol for microcomputer
peripherals, 9 August 2001
0001399 / France, Transport d'unités de protocole d'objet électronique portable par protocole pour
péripheriques de micro-ordinateur
09/775668 / USA, Conveying protocol units for portable electronic objects via a protocol for microcomputer
peripherals
© ISO/IEC 2005 – All rights reserved v

1904043 / Europe, Transport d'unités de protocole d'objet électronique portable par protocole pour
péripheriques de micro-ordinateur
1804474 / China, Conveying protocol units for portable electronic objects via a protocol for microcomputer
peripherals
PCT / FR01 / 00326, Transport d'unités de protocole d'objet électronique portable par protocole pour
péripheriques de micro-ordinateur
US 6148354, Architecture for a universal serial bus-based PC flash disk
US 6763399, USB key apparatus for interacting with a USB host via a USB port
ISO and IEC take no position concerning the evidence, validity and scope of these patent rights.
The holders of these patent rights have assured the ISO and IEC that they are willing to negotiate licences
under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this
respect, the statements of the holders of these patent rights are registered with the ISO and IEC. Information
may be obtained from:
Contact Patent number
Schlumberger Systèmes, France WO 00/16255
WO 01/69881
GEMPLUS, France WO 01/57684 A1
0001399 / France / Granted
09/775668 / USA / Pending
1904043 / Europe / Pending
1804474 / China / Pending
PCT / FR01 / 00326 / Pending
M-Systems, Israel US 6148354
Aladdin Knowledge Systems, USA US 6763399
Infineon Technologies has not identified any patents but confirms that it is prepared to license its patents, both
granted and pending, which may be deemed necessary to manufacture, use, and sell implementations of
ISO/IEC 7816-12 on reasonable and non-discretionary terms and conditions.
The following companies may hold patents relating to this part of ISO/IEC 7816 but have not provided details
of the patents or agreed to provide licenses:
Orga Kartensysteme GmbH, Germany AU 752627
Renesas, Japan US 20050052924
US 20040070952
ST Microelectronics US 6769622
WO 02/317161
Attention is drawn to the possibility that some elements of the document may be the subject of patent rights
other than those identified above. ISO and IEC shall not be held responsible for identifying any or all such
patent rights.
vi © ISO/IEC 2005 – All rights reserved

INTERNATIONAL STANDARD ISO/IEC 7816-12:2005(E)

Identification cards — Integrated circuit cards —
Part 12:
Cards with contacts — USB electrical interface and operating
procedures
1 Scope
This part of ISO/IEC 7816 specifies the operating conditions of an integrated circuit card that provides a USB
interface. Figure 1 shows the assignment of the contact fields for a USB interfac
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.