# ISO/IEC 7816

ISO/IEC 7816 is an international standard related to electronic identification cards with contacts, especially smart cards, and more recently, contactless mobile devices, managed jointly by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC).
It is developed by ISO/IEC JTC 1 (Joint Technical Committee 1) / SC 17 (Subcommittee 17).
The following describes the different parts of this standard.
    Note: abstracts and dates, when present, are mere quotations from the ISO website, and are neither guaranteed at the time of edition nor in the future.

## Parts

* ISO/IEC 7816-1:2011 Part 1: Cards with contacts—Physical characteristics
* ISO/IEC 7816-2:2007 Part 2: Cards with contacts—Dimensions and location of the contacts
* ISO/IEC 7816-3:2006 Part 3: Cards with contacts—Electrical interface and transmission protocols
* ISO/IEC 7816-4:2013 Part 4: Organization, security and commands for interchange
* ISO/IEC 7816-5:2004 Part 5: Registration of application providers
* ISO/IEC 7816-6:2016 Part 6: Interindustry data elements for interchange
* ISO/IEC 7816-7:1999 Part 7: Interindustry commands for Structured Card Query Language (SCQL)
* ISO/IEC 7816-8:2016 Part 8: Commands and mechanisms for security operations
* ISO/IEC 7816-9:2017 Part 9: Commands for card management
* ISO/IEC 7816-10:1999 Part 10: Electronic signals and answer to reset for synchronous cards
* ISO/IEC 7816-11:2017 Part 11: Personal verification through biometric methods
* ISO/IEC 7816-12:2005 Part 12: Cards with contacts—USB electrical interface and operating procedures
* ISO/IEC 7816-13:2007 Part 13: Commands for application management in a multi-application environment
* ISO/IEC 7816-15:2016 Part 15: Cryptographic information application

## 7816-1: Cards with contacts — Physical characteristics

Created in 1987, updated in 1998, amended in 2003, updated in 2011.
This part describes the physical characteristics of the card, primarily by reference to ISO/IEC 7810 Identification cards — Physical characteristics, but also with other characteristics such as mechanical strength.

## 7816-2: Cards with contacts — Dimensions and location of the contacts

Created in 1988, updated in 1999, amended in 2004, updated in 2007. The standard defines an eight (or six) pin interface; the first pin is located at the bottom-right corner for the image given. Pins 4 and 8 are occasionally omitted.
ISO/IEC 7816-2 pinout :
| Pin # | Name | Description |
| 1 | VCC | +5 V or 3.3 V DC |
| 2 | Reset | Card Reset (Optional) |
| 3 | CLOCK | Card Clock |
| 4 | AS | Application Specific |
| 5 | GND | Ground |
| 6 | VPP | +21 V DC [Programming], or NC |
| 7 | I/O | In/out [Data] |
| 8 | AS | Application Specific |

## 7816-3: Cards with contacts — Electrical interface and transmission protocols

Created in 1989, amended in 1992 (addition of the T=1 protocol), amended in 1994 (revision of Protocol Type Selection), updated in 1997 (including addition of 3 volt operation), amended in 2002 (including addition of 1.8 volt operation), last updated in 2006 (including removal of Vpp).

## 7816-4: Organization, security and commands for interchange

This part describes the smart card APDU protocol used by many smart card and contactless devices, like EMV payment cards, and forms the basis of CCID protocol for security token devices. Many devices operate within the proprietary part of the protocol, using the standardized part for establishing the initial communication before switching to application specific exchange of data.
Created in 1995, updated in 2005, 2013 and 2020. Amended in 2023.
According to its abstract, it specifies:
* contents of command-response pairs exchanged at the interface,
* means of retrieval of data elements and data objects in the card,
* structures and contents of historical bytes to describe operating characteristics of the card,
* structures for applications and data in the card, as seen at the interface when processing commands,
* access methods to files and data in the card,
* a security architecture defining access rights to files and data in the card,
* means and mechanisms for identifying and addressing applications in the card,
* methods for secure messaging,
* access methods to the algorithms processed by the card. It does not describe these algorithms.
It does not cover the internal implementation within the card or the outside world.
ISO/IEC 7816-4:2020 is independent of the physical interface technology, and applies equally to contact cards, proximity cards and vicinity cards.

## 7816-5: Registration of application providers

Created in 1995, updated in 2004. This part is maintained by Danish Standards.
According to its abstract, ISO/IEC 7816-5 defines how to use an application identifier to ascertain the presence of and/or perform the retrieval of an application in a card.
ISO/IEC 7816-5:2004 shows how to grant the uniqueness of application identifiers through the international registration of a part of this identifier, and defines
* the registration procedure,
* the authorities in charge thereof,
* the availability of the register which links the registered parts of the identifiers and the relevant application providers.

## 7816-6: Interindustry data elements for interchange

Created in 1996, updated in 2004, amended in 2006, updated in 2016 and 2023. This part is maintained by Deutsches Institut für Normung (DIN).
According to its abstract, it specifies the Data Elements (DEs) used for interindustry interchange based on integrated circuit cards (ICCs) both with contacts and without contacts. It gives the identifier, name, description, format, coding and layout of each DE and defines the means of retrieval of DEs from the card.

## 7816-7: Interindustry commands for Structured Card Query Language (SCQL)

Created in 1999.

## 7816-8: Commands and mechanisms for security operations

Created in 1995, updated in 2004, 2016, 2019, and 2021.
According to its abstract, it specifies interindustry commands for integrated circuit cards (either with contacts or without contacts) that may be used for cryptographic operations. These commands are complementary to and based on the commands listed in ISO/IEC 7816-4.
Annexes are provided that give examples of operations related to digital signatures, certificates and the import and export of asymmetric keys.
The choice and conditions of use of cryptographic mechanisms may affect card exportability. The evaluation of the suitability of algorithms and protocols is outside the scope of ISO/IEC 7816-8.

## 7816-9: Commands for card management

Created in 1995, updated in 2004, updated in 2017.
According to its abstract, it specifies interindustry commands for integrated circuit cards (both with contacts and without contacts) for card and file management, e.g. file creation and deletion. These commands cover the entire life cycle of the card and therefore some commands may be used before the card has been issued to the cardholder or after the card has expired.
An annex is provided that shows how to control the loading of data (secure download) into the card, by means of verifying the access rights of the loading entity and protection of the transmitted data with secure messaging. The loaded data may contain, for example, code, keys and applets.

## 7816-10: Electronic signals and answer to reset for synchronous cards

Created in 1999.
This part specifies the power, signal structures, and the structure for the answer to reset between an integrated circuit card(s) with synchronous transmission and an interface device such as a terminal.

## 7816-11 Personal verification through biometric methods

Created in 2004, updated in 2017.
This part of ISO/IEC 7816 specifies security-related interindustry commands to be used for personal verification through biometric methods in integrated circuit cards. It also defines the data structure and data access methods for use of the card as a carrier of the biometric reference and/or as the device to perform the verification of the cardholder’s biometric probe (on-card biometric comparison). Identification of persons using biometric methods is outside the scope of this standard.

## 7816-12 Cards with contacts — USB electrical interface and operating procedures

Created in 2005.
According to its abstract, it 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.
The USB CCID device class defines a standard for communicating with ISO/IEC 7816 smart cards over USB.

## 7816-13: Commands for application management in multi-application environment

This part specifies commands for application management in a multi-application environment.

## 7816-15: Cryptographic information application

Created in 2004 (based on PKCS #15 v1.1 with the non IC relevant parts removed), amended in 2004, 2007, 2008, updated in 2016.
According to its abstract, it specifies a card application. This application contains information on cryptographic functionality. Further, ISO/IEC 7816-15:2016 defines a common syntax (in ASN.1) and format for the cryptographic information and mechanisms to share this information whenever appropriate.
ISO/IEC 7816-15:2016 supports the following capabilities:
* storage of multiple instances of cryptographic information in a card;
* use of the cryptographic information;
* retrieval of the cryptographic information;
* cross-referencing of the cryptographic information with DOs defined in ISO/IEC 7816 when appropriate;
* different authentication mechanisms; and
* multiple cryptographic algorithms.