ETSI TS 102 221 V15.3.0 (2019-07)
Smart Cards; UICC-Terminal interface; Physical and logical characteristics (Release 15)
Smart Cards; UICC-Terminal interface; Physical and logical characteristics (Release 15)
RTS/SCP-T102221vf30
General Information
Standards Content (Sample)
TECHNICAL SPECIFICATION
Smart Cards;
UICC-Terminal interface;
Physical and logical characteristics
(Release 15)
Release 15 2 ETSI TS 102 221 V15.3.0 (2019-07)
Reference
RTS/SCP-T102221vf30
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
The present document can be downloaded from:
http://www.etsi.org/standards-search
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the prevailing version of an ETSI
deliverable is the one made publicly available in PDF format at www.etsi.org/deliver.
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
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.
© ETSI 2019.
All rights reserved.
DECT™, PLUGTESTS™, UMTS™ and the ETSI logo are trademarks of ETSI registered for the benefit of its Members.
3GPP™ and LTE™ are trademarks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
oneM2M™ logo is a trademark of ETSI registered for the benefit of its Members and
of the oneM2M Partners. ®
GSM and the GSM logo are trademarks registered and owned by the GSM Association.
ETSI
Release 15 3 ETSI TS 102 221 V15.3.0 (2019-07)
Contents
Intellectual Property Rights . 12
Foreword . 12
Modal verbs terminology . 12
Introduction . 13
1 Scope . 14
2 References . 14
2.1 Normative references . 14
2.2 Informative references . 16
3 Definition of terms, symbols, abbreviations and coding conventions . 16
3.1 Terms . 16
3.2 Symbols . 18
3.3 Abbreviations . 19
3.4 Coding conventions . 21
4 Physical characteristics. 21
4.0 UICC Form Factors . 21
4.0.0 Generic requirements . 21
4.0.1 ID-1 UICC . 21
4.0.2 Plug-in UICC . 21
4.0.3 Mini-UICC . 22
4.0.4 4FF . 23
4.1 ID-1 UICC . 24
4.2 Plug-in UICC . 24
4.3 Mini-UICC . 24
4.4 Environmental conditions for card operation and storage . 24
4.4.0 Standard UICC environmental conditions . 24
4.4.1 Specific UICC environmental conditions . 25
4.4.1.0 Specific UICC environmental conditions indication . 25
4.4.1.1 Temperature range for specific UICC environmental conditions. 25
4.4.1.2 High humidity . 25
4.5 Contacts . 25
4.5.1 Provision of contacts . 25
4.5.1.1 Terminal . 25
4.5.1.2 UICC . 25
4.5.2 Contact activation and deactivation . 26
4.5.2.1 Contacts assigned by the present document . 26
4.5.2.2 Optional contacts . 26
4.5.3 Inactive contacts . 26
4.5.4 Contact pressure . 26
5 Electrical specifications of the UICC - Terminal interface . 27
5.0 General requirements . 27
5.1 Class A operating conditions . 27
5.1.1 Supply voltage Vcc (contact C1) . 27
5.1.2 Reset (RST) (contact C2) . 28
5.1.3 Programming voltage Vpp (contact C6) . 28
5.1.4 Clock CLK (contact C3) . 28
5.1.5 I/O (contact C7) . 29
5.2 Class B operating conditions . 29
5.2.1 Supply voltage Vcc (contact C1) . 29
5.2.2 Reset (RST) (contact C2) . 30
5.2.3 Clock CLK (contact C3) . 30
5.2.4 I/O (contact C7) . 30
5.3 Class C operating conditions . 31
5.3.1 Supply voltage Vcc (contact C1) . 31
ETSI
Release 15 4 ETSI TS 102 221 V15.3.0 (2019-07)
5.3.2 Reset (RST) (contact C2) . 31
5.3.3 Clock CLK (contact C3) . 31
5.3.4 I/O (contact C7) . 32
6 Initial communication establishment procedures . 32
6.1 UICC activation and deactivation. 32
6.2 Supply voltage switching . 32
6.2.0 UICC activation voltage . 32
6.2.1 Supply voltage classes . 33
6.2.2 Power consumption of the UICC during ATR . 33
6.2.3 Application related electrical parameters . 33
6.3 Answer To Reset content . 34
6.3.0 Introduction. 34
6.3.1 Coding of historical bytes . 34
6.3.2 Speed enhancement. 34
6.3.3 Global Interface bytes . 35
6.4 PPS procedure . 35
6.5 Reset procedures . 36
6.5.1 Cold reset . 36
6.5.2 Warm reset . 36
6.5.3 Reaction to resets . 36
6.6 Clock stop mode . 36
6.7 Bit/character duration and sampling time . 36
6.8 Error handling . 37
6.9 Compatibility . 37
7 Transmission protocols. 37
7.0 Introduction . 37
7.1 Physical layer . 38
7.2 Data link layer . 38
7.2.0 Introduction. 38
7.2.1 Character frame . 39
7.2.1.0 Structure, coding and timing . 39
7.2.1.1 Low impedance I/O line behaviour . 39
7.2.2 Transmission protocol T = 0 . 40
7.2.2.0 Introduction . 40
7.2.2.1 Timing and specific options for characters in T = 0 . 40
7.2.2.2 Command header . 40
7.2.2.3 Command processing . 40
7.2.2.3.0 General description . 40
7.2.2.3.1 Procedure bytes . 40
7.2.2.3.2 Status bytes . 41
7.2.2.4 Error detection and correction . 41
7.2.3 Transmission protocol T = 1 . 41
7.2.3.0 Introduction . 41
7.2.3.1 Timing and specific options for blocks sent with T = 1 . 42
7.2.3.1.0 Introduction . 42
7.2.3.1.1 Information field size . 42
7.2.3.1.2 Character waiting integer. 42
7.2.3.1.3 Character waiting time . 42
7.2.3.1.4 Block waiting time . 42
7.2.3.1.5 Block guard time . 42
7.2.3.1.6 Waiting time extension . 43
7.2.3.1.7 Error detection code . 43
7.2.3.2 Block frame structure . 43
7.2.3.2.0 Overall structure . 43
7.2.3.2.1 Prologue field . 43
7.2.3.2.2 Epilogue field . 45
7.2.3.2.3 Block notations . 45
7.2.3.3 Error free operation . 46
7.2.3.4 Error handling for T = 1 . 46
7.2.3.4.0 General description . 46
ETSI
Release 15 5 ETSI TS 102 221 V15.3.0 (2019-07)
7.2.3.4.1 Protocol initialization . 47
7.2.3.4.2 Block dependent errors . 47
7.2.3.5 Chaining . 47
7.2.3.5.0 Chaining Mechanism . 47
7.2.3.5.1 Rules for chaining. 48
7.3 Transport layer . 48
7.3.0 Introduction. 48
7.3.1 Transportation of an APDU using T = 0 . 48
7.3.1.0 Introduction . 48
7.3.1.1 Mapping of APDUs to TPDUs . 48
7.3.1.1.0 General behaviour . 48
7.3.1.1.1 Case 1 . 49
7.3.1.1.2 Case 2 . 49
7.3.1.1.3 Case 3 . 50
7.3.1.1.4 Case 4 . 51
7.3.1.1.5 Use of procedure bytes '61xx' and '6Cxx' . 52
7.3.2 Transportation of a APDU using T = 1 . 53
7.3.2.0 General mechanism . 53
7.3.2.1 Case 1 . 53
7.3.2.2 Case 2 . 53
7.3.2.3 Case 3 . 54
7.3.2.4 Case 4 . 54
7.4 Application layer . 54
7.4.0 Overall description . 54
7.4.1 Exchange of APDUs . 55
7.4.2 CAT layer . 55
7.4.2.0 Overview . 55
7.4.2.1 Proactive command . 55
7.4.2.2 ENVELOPE Commands . 56
7.4.3 Application execution . 56
8 Application and file structure . 57
8.1 UICC application structure . 57
8.2 File types . 57
8.2.0 Introduction. 57
8.2.1 Dedicated files . 58
8.2.2 Elementary files . 58
8.2.2.1 Transparent EF . 58
8.2.2.2 Linear fixed EF . 58
8.2.2.3 Cyclic EF . 58
8.2.2.4 BER-TLV structure EF . 59
8.3 File referencing . 59
8.4 Methods for selecting a file . 59
8.4.0 Default state after UICC activation and ATR . 59
8.4.1 SELECT by File Identifier referencing . 60
8.4.2 SELECT by path referencing . 61
8.4.3 Short File Identifier (SFI) . 62
8.5 Application characteristics . 62
8.5.0 Application selection types . 62
8.5.1 Explicit application selection . 62
8.5.1.1 SELECT by DF name . 62
8.5.1.2 SELECT by partial DF name . 63
8.5.2 Application session activation . 63
8.5.3 Application session termination . 63
8.5.4 Application session reset . 64
8.5.5 Void . 64
8.6 Reservation of file Ids . 64
8.7 Logical channels . 65
8.8 Shareable versus not-shareable files . 66
8.9 Secure channels . 66
9 Security features . 67
ETSI
Release 15 6 ETSI TS 102 221 V15.3.0 (2019-07)
9.0 Introduction . 67
9.1 Supported security features . 67
9.2 Security architecture . 68
9.2.0 Overview and basic rules . 68
9.2.1 Security attributes . 68
9.2.2 Access mode . 68
9.2.3 Security condition . 68
9.2.4 Access rules . 68
9.2.5 Compact format . 69
9.2.6 Expanded format . 69
9.2.7 Access rule referencing . 70
9.3 Security environment . 70
9.3.0 Description . 70
9.3.1 Definition of the security environment . 71
9.3.2 Logical Channels and Security Environment . 71
9.4 PIN definitions . 72
9.4.0 Introduction. 72
9.4.1 Universal PIN . 72
9.4.2 Application PIN . 72
9.4.3 Local PIN . 72
9.4.4 PINs and logical channels . 72
9.5 PIN and key reference relationship . 73
9.5.0 Introduction. 73
9.5.1 Access condition mapping . 73
9.5.2 PIN status indication . 74
10 Structure of commands and responses . 75
10.1 Command APDU . 75
10.1.0 Structure and case . 75
10.1.1 Coding of Class Byte . 76
10.1.2 Coding of Instruction Byte . 77
10.1.3 Coding of parameter bytes . 78
10.1.4 Coding of Lc byte . 78
10.1.5 Coding of data part . 78
10.1.6 Coding of Le byte . 78
10.2 Response APDU . 78
10.2.0 Structure . 78
10.2.1 Status conditions returned by the UICC . 78
10.2.1.0 Introduction . 78
10.2.1.1 Normal processing . 79
10.2.1.2 Postponed processing . 79
10.2.1.3 Warnings . 79
10.2.1.4 Execution errors . 79
10.2.1.5 Checking errors . 80
10.2.1.5.0 Base checking errors . 80
10.2.1.5.1 Functions in CLA not supported . 80
10.2.1.5.2 Command not allowed . 80
10.2.1.5.3 Wrong parameters . 80
10.2.1.6 Application errors . 81
10.2.2 Status words of the commands . 82
10.3 Logical channels . 84
11 Commands . 84
11.1 Generic commands . 84
11.1.0 Introduction. 84
11.1.1 SELECT . 84
11.1.1.1 Functional description . 84
11.1.1.2 Command parameters and data . 84
11.1.1.3 Response Data . 85
11.1.1.3.0 Base coding . 85
11.1.1.3.1 Response for MF, DF or ADF . 86
11.1.1.3.2 Response for an EF . 86
ETSI
Release 15 7 ETSI TS 102 221 V15.3.0 (2019-07)
11.1.1.4 File control parameters . 86
11.1.1.4.1 File size. 86
11.1.1.4.2 Total file size . 87
11.1.1.4.3 File Descriptor . 87
11.1.1.4.4 File identifier . 88
11.1.1.4.5 DF name . 88
11.1.1.4.6 Proprietary information . 88
11.1.1.4.7 Security attributes . 92
11.1.1.4.8 Short file identifier . 94
11.1.1.4.9 Life cycle status integer . 94
11.1.1.4.10 PIN status template DO . 94
11.1.2 STATUS . 95
11.1.2.1 Functional description . 95
11.1.2.2 Command parameters. 95
11.1.3 READ BINARY . 96
11.1.3.1 Functional description . 96
11.1.3.2 Command parameters. 96
11.1.4 UPDATE BINARY . 96
11.1.4.1 Functional parameters . 96
11.1.4.2 Command parameters and data . 97
11.1.5 READ RECORD . 97
11.1.5.1 Functional description . 97
11.1.5.2 Command parameters. 98
11.1.6 UPDATE RECORD . 98
11.1.6.1 Functional description . 98
11.1.6.2 Command parameters and data . 99
11.1.7 SEARCH RECORD . 99
11.1.7.1 Functional description . 99
11.1.7.2 Command parameters and data .
...








Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.
Loading comments...