Contactless Specifications For Payment Systems: Book B
Contactless Specifications For Payment Systems: Book B
Book B
Version 2.8
April 2019
© 2019 EMVCo, LLC. All rights reserved. Reproduction, distribution and other use of this document is permitted only pursuant to
the applicable agreement between the user and EMVCo found at www.emvco.com. EMV® is a registered trademark or
trademark of EMVCo, LLC in the United States and other countries.
EMV Contactless Book B
Entry Point Specification v2.8
Legal Notice
The EMV® Specifications are provided “AS IS” without warranties of any kind, and
EMVCo neither assumes nor accepts any liability for any errors or omissions
contained in these Specifications. EMVCO DISCLAIMS ALL REPRESENTATIONS
AND WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, TITLE AND NON-INFRINGEMENT, AS TO THESE SPECIFICATIONS.
Without limiting the foregoing, the Specifications may provide for the use of public
key encryption and other technology, which may be the subject matter of patents in
several countries. Any party seeking to implement these Specifications is solely
responsible for determining whether its activities require a license to any such
technology, including for patents on public key encryption technology. EMVCo shall
not be liable under any theory for any party’s infringement of any intellectual property
rights in connection with the EMV® Specifications.
Contents
1 Scope .................................................................................................................. 7
1.1 Underlying Standards .................................................................................. 7
1.2 Audience ..................................................................................................... 7
1.3 Overview ..................................................................................................... 7
2 References ......................................................................................................... 8
2.1 Volumes of the Contactless Specifications .................................................. 8
2.2 Related Specifications ................................................................................. 8
3 Entry Point Functionality................................................................................... 9
3.1 Pre-Processing – Start A ........................................................................... 13
3.1.1 Pre-Processing Requirements ....................................................... 13
3.2 Protocol Activation – Start B ...................................................................... 18
3.2.1 Protocol Activation Requirements .................................................. 18
3.3 Combination Selection .............................................................................. 20
3.3.1 PPSE Data for Application Selection ............................................. 21
3.3.2 Selecting the Combination ............................................................. 28
3.3.3 Final Combination Selection .......................................................... 35
3.4 Kernel Activation – Start D ........................................................................ 40
3.5 Outcome Processing ................................................................................. 41
3.6 Data Element Processing .......................................................................... 43
3.6.1 Presence of Data ........................................................................... 43
3.6.2 Rules for Padding .......................................................................... 43
3.6.3 Order of Data Elements ................................................................. 43
Annex A Data Elements Dictionary ................................................................... 44
Annex B Glossary............................................................................................... 47
Figures
Figure 3-1: Entry Point High Level Architecture.......................................................12
Figure 3-2: Entry Point Command-Response APDUs .............................................28
Tables
Table 3-1: Starting Points .......................................................................................10
Table 3-2: SELECT Response Message Data Field (FCI) of the PPSE ..................22
Table 3-3: Format of Application Priority Indicator...................................................25
Table 3-4: Format of the Kernel Identifier – Byte 1 ..................................................26
Table 3-5: Format of the Kernel Identifier – Byte 2 to Byte 8 ...................................27
Table 3-6: Default Value for Requested Kernel ID ..................................................31
Table A-1: Data Elements Dictionary ......................................................................45
Requirements
Requirements – Pre-Processing .............................................................................. 13
Requirements – Protocol Activation ......................................................................... 18
Requirements – Protocol Activation – Collision ........................................................ 19
Requirements – Protocol Activation – Higher Layer - INF ........................................ 19
Requirements – PPSE Data for Application Selection .............................................. 23
Requirements – Application Selection Registered Proprietary Data ......................... 24
Requirements – Application Selection Registered Proprietary Data ......................... 25
Requirements – Combination Selection ................................................................... 29
Requirements – Final Combination Selection .......................................................... 35
Requirements – Final Combination Selection .......................................................... 37
Requirements – Communication Errors ................................................................... 38
Requirements – Application Selection Registered Proprietary Data ......................... 39
Requirements – Kernel Activation ............................................................................ 40
Requirements – Outcomes ...................................................................................... 41
Requirements – Outcome – Try Again ..................................................................... 41
Requirements – Outcome – Select Next .................................................................. 41
Requirements – Outcome – Other ........................................................................... 42
Requirements – Presence of Data ........................................................................... 43
Requirements – Padding ......................................................................................... 43
Requirements – Order of Data Elements ................................................................. 43
1 Scope
This specification, the EMV Contactless Specifications for Payment Systems, Entry
Point Specification, defines the reader requirements necessary to support a
multi-kernel architecture that enables:
discovery and selection of a contactless application that is supported by both the
reader and the card, and
activation of the appropriate kernel for processing the contactless transaction in
an international interchange environment.
1.2 Audience
This specification is intended for use by manufacturers of readers. The specification
may also be of interest to manufacturers of contactless cards and financial institution
staff responsible for implementing financial applications in contactless cards.
1.3 Overview
This volume includes the following chapters and annexes.
Chapter 1 contains general information that helps the reader understand and use
this specification.
Chapter 2 lists related specifications and standards.
Chapter 3 describes Entry Point functionality, including pre-processing, protocol
activation, combination selection, kernel activation, and Outcome processing.
Annex A defines the data elements used in this specification.
Annex B is a glossary of terms and abbreviations used in this specification.
2 References
[EMV 4.3 Book 1] EMV Integrated Circuit Card Specifications for Payment
Systems, version 4.3, Book 1, Application Independent ICC
to Terminal Interface Requirements, November 2011.
[EMV 4.3 Book 3] EMV Integrated Circuit Card Specifications for Payment
Systems, version 4.3, Book 3, Application Specification,
November 2011.
Start at Activation
Start A Pre-Processing Start at Pre-Processing; activated by the
reader when Autorun is ‘No’.1 This is typical
for a new transaction with a variable amount
in an EMV mode acceptance environment.
Start B Protocol Activation Activated in any of the following cases:
activated by the reader when Autorun is
‘Yes’;1 this is typical for a new transaction
with a fixed amount in a mag-stripe mode
acceptance environment, or
activated by the reader to handle issuer
responses after an Online Request or
End Application Outcome with
parameter Start = B, or
handled internally by Entry Point for an
error situation, or
handled internally by Entry Point for a Try
Again Outcome
Start C Combination Handled internally by Entry Point for a
Selection Select Next Outcome.
Start D Kernel Activation Activated by the reader to handle issuer
responses after an Online Request or
Request Online PIN Outcome with
parameter Start = D.
Each Start has conditions that must be satisfied by the reader or terminal before
Entry Point is activated. The specific requirements are defined in the appropriate
section.
The starting points support the needs of the seven EMV kernels contained within this
version of the specification.
Entry Point is designed around the use of a Proximity Payment System Environment
(PPSE) as the selection mechanism. For multi-brand acceptance, this allows a
reader to quickly obtain all the available brands and applications with a single
command and to make an immediate choice based on priority and kernel availability.
Requirements – Pre-Processing
3.1.1.1 For each Combination, Entry Point shall reset the Entry Point
Pre-Processing Indicators as defined in Table 5-3 of Book A
(Entry Point Pre-Processing Indicators) to 0.
Requirements – Pre-Processing
3 By copying TTQ into the Copy of TTQ during this step, the static configuration bits of TTQ
replace the bits cleared in the Entry Point Pre-Processing Indicators as stated in
requirement 3.1.1.1.
Requirements – Pre-Processing
Requirements – Pre-Processing
For each Combination that has a TTQ, Entry Point shall perform the
following actions:
Requirements – Pre-Processing
When Pre-Processing for all Combinations has been performed, Entry
Point shall perform the following action:
3.1.1.13 If, for all the Combinations, the ‘Contactless Application Not
Allowed’ indicator is 1,
then Entry Point shall provide a Try Another Interface Outcome
with the following Outcome parameter values and shall continue
with Outcome Processing, section 1.1.
Try Another Interface:
Start: N/A
Online Response Data: N/A
CVM: N/A
UI Request on Outcome Present: Yes
o Message Identifier: '18' (“Please Insert or Swipe Card”)
o Status: Processing Error
UI Request on Restart Present: No
Data Record Present: No
Discretionary Data Present: No
Alternate Interface Preference: N/A
Receipt: N/A
Field Off Request: N/A
Removal Timeout: Zero
Otherwise (at least one Combination is allowed) Entry Point shall
retain the Entry Point Pre-Processing Indicators for each allowed
Combination.
4Error situations (e.g. timeout) or Outcomes handled directly by Entry Point (e.g. Try Again)
are not considered an activation by the reader.
The kernel required for a specific card application is indicated by the Kernel Identifier
(Tag '9F2A').
The priority of the Combination is indicated by means of an Application Priority
Indicator with a value of '1' as the highest priority and 'F' the lowest. A value of '0'
means no priority is assigned and has the same priority as 'F'.
In the reader, the product is indicated by the AID. Readers must be able to link AIDs
to Kernel IDs.
Entry Point finds Combinations by matching pairs of data elements (ADF Name
(Tag '4F') and Kernel Identifier (Tag '9F2A')) in the card with pairs of data elements in
the reader (AID and Kernel ID).
Once all supported Combinations have been found and the highest priority
Combination has been identified, Entry Point selects the associated card application
by sending a SELECT (AID) command. The SELECT command is defined in
[EMV 4.3 Book 1], section 11.3.2.
If allowed by business agreement between the affected parties, specific applications
may be eliminated from consideration either during or after building the candidate list.
Table 3-2: SELECT Response Message Data Field (FCI) of the PPSE
6Tag '84' is Optional from a reader processing perspective, while from a card perspective it is
considered a Mandatory data element to personalize.
7If the card supports multiple Combinations, each Combination should have its own
Application Priority Indicator.
8 If the card explicitly identifies the kernel to be used.
9 If the card supports Extended Selection.
10 Only relevant if this Directory Entry is present.
Additional data elements may be included in the FCI Issuer Discretionary Data
(Tag 'BF0C') and Directory Entries (Tag '61'), for example, template '73'. Entry Point
ignores such data elements and their usage is proprietary. Note that the order of data
elements within the FCI may vary.
If the Kernel Identifier is absent from a Directory Entry, Entry Point bases its kernel
decision upon the ADF Name:
For a JCB ADF Name, it will use Kernel 5.
For a MasterCard ADF Name, it will use Kernel 2.
For a Visa ADF Name, it will use Kernel 3.
For an American Express ADF Name, it will use Kernel 4.
For a Discover ADF Name, it will use Kernel 6.
For a UnionPay ADF Name, it will use Kernel 7.
For any other ADF Name, it will use the kernel associated with the ADF Name.
ADF Names can be obtained from the relevant payment system.
The value field of the ASRPD object follows the following format:
ID1, L1, V1, ID2, L2, V2,…
Where
• ID is a two byte Proprietary Data Identifier. Proprietary Data
Identifiers are registered by EMVCo, and the ID registration process
will be defined by EMVCo in a subsequent bulletin.
• L is the length of the value field coded in 1 byte (0 to 255) .
• V is the value field. Its content is proprietary and format is out of
scope of EMVCo.
The coding of the Kernel Identifier is indicated in Table 3-4 and Table 3-5.
b8 b7 b6 b5 b4 b3 b2 b1 Meaning
x x Type of kernel
An international kernel, with a
Kernel Identifier assigned by
0 0
EMVCo and coded in the
Short Kernel ID
0 1 RFU
A domestic kernel, with Kernel
Identifier in EMVCo format, coded
1 0 by the concatenation of the
Short Kernel ID and the Extended
Kernel ID (see Table 3-5)
A domestic kernel, with the Kernel
Identifier in proprietary format,
1 1 coded by the concatenation of the
Short Kernel ID and the Extended
Kernel ID (see Table 3-5)
x x x x x x Short Kernel ID
The kernel is associated with the
0 0 0 0 0 0
corresponding ADF Name
0 0 0 0 0 1 1st kernel
0 0 0 0 1 0 Kernel 2
0 0 0 0 1 1 Kernel 3
0 0 0 1 0 0 Kernel 4
0 0 0 1 0 1 Kernel 5
0 0 0 1 1 0 Kernel 6
0 0 0 1 1 1 Kernel 7
0 0 1 0 0 0 8th kernel
– – – – – –
1 1 1 1 1 1 63rd kernel
Byte Meaning
Extended Kernel ID:
Byte 2 For international legacy kernel: RFU
For domestic legacy kernel Currency Code as defined
using the EMVCo format: by [ISO 4217]
11Kernel Identifier is of variable size and may be one, three, or more bytes in length, but not
two bytes.
SELECT PPSE
List of ADF names +
kernel IDs
SELECT AID
FCI
Note: The response to the SELECT (AID) command is received and processed by
Entry Point, including SW1 SW2.
Step 1
3.3.2.2 Entry Point shall send a SELECT (PPSE) command (as described in
[EMV 4.3 Book 1], section 11.3.2) to the card, with a file name of
‘2PAY.SYS.DDF01’.
3.3.2.5 For each reader Combination {AID – Kernel ID} supported by the
reader for which the ‘Contactless Application Not Allowed’
indicator is 0, Entry Point shall process each Directory Entry
(Tag '61') from the FCI. When the Directory Entries have been
processed for all supported reader Combinations, Entry Point shall
proceed to Step 3.
To process the Directory Entries, Entry Point shall begin with the
first Directory Entry of the FCI and process sequentially for each
Directory Entry in the FCI as described in bullet A thru E below.
A. Entry Point shall examine the format of the ADF Name of the
Directory Entry.
If the ADF Name is missing
or is not coded according to [EMV 4.3 Book 1], section 12.2.1,
then Entry Point shall proceed with the next Directory Entry.
B. Entry Point shall examine whether the ADF Name matches the
AID of the reader Combination.
If the ADF Name has the same length and value as the AID
(full match),
or the ADF Name begins with the AID (partial match),
then the ADF Name matches the AID and the AID is referred to
as the “matching AID”.
Otherwise Entry Point shall return to bullet A and proceed with
the next Directory Entry.
Other 00000000b
12
The value of 01b is RFU for cards.
13 For use with Start D and Start B with issuer response data.
14 Unless track of the position of the PPSE entry leading to the addition of each Combination
in the Candidate List was kept (while processing Requirement 3.3.2.5), it will be necessary to
reprocess Requirement 3.3.2.5 for each of these combinations, instead of the complete list of
reader Combinations, to determine which one corresponds to the earliest entry in the PPSE.
3.3.3.4 Entry Point shall send the SELECT (AID) command with the ADF
Name of the selected Combination (with Extended Selection if
appended).
End Application:
Start: N/A
Online Response Data: N/A
CVM: N/A
UI Request on Outcome Present: Yes
o Message Identifier: '1C' (“Insert, Swipe or Try
Another Card”)
o Status: Ready To Read
UI Request on Restart Present: No
Data Record Present: No
Discretionary Data Present: No
Alternate Interface Preference: N/A
Receipt: N/A
Field Off Request: N/A
Removal Timeout: Zero
Otherwise Entry Point shall remove the selected
Combination from the Candidate List and shall return to
Start C (Step 3 of Combination Selection (requirement
3.3.2.6)).
3.4.1.1 Entry Point shall activate the kernel identified in the selected
Combination.
3.4.1.2 Entry Point shall make the Entry Point Pre-Processing Indicators (as
specified in Book A, Table 5-3) for the selected Combination
available to the selected kernel.
3.4.1.3 Entry Point shall make available the FCI and the Status Word
SW1 SW2 (both received from the card in the SELECT (AID)
response) to the selected kernel. This requirement does not apply
if Entry Point is restarted at Start D after Outcome Processing.
Requirements – Outcomes
3.5.1.2 If the Outcome parameter Field Off Request has a value other than
‘N/A’,
then the field shall be turned off and shall remain off for the
period indicated by the hold time.
3.6.1.1 If Entry Point encounters a data object from the card that is
designated as terminal or reader sourced,
then it shall ignore the data object and continue the transaction as
if the data object had not been present.
3.6.1.2 If Entry Point encounters a data object from the card that is not
recognised,
then the unrecognised data object shall be ignored and the
transaction shall continue as if the data object had not been
present.
3.6.2.1 The reader shall apply padding according to the format of the data
elements and the rules as defined in [EMV 4.3 Book 1], Annex B
and Specification Bulletin 69.
3.6.3.1 The reader shall accept TLV data elements in any order.
Annex B Glossary
This annex provides a glossary of terms and abbreviations used in Book A and
Book B of the EMV Contactless Specifications for Payment Systems.
b Binary
C Conditional
Contactless Symbol The symbol identifying the contactless “landing plane” near
the antenna of a contactless acceptance device, where the
cardholder must present the card.
DF Dedicated File
EMV mode An operating mode of the POS System that indicates that this
particular acceptance environment and acceptance rules
supports chip infrastructure. Typically used in conjunction
with the term “transaction” (i.e., EMV mode transaction) to
indicate contactless payment utilising a full chip infrastructure
carrying EMV minimum data.
Extended Selection An option in which Entry Point appends the value indicated by
the Extended Selection data element (Tag '9F29') to the ADF
name in the SELECT command.
Hz Hertz
M Mandatory
Mag-stripe mode An operating mode of the POS System that indicates that this
particular acceptance environment and acceptance rules
supports mag-stripe infrastructure. Typically used in
conjunction with the term “transaction” (i.e., mag-stripe mode
transaction) to indicate contactless payment based on Track
1 and/or Track 2 Data obtained from the card.
ms Millisecond
n Numeric
O Optional
Online PIN A method of PIN verification where the PIN entered by the
cardholder into the terminal PIN pad is encrypted and
included in the online authorisation request message sent to
the issuer.
Requested Internal Entry Point variable used to build the matching kernel
Kernel ID identification during the Combination Selection process
Restart flag Internal reader flag that indicates whether a kernel is being
started for a new transaction or continuing with an ongoing
transaction (e.g. in order to complete online processing, to
perform on-device CVM, to recover from a communication
error, etc.).
Status Check Option within the terminal related to the checking of a single
Support unit of currency. A single unit of currency has the value of 1 of
the (major) unit of currency as defined in [ISO 4217]. As an
example a single unit of currency for Euro is 1.00.
UI User Interface
[ End of Document ]