ETSI TS 102 221 V11.1.0 (2013-11)
Smart Cards; UICC-Terminal interface; Physical and logical characteristics (Release 11)
Smart Cards; UICC-Terminal interface; Physical and logical characteristics (Release 11)
RTS/SCP-T102221vb10
General Information
Standards Content (Sample)
ETSI TS 102 221 V11.1.0 (2013-11)
Technical Specification
Smart Cards;
UICC-Terminal interface;
Physical and logical characteristics
(Release 11)
---------------------- Page: 1 ----------------------
Release 11 2 ETSI TS 102 221 V11.1.0 (2013-11)
Reference
RTS/SCP-T102221vb10
Keywords
smart card
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE
Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88
Important notice
Individual copies of the present document can be downloaded from:
http://www.etsi.org
The present document may be made available in more than one electronic version or in print. In any case of existing or
perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF).
In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive
within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
http://portal.etsi.org/tb/status/status.asp
If you find errors in the present document, please send your comment to one of the following services:
http://portal.etsi.org/chaircor/ETSI_support.asp
Copyright Notification
No part may be reproduced except as authorized by written permission.
The copyright and the foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 2013.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are Trade Marks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
GSM® and the GSM logo are Trade Marks registered and owned by the GSM Association.
ETSI
---------------------- Page: 2 ----------------------
Release 11 3 ETSI TS 102 221 V11.1.0 (2013-11)
Contents
Intellectual Property Rights . 11
Foreword . 11
Introduction . 11
1 Scope . 12
2 References . 12
2.1 Normative references . 12
2.2 Informative references . 13
3 Definitions, symbols, abbreviations and coding conventions . 14
3.1 Definitions . 14
3.2 Symbols . 16
3.3 Abbreviations . 16
3.4 Coding conventions . 18
4 Physical characteristics. 18
4.0 UICC Form Factors . 18
4.0.1 ID-1 UICC . 18
4.0.2 Plug-in UICC . 19
4.0.3 Mini-UICC . 19
4.0.4 4FF . 20
4.1 ID-1 UICC . 21
4.2 Plug-in UICC . 21
4.3 Mini-UICC . 21
4.4 Environmental conditions for card operation and storage . 21
4.4.1 Specific UICC environmental conditions . 21
4.4.1.1 Temperature range for specific UICC environmental conditions. 22
4.4.1.2 High humidity . 22
4.5 Contacts . 22
4.5.1 Provision of contacts . 22
4.5.1.1 Terminal . 22
4.5.1.2 UICC . 22
4.5.2 Contact activation and deactivation . 22
4.5.2.1 Contacts assigned by the present document . 22
4.5.2.2 Optional contacts . 23
4.5.3 Inactive contacts . 23
4.5.4 Contact pressure . 23
5 Electrical specifications of the UICC - Terminal interface . 23
5.1 Class A operating conditions . 24
5.1.1 Supply voltage Vcc (contact C1) . 24
5.1.2 Reset (RST) (contact C2) . 24
5.1.3 Programming voltage Vpp (contact C6) . 24
5.1.4 Clock CLK (contact C3) . 25
5.1.5 I/O (contact C7) . 25
5.2 Class B operating conditions . 25
5.2.1 Supply voltage Vcc (contact C1) . 25
5.2.2 Reset (RST) (contact C2) . 26
5.2.3 Clock CLK (contact C3) . 26
5.2.4 I/O (contact C7) . 26
5.3 Class C operating conditions . 27
5.3.1 Supply voltage Vcc (contact C1) . 27
5.3.2 Reset (RST) (contact C2) . 27
5.3.3 Clock CLK (contact C3) . 28
5.3.4 I/O (contact C7) . 28
6 Initial communication establishment procedures . 28
6.1 UICC activation and deactivation. 28
ETSI
---------------------- Page: 3 ----------------------
Release 11 4 ETSI TS 102 221 V11.1.0 (2013-11)
6.2 Supply voltage switching . 29
6.2.1 Supply voltage classes . 29
6.2.2 Power consumption of the UICC during ATR . 29
6.2.3 Application related electrical parameters . 30
6.3 Answer To Reset content . 30
6.3.1 Coding of historical bytes . 31
6.3.2 Speed enhancement. 31
6.3.3 Global Interface bytes . 31
6.4 PPS procedure . 32
6.5 Reset procedures . 32
6.5.1 Cold reset . 32
6.5.2 Warm reset . 32
6.5.3 Reaction to resets . 33
6.6 Clock stop mode . 33
6.7 Bit/character duration and sampling time . 33
6.8 Error handling . 33
6.9 Compatibility . 34
7 Transmission protocols. 34
7.1 Physical layer . 35
7.2 Data link layer . 35
7.2.1 Character frame . 35
7.2.1.1 Low impedance I/O line behaviour . 36
7.2.2 Transmission protocol T = 0 . 36
7.2.2.1 Timing and specific options for characters in T = 0 . 36
7.2.2.2 Command header . 36
7.2.2.3 Command processing . 37
7.2.2.3.1 Procedure bytes . 37
7.2.2.3.2 Status bytes . 37
7.2.2.4 Error detection and correction . 37
7.2.3 Transmission protocol T = 1 . 38
7.2.3.1 Timing and specific options for blocks sent with T = 1 . 38
7.2.3.1.1 Information field size . 38
7.2.3.1.2 Character waiting integer. 38
7.2.3.1.3 Character waiting time . 38
7.2.3.1.4 Block waiting time . 39
7.2.3.1.5 Block guard time . 39
7.2.3.1.6 Waiting time extension . 39
7.2.3.1.7 Error detection code . 39
7.2.3.2 Block frame structure . 39
7.2.3.2.1 Prologue field . 40
7.2.3.2.2 Epilogue field . 41
7.2.3.2.3 Block notations . 41
7.2.3.3 Error free operation . 42
7.2.3.4 Error handling for T = 1 . 42
7.2.3.4.1 Protocol initialization . 43
7.2.3.4.2 Block dependent errors . 43
7.2.3.5 Chaining . 43
7.2.3.5.1 Rules for chaining. 44
7.3 Transport layer . 44
7.3.1 Transportation of an APDU using T = 0 . 44
7.3.1.1 Mapping of APDUs to TPDUs . 44
7.3.1.1.1 Case 1 . 45
7.3.1.1.2 Case 2 . 45
7.3.1.1.3 Case 3 . 46
7.3.1.1.4 Case 4 . 47
7.3.1.1.5 Use of procedure bytes '61xx' and '6Cxx' . 48
7.3.2 Transportation of a APDU using T = 1 . 49
7.3.2.1 Case 1 . 49
7.3.2.2 Case 2 . 49
7.3.2.3 Case 3 . 50
7.3.2.4 Case 4 . 50
ETSI
---------------------- Page: 4 ----------------------
Release 11 5 ETSI TS 102 221 V11.1.0 (2013-11)
7.4 Application layer . 50
7.4.1 Exchange of APDUs . 51
7.4.2 CAT layer . 51
7.4.2.1 Proactive command . 51
7.4.2.2 ENVELOPE Commands . 52
8 Application and file structure . 53
8.1 UICC application structure . 53
8.2 File types . 53
8.2.1 Dedicated files . 53
8.2.2 Elementary files . 54
8.2.2.1 Transparent EF . 54
8.2.2.2 Linear fixed EF . 54
8.2.2.3 Cyclic EF . 54
8.2.2.4 BER-TLV structure EF . 55
8.3 File referencing . 55
8.4 Methods for selecting a file . 55
8.4.1 SELECT by File IDentifier referencing . 56
8.4.2 SELECT by path referencing . 57
8.4.3 Short File Identifier (SFI) . 58
8.5 Application characteristics . 58
8.5.1 Explicit application selection . 58
8.5.1.1 SELECT by DF name . 58
8.5.1.2 SELECT by partial DF name . 59
8.5.2 Application session activation . 59
8.5.3 Application session termination . 59
8.5.4 Application session reset . 60
8.5.5 Void . 60
8.6 Reservation of file IDs . 60
8.7 Logical channels . 61
8.8 Shareable versus not-shareable files . 62
8.9 Secure channels . 62
9 Security features . 63
9.1 Supported security features . 63
9.2 Security architecture . 63
9.2.1 Security attributes . 64
9.2.2 Access mode . 64
9.2.3 Security condition . 64
9.2.4 Access rules . 64
9.2.5 Compact format . 65
9.2.6 Expanded format . 65
9.2.7 Access rule referencing . 66
9.3 Security environment . 66
9.3.1 Definition of the security environment . 67
9.3.2 Logical Channels and Security Environment . 67
9.4 PIN definitions . 68
9.4.1 Universal PIN . 68
9.4.2 Application PIN . 68
9.4.3 Local PIN . 68
9.4.4 PINs and logical channels . 68
9.5 PIN and key reference relation ship . 69
9.5.1 Access condition mapping . 69
9.5.2 PIN status indication . 70
10 Structure of commands and responses . 71
10.1 Command APDU structure. 71
10.1.1 Coding of Class Byte . 72
10.1.2 Coding of Instruction Byte . 73
10.1.3 Coding of parameter bytes . 74
10.1.4 Coding of Lc byte .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.