Copyright 2008-2012 GlobalPlatform Inc. All Rights Reserved.
Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights or other
intellectual property rights of which they may be aware which might be infringed by the implementation of the specification set
forth in this document, and to provide supporting documentation. The technology provided or described herein is subject to
updates, revisions, and extensions by GlobalPlatform. Use of this information is governed by the GlobalPlatform license
agreement and any use inconsistent with that agreement is strictly prohibited.
GlobalPlatform Card
Contactless Services
Card Specification v2.2 – Amendment C
Version 1.0.1
Public Release
February 2012
Document Reference: GPC_SPE_025
Contactless Services – Public Release v1.0.1
Copyright 2008-2012 GlobalPlatform Inc. All Rights Reserved.
The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this
information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly
prohibited.
This page intentionally left blank.
Contactless Services – Public Release v1.0.1 3/104
Copyright 2008-2012 GlobalPlatform Inc. All Rights Reserved.
The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this
information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly
prohibited.
Contents
1 Introduction ............................................................................................................................ 9
1.1 Audience ............................................................................................................................................. 10
1.2 IPR Disclaimer..................................................................................................................................... 10
1.3 Normative References ........................................................................................................................ 11
1.4 Terminology and Definitions ................................................................................................................ 12
1.5 Abbreviations and Notations ............................................................................................................... 13
1.6 Revision History .................................................................................................................................. 14
2 System Overview .................................................................................................................. 16
2.1 High Level Architecture ....................................................................................................................... 16
2.2 Contactless Registry Service (CRS) ................................................................................................... 18
2.3 High-Level Communication Flows ...................................................................................................... 18
2.3.1 Population and Update of Contactless Registry Parameters ....................................................... 19
2.3.2 User Interaction ............................................................................................................................ 22
2.4 Tag Encoding Rule .............................................................................................................................. 22
3 User Interaction Management.............................................................................................. 23
3.1 Definition and Scope ........................................................................................................................... 23
3.2 Display Control Information ................................................................................................................. 24
3.3 Policy Restricted Applications ............................................................................................................. 25
3.4 Application Discretionary Data ............................................................................................................ 25
3.5 Application Family ............................................................................................................................... 25
3.6 Display Required Indicator .................................................................................................................. 26
3.7 Application Groups .............................................................................................................................. 27
3.7.1 Definition and Scope .................................................................................................................... 27
3.7.2 Head Application .......................................................................................................................... 28
3.7.3 Member Applications .................................................................................................................... 29
3.7.4 Joining or Leaving an Application Group ..................................................................................... 30
3.7.5 Add to the Group Authorization List ............................................................................................. 31
3.7.6 Remove from the Group Authorization List .................................................................................. 32
3.8 CREL Application ................................................................................................................................ 33
3.8.1 Definition and Scope .................................................................................................................... 33
3.8.2 CREL Application Registration ..................................................................................................... 33
3.8.3 Add to the CREL List .................................................................................................................... 33
3.8.4 Remove from the CREL List ........................................................................................................ 34
3.9 CRS Application .................................................................................................................................. 35
3.9.1 Definition and Scope .................................................................................................................... 35
3.10 Notification Rules ................................................................................................................................ 36
3.10.1 General Rules .............................................................................................................................. 36
3.10.2 CREL Notification ......................................................................................................................... 36
3.10.3 CRS Notification ........................................................................................................................... 36
3.10.4 Application Notifications ............................................................................................................... 36
3.11 GlobalPlatform CRS Application ......................................................................................................... 37
3.11.1 Definition and Scope .................................................................................................................... 37
3.11.2 TLV for Contactless Registry Data ............................................................................................... 38
3.11.2.1 Application AID .................................................................................................................... 38
3.11.2.2 Application Lifecycle State ................................................................................................... 39
3.11.2.3 Update Counters .................................................................................................................. 39
3.11.2.4 Selection Priority .................................................................................................................. 39
3.11.2.5 Application Group ................................................................................................................ 39
4/104 Contactless Services – Public Release v1.0.1
Copyright 2008-2012 GlobalPlatform Inc. All Rights Reserved.
The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this
information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly
prohibited.
3.11.2.6 CREL Application AID List ................................................................................................... 40
3.11.3 GET STATUS Command ............................................................................................................. 41
3.11.3.1 Definition and Scope ............................................................................................................ 41
3.11.3.2 Command Message ............................................................................................................. 41
3.11.3.3 Response Message ............................................................................................................. 43
3.11.4 SET STATUS Command ............................................................................................................. 46
3.11.4.1 Definition and Scope ............................................................................................................ 46
3.11.4.2 Command Message ............................................................................................................. 46
3.11.4.3 Response Message ............................................................................................................. 49
3.11.5 SELECT Command ...................................................................................................................... 51
3.11.5.1 Definition and Scope ............................................................................................................ 51
3.11.5.2 Response Message ............................................................................................................. 51
3.11.6 GET DATA Command .................................................................................................................. 52
3.11.6.1 Definition and Scope ............................................................................................................ 52
3.11.6.2 Command Message ............................................................................................................. 52
3.11.6.3 Response Message ............................................................................................................. 52
4 Contactless Protocol Management ..................................................................................... 53
4.1 Overview and Scope ........................................................................................................................... 53
4.2 The OPEN requirements ..................................................................................................................... 53
4.3 Contactless Protocol Parameters........................................................................................................ 54
4.4 Current Protocol Parameter Computation ........................................................................................... 55
4.4.1 Current Protocol Parameter Initialization ..................................................................................... 55
4.4.2 Current Protocol Parameter: Computation on Activation ............................................................. 55
4.4.3 Current Protocol Parameter: Full Computation ............................................................................ 58
4.5 Conflict Detection Procedure .............................................................................................................. 59
4.6 Protocol Parameters for Type A (Card Emulation Mode) ................................................................... 61
4.7 Protocol Parameters for Type B (Card Emulation Mode) ................................................................... 64
4.8 Protocol Parameters for Type F .......................................................................................................... 66
4.9 Contactless Protocol Parameters Profiles .......................................................................................... 66
5 Communication Interface Access Configuration ............................................................... 67
5.1 Introduction, Overview, and Rationale ................................................................................................ 67
5.2 Communication Interface Access Parameters .................................................................................... 68
5.3 Security Domain Settings .................................................................................................................... 68
5.4 Application Instance Settings .............................................................................................................. 69
5.5 Rules for Extradition ............................................................................................................................ 69
6 Application Selection ........................................................................................................... 70
6.1 Reset Scenarios with Multiple Active Interfaces ................................................................................. 70
6.2 Application Selection Priority ............................................................................................................... 70
6.2.1 GlobalPlatform Registry Order ..................................................................................................... 70
6.2.2 Volatile Priority over the Contactless Interface ............................................................................ 70
6.3 Explicit and Implicit Selection over the Contactless Interface ............................................................. 71
6.4 Continuous Processing ....................................................................................................................... 72
6.5 Recognition Algorithm ......................................................................................................................... 73
6.6 Assigned Protocols for Implicit Selection ............................................................................................ 74
7 Contactless Privilege ........................................................................................................... 75
7.1 Contactless Activation Privilege .......................................................................................................... 75
7.2 Contactless Self-Activation Privilege .................................................................................................. 75
7.3 Privilege Coding .................................................................................................................................. 75
8 Application Availability on the Contactless Interface ........................................................ 76
8.1 Contactless Activation State ............................................................................................................... 76
Contactless Services – Public Release v1.0.1 5/104
Copyright 2008-2012 GlobalPlatform Inc. All Rights Reserved.
The technology provided or described herein is subject to updates, revisions, and extensions by GlobalPlatform. Use of this
information is governed by the GlobalPlatform license agreement and any use inconsistent with that agreement is strictly
prohibited.
8.2 Initial Contactless Activation State ...................................................................................................... 78
8.3 Contactless Interface Availability ........................................................................................................ 79
9 Cumulative Granted Memory ............................................................................................... 80
10 Cumulative Delete ................................................................................................................ 82
10.1 Definition and Scope ........................................................................................................................... 82
10.2 Security Domain with Global Delete Privilege ..................................................................................... 82
10.3 Security Domain Hierarchy Removal .................................................................................................. 82
10.4 Logically Deleted with References ...................................................................................................... 84
11 Security Domain APDU Commands .................................................................................... 85
11.1 Life Cycle State Coding ....................................................................................................................... 85
11.2 INSTALL Command ............................................................................................................................ 86
11.2.1 Contactless Protocol Parameters Structure ................................................................................. 86
11.2.2 Contactless Protocol Parameters Profile Structure ...................................................................... 87
11.2.3 User Interaction Parameters Structure ........................................................................................ 88
11.2.4 Processing State returned in the Response Message ................................................................. 88
11.3 DELETE Command ............................................................................................................................. 89
11.4 GET STATUS Command .................................................................................................................... 90
11.4.1 Filter Criteria: Tag List ('5C') ........................................................................................................ 90
11.4.2 Response Message ..................................................................................................................... 92
12 Token Identifier Blacklist for Delegated Management ....................................................... 93
12.1 Definition and Scope ........................................................................................................................... 93
12.2 Blacklist / Rehabilitate using STORE DATA Command ..................................................................... 93
12.3 Add to Blacklist .................................................................................................................................... 93
12.4 Remove from Blacklist ........................................................................................................................ 94
12.5 Read Blacklist...................................................................................................................................... 94
12.6 Processing State returned in the Response Message ........................................................................ 94
Annex A GlobalPlatform Java Card API ............................................................................. 95
Annex B Contactless Protocol Management: Example .................................................... 99
B.1 Current Protocol Parameters for Type A Computation ....................................................................... 99
B.1.1 Value Definition ............................................................................................................................ 99
B.1.2 Protocol Data Computation: Intermediate Result [A] ................................................................... 99
B.1.3 Protocol Data Computation: Intermediate Result [B] ................................................................. 100
B.1.4 Protocol Data Computation: Intermediate Result [C] ................................................................. 100
B.1.5 Current Protocol Parameter of Type A: Result .......................................................................... 100
B.2 Protocol Parameter for Type A: Conflict Detection ........................................................................... 101
B.2.1 Value Definition .......................................................................................................................... 101
B.3 Protocol Parameter for Type A: UID computation ............................................................................. 102
B.3.1 Value Definition .......................................................................................................................... 102
B.3.2 Protocol Data Computation: Intermediate Result [A] ................................................................. 102
B.3.3 Protocol Data Computation: Intermediate Result [B] ................................................................. 102
B.3.4 Protocol Data Computation: Intermediate Result [C] ................................................................. 103
B.3.5 Current Protocol Parameter of Type A: Result .......................................................................... 103
B.4 Protocol Parameter for Type A: Conflict Detection in UID ................................................................ 104
B.4.1 Value Definition .......................................................................................................................... 104