ℹ️
Tracked metadata: Sourced from EMVCo's public document index. PCI Watch records each document's details and its extracted text so changes can be tracked over time; the document PDF itself is hosted by EMVCo.
View on EMVCo.com →

Book C-2 Kernel Specification

v2.12 Specifications
Contactless Acceptance Device
Extracted document text

EMVCo's index flattens the document's layout, so this text is best used for searching and comparing versions rather than reading end-to-end.

This document is large; EMVCo's index truncates its extracted text, so the excerpt below is partial.

© 2026 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 Specifications for Payment Systems Book C-2 Kernel 2 Specification Version 2.12 May 2026 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page ii / 347 © 2026 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. Legal Notice Unless the user has an applicable separate agreement with EMVCo or with the applicable payment system, any and all uses of these Specifications is subject to the terms and conditions of the EMVCo Terms of Use agreement available at www.emvco.com and the following supplemental terms and conditions. The license granted in the EMVCo Terms of Use specifically excludes (a) the right to disclose, distribute or publicly display these Specifications or otherwise make these Specifications available to any third party, and (b) the right to make, use, sell, offer for sale, or import any software or hardware that practices, in whole or in part, these Specifications. Further, EMVCo does not grant any right to use the Kernel Specifications to develop contactless payment applications designed for use on a Card (or components of such applications). As used in these supplemental terms and conditions, the term “Card” means a proximity integrated circuit card or other device containing an integrated circuit chip designed to facilitate contactless payment transactions. Additionally, a Card may include a contact interface and/or magnetic stripe used to facilitate payment transactions. To use the Specifications to develop contactless payment applications designed for use on a Card (or components of such applications), please contact the applicable payment system. To use the Specifications to develop or manufacture products, or in any other manner not provided in the EMVCo Terms of Use, please contact EMVCo. These 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. EMVCo makes no representations or warranties with respect to intellectual property rights of any third parties in or in relation to the Specifications. EMVCo undertakes no responsibility to determine whether any implementation of these Specifications may violate, infringe, or otherwise exercise the patent, copyright, trademark, trade secret, know-how, or other intellectual property rights of third parties, and thus any person who implements any part of these Specifications should consult an intellectual property attorney before any such implementation. 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 these Specifications. EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page iii / 347 © 2026 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. Revision Log – Version 2.12 The following changes have been made to Book C-2 since the publication of Version 2.11. Incorporated changes described in the following Specification Bulletin: • Specification Bulletin No. 317: Mag-stripe Mode Implementation Option Deprecated • Specification Bulletin No. 318: ERRD Time Measurement by PCD for Kernel 2 • Specification Bulletin No. 319: Update to Terminal Risk Management Data of Kernel 2 Other changes: • Replaced On-device Cardholder Verification Method (OD-CVM) with Consumer Device Cardholder Verification Method (CDCVM) • Marked unused bits in Terminal Verification Results as RFU in the data dictionary EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page iv / 347 © 2026 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. Contents Revision Log – Version 2.12 .............................................................................................. iii Contents ............................................................................................................................. iv Figures .............................................................................................................................. xiii Tables................................................................................................................................ xiv 1 Using This Manual....................................................................................................... 16 1.1 Purpose................................................................................................................................. 16 1.2 Audience ............................................................................................................................... 16 1.3 Related Information .............................................................................................................. 16 1.4 Terminology .......................................................................................................................... 18 1.5 Notations ............................................................................................................................... 19 1.5.1 State Machine ....................................................................................................... 19 1.5.2 Data Object Notation ............................................................................................. 21 1.5.3 Other Notational Conventions ............................................................................... 22 2 General Architecture ................................................................................................... 25 2.1 Introduction ........................................................................................................................... 25 2.2 Reader Processes ................................................................................................................ 26 2.2.1 Process P .............................................................................................................. 27 2.2.2 Process D .............................................................................................................. 27 2.2.3 Process S .............................................................................................................. 28 2.2.4 Process K .............................................................................................................. 28 2.2.5 Process M ............................................................................................................. 30 2.3 The Reader Database .......................................................................................................... 32 3 Reader Process K — Kernel Processing ................................................................... 35 3.1 Implementation Option .......................................................................................................... 35 3.2 The Kernel Database ............................................................................................................ 35 3.3 Transaction Flow .................................................................................................................. 37 3.4 Data Exchange ..................................................................................................................... 37 3.4.1 Introduction ........................................................................................................... 37 3.4.2 Sending Data to the Terminal ................................................................................ 38 3.4.3 Requesting Data from the Terminal ...................................................................... 38 3.4.4 Synchronization ..................................................................................................... 39 3.5 Data Storage ......................................................................................................................... 40 3.5.1 Introduction ........................................................................................................... 40 3.5.2 Standalone Data Storage ...................................................................................... 40 3.5.3 Integrated Data Storage ........................................................................................ 41 3.6 Consumer Device Cardholder Verification ........................................................................... 45 3.7 Relay Resistance Protocol.................................................................................................... 46 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page v / 347 © 2026 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. 3.7.1 Introduction ........................................................................................................... 46 3.7.2 Protocol ................................................................................................................. 46 3.8 Optimisation For Transactions Without CDA ........................................................................ 47 3.8.1 Introduction ........................................................................................................... 47 3.8.2 Activation/Deactivation .......................................................................................... 48 3.9 Kernel Configuration Options ............................................................................................... 48 4 Data Organization........................................................................................................ 50 4.1 TLV Database ....................................................................................................................... 50 4.1.1 Principles ............................................................................................................... 50 4.1.2 Access Conditions................................................................................................. 51 4.1.3 Services ................................................................................................................ 51 4.1.4 DOL Handling ........................................................................................................ 56 4.2 Working Variables ................................................................................................................. 57 4.3 List Handling ......................................................................................................................... 58 4.4 Configuration Data ................................................................................................................ 60 4.4.1 Configuration Data – TLV Database ..................................................................... 60 4.4.2 CA Public Key Database ....................................................................................... 62 4.4.3 Certification Revocation List ................................................................................. 63 4.5 Lists of Data Objects in OUT ................................................................................................ 64 4.5.1 Outcome Parameter Set ....................................................................................... 64 4.5.2 User Interface Request Data ................................................................................ 64 4.5.3 Data Record .......................................................................................................... 64 4.5.4 Discretionary Data ................................................................................................. 66 4.6 Data Object Format .............................................................................................................. 67 4.6.1 Format ................................................................................................................... 67 4.6.2 Format Checking ................................................................................................... 67 4.7 Reserved for Future Use (RFU) ........................................................................................... 68 5 C-APDU Commands .................................................................................................... 69 5.1 Introduction ........................................................................................................................... 69 5.2 Exchange Relay Resistance Data ........................................................................................ 70 5.2.1 Definition and Scope ............................................................................................. 70 5.2.2 Command Message .............................................................................................. 70 5.2.3 Data Field Returned in the Response Message ................................................... 70 5.2.4 Status Bytes .......................................................................................................... 71 5.3 Generate AC ......................................................................................................................... 72 5.3.1 Definition and Scope ............................................................................................. 72 5.3.2 Command Message .............................................................................................. 72 5.3.3 Data Field Returned in the Response Message ................................................... 73 5.3.4 Status Bytes .......................................................................................................... 75 5.4 Get Data ............................................................................................................................... 76 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page vi / 347 © 2026 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. 5.4.1 Definition and Scope ............................................................................................. 76 5.4.2 Command Message .............................................................................................. 76 5.4.3 Data Field Returned in the Response Message ................................................... 77 5.4.4 Status Bytes .......................................................................................................... 77 5.5 Get Processing Options ........................................................................................................ 78 5.5.1 Definition and Scope ............................................................................................. 78 5.5.2 Command Message .............................................................................................. 78 5.5.3 Data Field Returned in the Response Message ................................................... 78 5.5.4 Status Bytes .......................................................................................................... 80 5.6 Put Data ................................................................................................................................ 81 5.6.1 Definition and Scope ............................................................................................. 81 5.6.2 Command Message .............................................................................................. 81 5.6.3 Data Field Returned in the Response Message ................................................... 81 5.6.4 Status Bytes .......................................................................................................... 82 5.7 Read Record ......................................................................................................................... 83 5.7.1 Definition and Scope ............................................................................................. 83 5.7.2 Command Message .............................................................................................. 83 5.7.3 Data Field Returned in the Response Message ................................................... 83 5.7.4 Status Bytes .......................................................................................................... 84 6 Kernel State Machine .................................................................................................. 85 6.1 Implementation Principles..................................................................................................... 85 6.2 Kernel Started ....................................................................................................................... 86 6.2.1 Local Variables ...................................................................................................... 86 6.2.2 Flow Diagram ........................................................................................................ 87 6.2.3 Processing ............................................................................................................ 88 6.3 State 1 – Idle ......................................................................................................................... 90 6.3.1 Local Variables ...................................................................................................... 90 6.3.2 Flow Diagram ........................................................................................................ 91 6.3.3 Processing ............................................................................................................ 95 6.4 State 2 – Waiting for PDOL Data ........................................................................................ 101 6.4.1 Local Variables .................................................................................................... 101 6.4.2 Flow Diagram ...................................................................................................... 102 6.4.3 Processing .......................................................................................................... 104 6.5 State 3 – Waiting for GPO Response ................................................................................. 106 6.5.1 Local Variables .................................................................................................... 106 6.5.2 Flow Diagram ...................................................................................................... 107 6.5.3 Processing .......................................................................................................... 112 6.6 State R1 – Waiting for Exchange Relay Resistance Data Response ................................ 116 6.6.1 Local Variables .................................................................................................... 116 6.6.2 Flow Diagram ...................................................................................................... 117 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page vii / 347 © 2026 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. 6.6.3 Processing .......................................................................................................... 121 6.7 States 3, R1 – Common Processing .................................................................................. 126 6.7.1 Local Variables .................................................................................................... 126 6.7.2 Flow Diagram ...................................................................................................... 126 6.7.3 Processing .......................................................................................................... 130 6.8 State 4 – Waiting for Read Record Response ................................................................... 134 6.8.1 Local Variables .................................................................................................... 134 6.8.2 Flow Diagram ...................................................................................................... 135 6.8.3 Processing .......................................................................................................... 140 6.9 State 5 – Waiting for Get Data Response .......................................................................... 147 6.9.1 Local Variables .................................................................................................... 147 6.9.2 Flow Diagram ...................................................................................................... 148 6.9.3 Processing .......................................................................................................... 151 6.10 State 6 – Waiting for First Write Flag .................................................................................. 154 6.10.1 Local Variables .................................................................................................... 154 6.10.2 Flow Diagram ...................................................................................................... 155 6.10.3 Processing .......................................................................................................... 157 6.11 States 4, 5, and 6 – Common Processing .......................................................................... 158 6.11.1 Local Variables .................................................................................................... 158 6.11.2 Flow Diagram ...................................................................................................... 158 6.11.3 Processing .......................................................................................................... 165 6.12 State 9 – Waiting for Generate AC Response .................................................................... 174 6.12.1 Local Variables .................................................................................................... 174 6.12.2 Flow Diagram ...................................................................................................... 175 6.12.3 Processing .......................................................................................................... 188 6.13 State 12 – Waiting for Put Data Response Before Generate AC ....................................... 210 6.13.1 Local Variables .................................................................................................... 210 6.13.2 Flow Diagram ...................................................................................................... 211 6.13.3 Processing .......................................................................................................... 213 6.14 State 15 – Waiting for Put Data Response After Generate AC .......................................... 215 6.14.1 Local Variables .................................................................................................... 215 6.14.2 Flow Diagram ...................................................................................................... 216 6.14.3 Processing .......................................................................................................... 218 7 Procedures ................................................................................................................ 220 7.1 Procedure – CVM Selection ............................................................................................... 220 7.1.1 Local Variables .................................................................................................... 220 7.1.2 Flow Diagram ...................................................................................................... 221 7.1.3 Processing .......................................................................................................... 225 7.2 Procedure – Prepare Generate AC Command .................................................................. 231 7.2.1 Local Variables .................................................................................................... 231 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page viii / 347 © 2026 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. 7.2.2 Flow Diagram ...................................................................................................... 231 7.2.3 Processing .......................................................................................................... 238 7.3 Procedure – Processing Restrictions ................................................................................. 244 7.3.1 Local Variables .................................................................................................... 244 7.3.2 Flow Diagram ...................................................................................................... 244 7.3.3 Processing .......................................................................................................... 250 7.4 Procedure – Terminal Action Analysis ................................................................................ 256 7.4.1 Local Variables .................................................................................................... 256 7.4.2 Flow Diagram ...................................................................................................... 256 7.4.3 Processing .......................................................................................................... 259 8 Security Algorithms .................................................................................................. 262 8.1 Unpredictable Number Generation ..................................................................................... 262 8.2 OWHF2 ............................................................................................................................... 263 8.3 OWHF2AES ........................................................................................................................ 264 Annex A Data Dictionary ................................................................................... 265 A.1 Data Objects by Name ........................................................................................................ 265 A.1.1 Account Type ...................................................................................................... 265 A.1.2 Acquirer Identifier ................................................................................................ 265 A.1.3 Active AFL ........................................................................................................... 265 A.1.4 Active Tag ............................................................................................................ 266 A.1.5 AC Type............................................................................................................... 266 A.1.6 Additional Terminal Capabilities .......................................................................... 266 A.1.7 Amount, Authorized (Numeric) ............................................................................ 268 A.1.8 Amount, Other (Numeric) .................................................................................... 268 A.1.9 Application Capabilities Information .................................................................... 269 A.1.10 Application Cryptogram ....................................................................................... 270 A.1.11 Application Currency Code ................................................................................. 270 A.1.12 Application Currency Exponent ........................................................................... 271 A.1.13 Application Effective Date ................................................................................... 271 A.1.14 Application Expiration Date ................................................................................. 271 A.1.15 Application File Locator ....................................................................................... 272 A.1.16 Application Interchange Profile ........................................................................... 273 A.1.17 Application Label ................................................................................................. 273 A.1.18 Application Preferred Name ................................................................................ 274 A.1.19 Application PAN .................................................................................................. 274 A.1.20 Application PAN Sequence Number ................................................................... 274 A.1.21 Application Priority Indicator ............................................................................... 274 A.1.22 Application Transaction Counter ......................................................................... 275 A.1.23 Application Usage Control .................................................................................. 275 A.1.24 Application Version Number (Card) .................................................................... 276 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page ix / 347 © 2026 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. A.1.25 Application Version Number (Reader) ................................................................ 276 A.1.26 CA Public Key Index (Card) ................................................................................ 276 A.1.27 Card Data Input Capability .................................................................................. 277 A.1.28 CDOL1 ................................................................................................................ 277 A.1.29 CDOL1 Related Data .......................................................................................... 277 A.1.30 Cryptogram Information Data .............................................................................. 278 A.1.31 CVM Capability – CVM Required ........................................................................ 278 A.1.32 CVM Capability – No CVM Required .................................................................. 279 A.1.33 CVM List .............................................................................................................. 279 A.1.34 CVM Results ....................................................................................................... 280 A.1.35 Data Needed ....................................................................................................... 280 A.1.36 Data Record ........................................................................................................ 280 A.1.37 Data To Send ...................................................................................................... 281 A.1.38 Device Estimated Transmission Time For Relay Resistance R-APDU .............. 281 A.1.39 Device Relay Resistance Entropy ....................................................................... 281 A.1.40 DF Name ............................................................................................................. 282 A.1.41 Discretionary Data ............................................................................................... 282 A.1.42 DS AC Type ......................................................................................................... 282 A.1.43 DS Digest H ........................................................................................................ 283 A.1.44 DSDOL ................................................................................................................ 283 A.1.45 DS ID ................................................................................................................... 283 A.1.46 DS Input (Card) ................................................................................................... 284 A.1.47 DS Input (Term) ................................................................................................... 284 A.1.48 DS ODS Card ...................................................................................................... 284 A.1.49 DS ODS Info ....................................................................................................... 285 A.1.50 DS ODS Info For Reader .................................................................................... 285 A.1.51 DS ODS Term ..................................................................................................... 286 A.1.52 DS Requested Operator ID ................................................................................. 286 A.1.53 DS Slot Availability .............................................................................................. 287 A.1.54 DS Slot Management Control ............................................................................. 287 A.1.55 DS Summary 1 .................................................................................................... 288 A.1.56 DS Summary 2 .................................................................................................... 288 A.1.57 DS Summary 3 .................................................................................................... 288 A.1.58 DS Summary Status............................................................................................ 289 A.1.59 DS Unpredictable Number .................................................................................. 289 A.1.60 DSVN Term ......................................................................................................... 290 A.1.61 Error Indication .................................................................................................... 290 A.1.62 File Control Information Issuer Discretionary Data ............................................. 292 A.1.63 File Control Information Proprietary Template .................................................... 292 A.1.64 File Control Information Template ....................................................................... 293 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page x / 347 © 2026 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. A.1.65 Hold Time Value .................................................................................................. 294 A.1.66 ICC Dynamic Number ......................................................................................... 294 A.1.67 ICC Public Key Certificate ................................................................................... 294 A.1.68 ICC Public Key Exponent .................................................................................... 294 A.1.69 ICC Public Key Remainder ................................................................................. 295 A.1.70 IDS Status ........................................................................................................... 295 A.1.71 Interface Device Serial Number .......................................................................... 295 A.1.72 Issuer Action Code – Default .............................................................................. 296 A.1.73 Issuer Action Code – Denial ................................................................................ 296 A.1.74 Issuer Action Code – Online ............................................................................... 296 A.1.75 Issuer Application Data ....................................................................................... 296 A.1.76 Issuer Code Table Index ..................................................................................... 297 A.1.77 Issuer Country Code ........................................................................................... 297 A.1.78 Issuer Public Key Certificate ............................................................................... 297 A.1.79 Issuer Public Key Exponent ................................................................................ 297 A.1.80 Issuer Public Key Remainder .............................................................................. 298 A.1.81 Kernel Configuration ........................................................................................... 298 A.1.82 Kernel ID ............................................................................................................. 298 A.1.83 Language Preference ......................................................................................... 299 A.1.84 Log Entry ............................................................................................................. 299 A.1.85 Maximum Relay Resistance Grace Period ......................................................... 299 A.1.86 Max Time For Processing Relay Resistance APDU ........................................... 300 A.1.87 Measured Relay Resistance Processing Time ................................................... 300 A.1.88 Merchant Category Code .................................................................................... 300 A.1.89 Merchant Custom Data ....................................................................................... 301 A.1.90 Merchant Identifier .............................................................................................. 301 A.1.91 Merchant Name and Location ............................................................................. 301 A.1.92 Message Hold Time ............................................................................................ 301 A.1.93 Minimum Relay Resistance Grace Period .......................................................... 302 A.1.94 Min Time For Processing Relay Resistance APDU ............................................ 302 A.1.95 Next Cmd ............................................................................................................ 303 A.1.96 ODA Status ......................................................................................................... 303 A.1.97 Outcome Parameter Set ..................................................................................... 304 A.1.98 Payment Account Reference .............................................................................. 306 A.1.99 PDOL .................................................................................................................. 306 A.1.100 PDOL Related Data ............................................................................................ 306 A.1.101 PDOL Values ....................................................................................................... 307 A.1.102 Phone Message Table ......................................................................................... 307 A.1.103 POS Cardholder Interaction Information ............................................................. 308 A.1.104 Post-Gen AC Put Data Status ............................................................................. 309 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page xi / 347 © 2026 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. A.1.105 Pre-Gen AC Put Data Status .............................................................................. 309 A.1.106 Proceed To First Write Flag ................................................................................. 310 A.1.107 Protected Data Envelope 1 ................................................................................. 310 A.1.108 Protected Data Envelope 2 ................................................................................. 310 A.1.109 Protected Data Envelope 3 ................................................................................. 311 A.1.110 Protected Data Envelope 4 ................................................................................. 311 A.1.111 Protected Data Envelope 5 ................................................................................. 311 A.1.112 Reader Contactless Floor Limit ........................................................................... 311 A.1.113 Reader Contactless Transaction Limit ................................................................ 312 A.1.114 Reader Contactless Transaction Limit (No CDCVM) .......................................... 312 A.1.115 Reader Contactless Transaction Limit (CDCVM) ............................................... 312 A.1.116 Reader CVM Required Limit ............................................................................... 313 A.1.117 Read Record Response Message Template ...................................................... 313 A.1.118 Reference Control Parameter ............................................................................. 314 A.1.119 Relay Resistance Accuracy Threshold ............................................................... 314 A.1.120 Relay Resistance Transmission Time Mismatch Threshold ............................... 315 A.1.121 Response Message Template Format 1 ............................................................. 315 A.1.122 Response Message Template Format 2 ............................................................. 315 A.1.123 RRP Counter ....................................................................................................... 316 A.1.124 Security Capability .............................................................................................. 316 A.1.125 Signed Dynamic Application Data ....................................................................... 316 A.1.126 Static Data Authentication Tag List ..................................................................... 317 A.1.127 Static Data To Be Authenticated ......................................................................... 317 A.1.128 Tags To Read ...................................................................................................... 317 A.1.129 Tags To Read Yet ................................................................................................ 318 A.1.130 Tags To Write After Gen AC ................................................................................ 318 A.1.131 Tags To Write Before Gen AC ............................................................................. 319 A.1.132 Tags To Write Yet After Gen AC .......................................................................... 319 A.1.133 Tags To Write Yet Before Gen AC ....................................................................... 319 A.1.134 Terminal Action Code – Default ........................................................................... 320 A.1.135 Terminal Action Code – Denial ............................................................................ 320 A.1.136 Terminal Action Code – Online ............................................................................ 320 A.1.137 Terminal Capabilities ........................................................................................... 321 A.1.138 Terminal Country Code ....................................................................................... 321 A.1.139 Terminal Expected Transmission Time For Relay Resistance C-APDU ............. 322 A.1.140 Terminal Expected Transmission Time For Relay Resistance R-APDU ............. 322 A.1.141 Terminal Identification ......................................................................................... 322 A.1.142 Terminal Relay Resistance Entropy .................................................................... 323 A.1.143 Terminal Risk Management Data ........................................................................ 323 A.1.144 Terminal Type ...................................................................................................... 325 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page xii / 347 © 2026 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. A.1.145 Terminal Verification Results ............................................................................... 325 A.1.146 Token Requestor ID ............................................................................................ 326 A.1.147 Third Party Data .................................................................................................. 327 A.1.148 Time Out Value .................................................................................................... 327 A.1.149 Track 1 Discretionary Data .................................................................................. 327 A.1.150 Track 2 Discretionary Data .................................................................................. 328 A.1.151 Track 2 Equivalent Data ...................................................................................... 328 A.1.152 Transaction Category Code ................................................................................ 329 A.1.153 Transaction Currency Code ................................................................................ 329 A.1.154 Transaction Currency Exponent.......................................................................... 329 A.1.155 Transaction Date ................................................................................................. 329 A.1.156 Transaction Time ................................................................................................. 330 A.1.157 Transaction Type ................................................................................................. 330 A.1.158 Unpredictable Number ........................................................................................ 330 A.1.159 Unprotected Data Envelope 1 ............................................................................. 331 A.1.160 Unprotected Data Envelope 2 ............................................................................. 331 A.1.161 Unprotected Data Envelope 3 ............................................................................. 331 A.1.162 Unprotected Data Envelope 4 ............................................................................. 331 A.1.163 Unprotected Data Envelope 5 ............................................................................. 332 A.1.164 User Interface Request Data .............................................................................. 332 A.2 Data Objects by Tag ........................................................................................................... 334 Annex B Kernel State Machine ......................................................................... 340 B.1 Application States ............................................................................................................... 340 B.2 State Machine ..................................................................................................................... 341 Annex C Glossary .............................................................................................. 342 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page xiii / 347 © 2026 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. Figures Figure 1.1: Symbols Used in Transaction Flow Diagrams ................................................................... 20 Figure 2.1: General Architecture .......................................................................................................... 25 Figure 2.2: Reader Logical Architecture ............................................................................................... 26 Figure 2.3: Reader Database – Persistent Datasets ........................................................................... 32 Figure 3.1: Summaries – Basic Principle ............................................................................................. 44 Figure 6.1: Kernel Started Flow Diagram ............................................................................................. 87 Figure 6.2: State 1 Flow Diagram ........................................................................................................ 91 Figure 6.3: State 2 Flow Diagram ...................................................................................................... 102 Figure 6.4: State 3 Flow Diagram ...................................................................................................... 107 Figure 6.5: State R1 Flow Diagram .................................................................................................... 117 Figure 6.6: States 3 and R1 – Common Processing – Flow Diagram ............................................... 126 Figure 6.7: State 4 Flow Diagram ...................................................................................................... 135 Figure 6.8: State 5 Flow Diagram ...................................................................................................... 148 Figure 6.9: State 6 Flow Diagram ...................................................................................................... 155 Figure 6.10: States 4, 5, and 6 – Common Processing – Flow Diagram ........................................... 158 Figure 6.11: State 9 Flow Diagram..................................................................................................... 175 Figure 6.12: State 12 Flow Diagram .................................................................................................. 211 Figure 6.13: State 15 Flow Diagram .................................................................................................. 216 Figure 7.1: CVM Selection Flow Diagram .......................................................................................... 221 Figure 7.2: Prepare Generate AC Command Flow Diagram ............................................................. 231 Figure 7.3: Processing Restrictions Flow Diagram ............................................................................ 244 Figure 7.4: Terminal Action Analysis Flow Diagram ........................................................................... 256 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page xiv / 347 © 2026 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. Tables Table 1.1: Terminology ......................................................................................................................... 18 Table 1.2: Other Notational Conventions ............................................................................................. 22 Table 2.1: Reader Processes ............................................................................................................... 26 Table 2.2: Process P Signals ............................................................................................................... 27 Table 2.3: Services from Process K ..................................................................................................... 29 Table 2.4: Responses from Process K ................................................................................................. 30 Table 2.5: Reader Databases .............................................................................................................. 33 Table 2.6: Persistent Dataset Kernel 2 ................................................................................................. 34 Table 3.1: Kernel Database Categories ............................................................................................... 36 Table 3.2: Kernel Configuration Options .............................................................................................. 48 Table 4.1: Access Conditions ............................................................................................................... 51 Table 4.2: Configuration Data in TLV Database that Require Default Value ........................................ 60 Table 4.3: Phone Message Table – Default Value ............................................................................... 61 Table 4.4: CA Public Key Related Data ................................................................................................ 62 Table 4.5: Certification Revocation List Related Data .......................................................................... 63 Table 4.6: Data Record Detail .............................................................................................................. 64 Table 4.7: Discretionary Data ............................................................................................................... 66 Table 5.1: Coding of the Instruction Byte ............................................................................................. 69 Table 5.2: Generic Status Bytes ........................................................................................................... 69 Table 5.3: Exchange Relay Resistance Data Command Message ..................................................... 70 Table 5.4: Exchange Relay Resistance Data Response Message Data Field .................................... 70 Table 5.5: Status Bytes for Exchange Relay Resistance Data Command .......................................... 71 Table 5.6: Generate AC Command Message ...................................................................................... 72 Table 5.7: Generate AC Reference Control Parameter ....................................................................... 73 Table 5.8: Generate AC Response Message Data Field (Format 1) ................................................... 73 Table 5.9: Generate AC Response Message Data Field (Format 2) – No CDA .................................. 74 Table 5.10: Generate AC Response Message Data Field (Format 2) – CDA ...................................... 74 Table 5.11: Status Bytes for Generate AC Command .......................................................................... 75 Table 5.12: Get Data Command Message ........................................................................................... 76 Table 5.13: Supported P1 || P2 Values for Get Data Command .......................................................... 76 Table 5.14: Status Bytes for Get Data Command ................................................................................ 77 Table 5.15: Get Processing Options Command Message ................................................................... 78 Table 5.16: Get Processing Options Response Message Data Field (Format 1) ................................ 79 Table 5.17: Get Processing Options Response Message Data Field (Format 2) ................................ 79 Table 5.18: Status Bytes for Get Processing Options Command ........................................................ 80 Table 5.19: Put Data Command Message ........................................................................................... 81 Table 5.20: Supported P1 || P2 values for Put Data Command ........................................................... 81 Table 5.21: Status Bytes for Put Data Command ................................................................................ 82 Table 5.22: Read Record Command Message .................................................................................... 83 Table 5.23: P2 of Read Record Command .......................................................................................... 83 Table 5.24: Read Record Response Message Data Field ................................................................... 83 Table 5.25: Status Bytes for Read Record Command ......................................................................... 84 Table 6.1: Response Message Data Field ......................................................................................... 152 Table 6.2: Mandatory Data Objects .................................................................................................... 168 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page xv / 347 © 2026 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. Table 6.3: Mandatory Card CDA Data Objects .................................................................................. 171 Table 6.4: ICC Dynamic Data (IDS) ................................................................................................... 194 Table 6.5: ICC Dynamic Data (IDS + RRP) ....................................................................................... 195 Table 6.6: ICC Dynamic Data (No IDS) .............................................................................................. 196 Table 6.7: ICC Dynamic Data (RRP) .................................................................................................. 197 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page 16 / 347 © 2026 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. 1 Using This Manual 1.1 Purpose This document, EMV Contactless Specifications for Payment Systems, Book C-2 – Kernel 2 Specification, should be read in conjunction with: • EMV Contactless Specifications for Payment Systems, Book A – Architecture and General Requirements, hereafter referred to as [EMV Book A], and • EMV Contactless Specifications for Payment Systems, Book B – Entry Point Specification, hereafter referred to as [EMV Book B]. This document defines the behaviour of the Kernel used in combination with cards supporting a Mastercard brand or cards having a Kernel Identifier indicating Kernel 2, as defined in [EMV Book B]. 1.2 Audience This specification is intended for use by manufacturers of contactless readers and terminals. It may also be of interest to manufacturers of contactless cards and to financial institution staff responsible for implementing financial applications in contactless cards. 1.3 Related Information The following references are used in this document. The latest version applies unless a publication date is explicitly stated. Reference Document Title [EMV Book 1] Integrated Circuit Card Specifications for Payment Systems – Book 1, Application Independent ICC to Terminal Interface Requirements, Version 4.4, October 2022 [EMV Book 2] Integrated Circuit Card Specifications for Payment Systems – Book 2, Security and Key Management, Version 4.4, October 2022 [EMV Book 3] Integrated Circuit Card Specifications for Payment Systems – Book 3, Application Specification, Version 4.4, October 2022 [EMV Book 4] Integrated Circuit Card Specifications for Payment Systems – Book 4, Cardholder, Attendant, and Acquirer Interface Requirements, Version 4.4, October 2022 EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page 17 / 347 © 2026 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. Reference Document Title [EMV Book A] EMV Contactless Specifications for Payment Systems, Book A – Architecture and General Requirements, Version 2.11 [EMV Book B] EMV Contactless Specifications for Payment Systems, Book B – Entry Point Specification, Version 2.11 [EMV CL L1] EMV Level 1 Specifications for Payment Systems, EMV Contactless Interface Specification, Version 3.2 [EMV Token] EMV Payment Tokenisation Specification, Technical Framework, Version 2.3, October 2021 [ISO 639-1] Codes for the representation of names of languages – Part 1: Alpha-2 Code [ISO 3166-1] Codes for the representation of names of countries and their subdivisions – Part 1: Country codes [ISO 4217] Codes for the representation of currencies and funds [ISO/IEC 7813] Information technology — Identification cards — Financial transaction cards [ISO/IEC 7816-4] Identification cards — Integrated circuit(s) cards with contacts — Part 4: Organization, security and commands for interchange [ISO/IEC 7816-5] Registration of application providers [ISO 8583:1987] Financial transaction card originated messages – Interchange message specifications [ISO 8583:1993] Financial transaction card originated messages – Interchange message specifications [ISO/IEC 8825-1] Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER) [ISO/IEC 8859] Information technology – 8-bit single-byte coded graphic character sets [ISO 18031:2005] Information technology – Security techniques – Random bit generation [NIST SP800-22A] A statistical test suite for random and pseudorandom number generators for cryptographic algorithms EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page 18 / 347 © 2026 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. 1.4 Terminology The following terms are used in this document, carrying specialized meanings as indicated. Table 1.1: Terminology Term Description Card Card, as used in these specifications, is a consumer device supporting contactless transactions. Combination Combination is the combination of an AID and a Kernel ID. Configuration Option A Configuration Option allows activation or deactivation of the Kernel software behind this option. The Configuration Option may change the execution path of the software but it does not change the software itself. A Configuration Option is set in the Kernel database per AID and transaction type. EMV Mode Operating mode that indicates that the contactless payment transaction is validated based on EMV minimum data. Implementation Option An Implementation Option allows the vendor to select whether the functionality behind the option will be implemented in a particular installation. Kernel The Kernel contains the interface routines, security and control functions, and logic to manage a set of commands and responses to retrieve all the necessary data from the Card to complete a transaction. The Kernel processing covers the interaction with the Card between the selection of the card application (excluded) and the processing of the transaction's outcome (excluded). Mag-stripe Mode Mag-stripe Mode describes an operating mode of the POS System that indicates that this particular acceptance environment and acceptance rules support magnetic stripe infrastructure. Mag-stripe Mode transactions are no longer supported by this version of the specification. POS System The POS System is the collective term given to the payment infrastructure present at the merchant. It is made up of the Terminal and Reader. EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page 19 / 347 © 2026 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. Term Description Process A Process is a logical component within a Reader that has one or more Queues to receive Signals. The processing of Signals, in combination with the carried data, may then generate other Signals to be sent. Processing can continue until all the Queues of a Process are empty, or until the Process terminates. Queue A Queue is a buffer that stores events to be processed. The events are stored in the order received. Reader The Reader is the device that supports the Kernel(s) and provides the contactless interface used by the Card. In this specification, the Reader is considered as a separate logical entity, although it can be an integral part of the POS System. Signal A Signal is an asynchronous event that is placed in a Queue. A Signal can convey data as parameters, and the data provided in this way is used in the processing of the Signal. Terminal The Terminal is the device that connects to the authorization and/or clearing network and that together with the Reader makes up the POS System. The Terminal and the Reader may exist in a single integrated device. However, in this specification, they are considered separate logical entities. 1.5 Notations This section lists notational conventions used in this specification: 1.5.1 State Machine This document specifies the Kernel processing as a state machine that is triggered by Signals that cause state transitions. The application states of the Kernel are written in a specific format to distinguish them from the text: state Example: GOTO s4 – waiting for read record response The state machine of the Kernel is represented by means of a state diagram (as shown in Figure B.1). EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page 20 / 347 © 2026 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. This document uses a combination of flow diagrams and textual description in order to describe the state transitions in the state machine of the Kernel. Figure 1.1 shows the symbols used in the flow diagrams. Figure 1.1: Symbols Used in Transaction Flow Diagrams The combination of the flow diagrams and the corresponding textual descriptions constitute the requirements on the Kernel behaviour: • Each diagram in this specification has a unique label. • Each symbol in a diagram has a unique identifier that is the concatenation of the diagram label with the symbol number. Procedure start Procedure return Yes No decision task complex task procedure X connectors Yes No complex decision X – state state Procedure X signal received ACT CA(GPO) signal sent XYZ Yes No Implementation option test EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page 21 / 347 © 2026 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. • The textual description corresponding to the symbol in a diagram starts with the identifier of the symbol. The flow diagrams are read from top to bottom and define the order of execution of the processing steps. The textual description specifies the behaviour of the individual steps but bears no information on the order of execution. The requirements relate to the behaviour of the Kernel but leave flexibility in the actual implementation. The implementation must behave in a way that is indistinguishable from the behaviour specified in this document. Indistinguishable means that it creates the output as predicted by this specification for a given input. There is no requirement that the implementation realize the behaviour through a state machine as described in this document. 1.5.2 Data Object Notation Data object names are capitalized to distinguish them from the text: Data Object Name To refer to a sub-element of a data object (i.e. a specific bit, set of bits, or byte of a multi- byte data object), the following notational convention is used: • If the sub-element is defined in the data dictionary (Annex A), with each possible value of the sub-element having a name, then the following conventions apply: • The reference to the sub-element is 'Name of Sub-element' in Data Object Name. • The reference to the value is VALUE OF SUB-ELEMENT. Examples: • 'CDCVM successful' in POS Cardholder Interaction Information refers to bit 5 of byte 2 in POS Cardholder Interaction Information. • 'CVM' in Outcome Parameter Set := ONLINE PIN means the same as “bits 4 to 1 of byte 4 of Outcome Parameter Set are set to 0010b”. • Alternatively, an index may be used to identify a sub-element of a data object. In this case the following notational conventions apply: • To refer to a specific byte of a multi-byte data object, a byte index is used within brackets (i.e. [ ]). For example, Terminal Verification Results[2] represents byte 2 of Terminal Verification Results. The first byte (leftmost or most significant) of a data object has index 1. • To refer to a specific bit of a single byte multi-bit data object, a bit index is used within brackets [ ]. EMV ® Contactless Specifications for Payment Systems Kernel 2 Specification v2.12 Page 22 / 347 © 2026 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. For example, Cryptogram Information Data[7] represents the 7th bit of the Cryptogram Information Data. The first bit (rightmost or least significant) of a data object has index 1. • To refer to a specific bit of a multi-byte data object, a byte index and a bit index are used within brackets (i.e. [ ][ ]). For example, Terminal Verification Results[2][4] represents bit 4 of byte 2 of the Terminal Verification Results. • Ranges of bytes are expressed with the x:y notational convention: For example, Terminal Verification Results[1:4] represents bytes 1, 2, 3, and 4 of the Terminal Verification Results. • Ranges of bits are expressed with the y:x notational convention: For example, Cryptogram Information Data[5:1] represents bits 5, 4, 3, 2, and 1 of the Cryptogram Information Data. 1.5.3 Other Notational Conventions Notations for processing data and managing memory are described in Table 1.2. Table 1.2: Other Notational Conventions Symbol Meaning Example '0' to '9' and