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 edited by the Joint technical committee (JTC) 1 / Sub-Committee (SC) 17, Cards and personal identification.[1]

The following describes the different parts of this standard.

Note: abstracts and dates, when present, are mere quotations from the ISO website,[2] 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.[3]

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

Four example SIM card sizes that use the ISO/IEC 7816 interface.

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.[4]

ISO/IEC 7816-2 pinout
Pin # Pin name Pin Description
1 VCC +5v or 3.3v DC
2 Reset Card Reset (Optional)
3 CLOCK Card Clock
4 AS Application Specific
5 GND Ground
6 VPP +21v 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).[5]

7816-4: Organization, security and commands for interchange

Created in 1995, updated in 2005, 2013 and 2020.[6]

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.[7]

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.[8]

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.[9]

7816-8: Commands and mechanisms for security operations

Created in 1995, updated in 2004, updated in 2016.[10]

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.[11]

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.[12]

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.[13]

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.[14]

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.[15]

7816-15: Cryptographic information application

Created in 2004, amended in 2004, 2007, 2008, updated in 2016.[16]

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.
gollark: Although https://casket.tmpim.pw/ appears to not work.
gollark: Neat.
gollark: I switched from caddy v1 to nginx some time ago because they were pushing caddy v2 a lot, but it was actually bad.
gollark: Sure.
gollark: I will soon be initiating joining. None will be safe.

See also

  • ISO/IEC 14443, a proximity card standard related to smart cards, on a different physical communication support.
  • ISO/IEC 15693, a vicinity card standard related to smart cards, on a different physical communication support.
  • List of ISO standards
  • Smart card

References

  1. "ISO/IEC JTC 1/SC 17 Cards and security devices for personal identification". Iso.org. Retrieved 2017-10-11.
  2. "Browse by ICS". www.iso.org. Retrieved 19 April 2018.
  3. "ISO/IEC 7816-1:2011 Identification cards — Integrated circuit cards — Part 1: Cards with contacts — Physical characteristics". Iso.org. 2011-01-31. Retrieved 2017-10-11.
  4. "ISO/IEC 7816-2:2007 Identification cards — Integrated circuit cards — Part 2: Cards with contacts — Dimensions and location of the contacts". Iso.org. 2007-10-11. Retrieved 2017-10-11.
  5. "ISO/IEC 7816-3:2006 Identification cards — Integrated circuit cards — Part 3: Cards with contacts — Electrical interface and transmission protocols". Iso.org. 2006-10-30. Retrieved 2017-10-11.
  6. "ISO/IEC 7816-4:2020 Identification cards — Integrated circuit cards — Part 4: Organization, security and commands for interchange". Iso.org. May 2020. Retrieved 2020-08-05.
  7. "ISO/IEC 7816-5:2004 Identification cards — Integrated circuit cards — Part 5: Registration of application providers". Iso.org. 2010-03-17. Retrieved 2017-10-11.
  8. "ISO/IEC 7816-6:2016 Identification cards — Integrated circuit cards — Part 6: Interindustry data elements for interchange". Iso.org. 2016-06-14. Retrieved 2017-10-11.
  9. "ISO/IEC 7816-7:1999 Identification cards — Integrated circuit(s) cards with contacts — Part 7: Interindustry commands for Structured Card Query Language (SCQL)". Iso.org. 2010-06-17. Retrieved 2017-10-11.
  10. "ISO/IEC 7816-8:2016 Identification cards — Integrated circuit cards — Part 8: Commands and mechanisms for security operations". Iso.org. 2016-11-01. Retrieved 2017-10-11.
  11. "ISO/IEC 7816-9:2017 Identification cards — Integrated circuit cards — Part 9: Commands for card management". Iso.org. 2017-12-07. Retrieved 2018-01-04.
  12. "ISO/IEC 7816-10:1999 Identification cards — Integrated circuit(s) cards with contacts — Part 10: Electronic signals and answer to reset for synchronous cards". Iso.org. 2010-06-17. Retrieved 2017-10-11.
  13. "ISO/IEC 7816-11:2007 Identification cards — Integrated circuit cards — Part 11: Personal verification through biometric methods". Iso.org. 2017-12-01. Retrieved 2018-01-04.
  14. "ISO/IEC 7816-12:2005 Identification cards — Integrated circuit cards — Part 12: Cards with contacts — USB electrical interface and operating procedures". Iso.org. 2011-03-17. Retrieved 2017-10-11.
  15. "ISO/IEC 7816-13:2007 Identification cards — Integrated circuit cards — Part 13: Commands for application management in a multi-application environment". Iso.org. 2007-03-09. Retrieved 2017-10-11.
  16. "ISO/IEC 7816-15:2016 Identification cards — Integrated circuit cards — Part 15: Cryptographic information application". Iso.org. 2016-05-09. Retrieved 2017-10-11.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.