M/Chip Advance V1.1 Personalization Guide
v01.71 (November, 2017)
All copyrights are reserved by KONA I Co., Ltd.
This manual can be revised without any notification.
Unauthorized copying is strictly prohibited by KONA I Co., Ltd without a written consent.
© Copyright KONA I Co., Ltd. 2017
M/CHIP ADVANCE personalization
i KONA i Co.,Ltd.
Table of Contents
1. M/CHIP ADVANCE ........................................................................................................................... 1
1.1. GENERAL....................................................................................................................................... 1
1.2. REFERENCE DOCUMENT ................................................................................................................ 1
1.3. REVISED HISTORY ......................................................................................................................... 2
1.4. MAIN FUNCTIONS .......................................................................................................................... 3
1.4.1. Protocol ................................................................................................................................ 3
1.4.2. Applet Selection .................................................................................................................... 3
1.4.3. Secure Channel Protocol ...................................................................................................... 3
1.4.4. Data Authentication .............................................................................................................. 3
1.4.5. Session key Derivation .......................................................................................................... 3
1.4.6. RSA Capabilities ................................................................................................................... 3
1.4.7. Script Processing .................................................................................................................. 3
1.4.8. Implementation specific limit ................................................................................................ 4
1.4.9. Memory requirement (*) ....................................................................................................... 4
1.4.10. Multiple Instance .................................................................................................................. 4
2. M/CHIP ADVANCE PERSONALIZATION .................................................................................... 5
2.1. SUPPORTING DGI .......................................................................................................................... 5
2.2. INSTALL PARAMETER ..................................................................................................................... 7
2.3. PRE-PERSONALIZATION ................................................................................................................. 8
2.4. PERSONALIZATION......................................................................................................................... 8
2.4.1. Procedure ............................................................................................................................. 8
2.4.2. Special Features ................................................................................................................... 8
2.4.3. Personalization Log .............................................................................................................. 9
3. M/CHIP ADVANCE DATA DICTIONARY ................................................................................... 18
3.1. DGI A001 ................................................................................................................................... 18
3.1.1. File Control Information .................................................................................................... 18
3.2. DGI A002 ................................................................................................................................... 18
3.2.1. Accumulator 1 Currency Code ........................................................................................... 18
3.2.2. Accumulator 1 Currency Conversion Table ....................................................................... 18
3.2.3. Accumulator 1 Lower Limit ................................................................................................ 19
3.2.4. Accumulator 1 Upper Limit ................................................................................................ 20
3.2.5. Accumulator 2 Currency Code ........................................................................................... 20
M/CHIP ADVANCE personalization
ii KONA i Co.,Ltd.
3.2.6. Accumulator 2 Lower Limit ................................................................................................ 20
3.2.7. Accumulator 2 Upper Limit ................................................................................................ 20
3.2.8. Additional Check Table ...................................................................................................... 20
3.2.9. CDOL1 Related Data Length ............................................................................................. 21
3.2.10. Counter 1 Lower Limit ....................................................................................................... 21
3.2.11. Counter 1 Upper Limit ....................................................................................................... 21
3.2.12. Counter 2 Lower Limit ....................................................................................................... 22
3.2.13. Counter 2 Upper Limit ....................................................................................................... 22
3.2.14. CRM Country Code ............................................................................................................ 22
3.2.15. Cryptogram Version Number V2.x ..................................................................................... 22
3.2.16. Default ARPC Response Code ............................................................................................ 23
3.2.17. Interface Enabling Switch................................................................................................... 23
3.2.18. MTA Currency Code ........................................................................................................... 24
3.2.19. Number Of Days Off Line Limit .......................................................................................... 24
3.3. DGI A012 ................................................................................................................................... 24
3.3.1. Accumulator 1 Control (Contact) ....................................................................................... 24
3.3.2. Accumulator 1 CVR Dependency Data (Contact) .............................................................. 25
3.3.3. Accumulator 2 Control (Contact) ....................................................................................... 25
3.3.4. Accumulator 2 CVR Dependency Data (Contact) .............................................................. 26
3.3.5. Application Control (Contact) ............................................................................................ 26
3.3.6. Card Issuer Action Code (Contact) – Decline .................................................................... 28
3.3.7. Card Issuer Action Code (Contact) – Default..................................................................... 29
3.3.8. Card Issuer Action Code (Contact) – Online ...................................................................... 29
3.3.9. Counter 1 Control (Contact) ............................................................................................... 30
3.3.10. Counter 1 CVR Dependency Data (Contact) ...................................................................... 31
3.3.11. Counter 2 Control (Contact) ............................................................................................... 31
3.3.12. Counter 2 CVR Dependency Data (Contact) ...................................................................... 32
3.3.13. CVR Issuer Discretionary Data (Contact) .......................................................................... 32
3.3.14. Interface Identifier (Contact) .............................................................................................. 33
3.3.15. MTA CVM (Contact) ........................................................................................................... 33
3.3.16. MTA NoCVM (Contact) ...................................................................................................... 33
3.3.17. Read Record Filter (Contact) ............................................................................................. 33
3.4. DGI A022 ................................................................................................................................... 34
3.4.1. Accumulator 1 Control (Contactless) ................................................................................. 34
3.4.2. Accumulator 1 CVR Dependency Data (Contactless) ........................................................ 34
3.4.3. Accumulator 2 Control (Contactless) ................................................................................. 35
M/CHIP ADVANCE personalization
iii KONA i Co.,Ltd.
3.4.4. Accumulator 2 CVR Dependency Data (Contactless) ........................................................ 35
3.4.5. Application Control (Contactless) ...................................................................................... 36
3.4.6. Card Issuer Action Code (Contactless) – Decline .............................................................. 37
3.4.7. Card Issuer Action Code (Contactless) – Default ............................................................... 38
3.4.8. Card Issuer Action Code (Contactless) – Online ................................................................ 39
3.4.9. Counter 1 Control (Contactless) ......................................................................................... 40
3.4.10. Counter 1 CVR Dependency Data (Contactless) ................................................................ 40
3.4.11. Counter 2 Control (Contactless) ......................................................................................... 41
3.4.12. Counter 2 CVR Dependency Data (Contactless) ................................................................ 41
3.4.13. CVR Issuer Discretionary Data (Contactless) .................................................................... 42
3.4.14. Interface Identifier (Contactless) ........................................................................................ 42
3.4.15. MTA CVM (Contactless) ..................................................................................................... 42
3.4.16. MTA NoCVM (Contactless) ................................................................................................ 43
3.4.17. Read Record Filter (Contactless) ....................................................................................... 43
3.5. DGI B010 ................................................................................................................................... 43
3.5.1. IVCVC3(Track1) (Contact) ................................................................................................. 43
3.5.2. IVCVC3(Track2) (Contact) ................................................................................................. 43
3.6. DGI B023 ................................................................................................................................... 44
3.6.1. IVCVC3(Track1) (Contactless) ........................................................................................... 44
3.6.2. IVCVC3(Track2) (Contactless) ........................................................................................... 44
3.7. DGI B002 ................................................................................................................................... 44
3.7.1. Log Data Table ................................................................................................................... 45
3.7.2. Log Format ......................................................................................................................... 45
3.8. DGI A005 ................................................................................................................................... 46
3.8.1. Application Interchange Profile (Contact) ......................................................................... 46
3.8.2. Application File Locator (Contact) .................................................................................... 46
3.9. DGI B005 ................................................................................................................................... 46
3.9.1. Application Interchange Profile (Contactless) ................................................................... 47
3.9.2. Application File Locator (Contactless) .............................................................................. 47
3.10. DGI A007 ............................................................................................................................... 47
3.10.1. Application Transaction Counter Limit .............................................................................. 47
3.10.2. Previous Transaction History ............................................................................................. 47
3.11. DGI A017 ................................................................................................................................... 48
3.11.1. AC Session Key Counter Limit (Contact) ........................................................................... 48
3.11.2. Key Derivation Index (Contact) .......................................................................................... 48
3.11.3. SMI Session Key Counter Limit (Contact) .......................................................................... 48
M/CHIP ADVANCE personalization
iv KONA i Co.,Ltd.
3.12. DGI A027 ............................................................................................................................... 49
3.12.1. AC Session Key Counter Limit (Contactless) ..................................................................... 49
3.12.2. Key Derivation Index (Contactless) .................................................................................... 49
3.12.3. SMI Session Key Counter Limit (Contactless) .................................................................... 49
3.13. DGI A008 ............................................................................................................................... 49
3.13.1. PIN Decipherments Error Counter Limit ........................................................................... 50
3.14. DGI A009 ............................................................................................................................... 50
3.14.1. Application Life Cycle Data ............................................................................................... 50
3.15. DGI A00E ............................................................................................................................... 50
3.15.1. DS management Control ..................................................................................................... 50
3.15.2. DS Number Of Slots ............................................................................................................ 51
3.15.3. DSPK .................................................................................................................................. 51
3.16. DGI B011 ~ B01A. ................................................................................................................. 51
3.16.1. Protected Data Envelope 1 (to 5) ....................................................................................... 51
3.16.2. Unprotected Data Envelope 1 (to 5) ................................................................................... 51
3.17. DGI 0E01 ~ 0E0X. .................................................................................................................. 52
3.18. DGI 8000. ............................................................................................................................... 52
3.18.1. AC Master Key (Contact) ................................................................................................... 52
3.18.2. SM for Integrity (SMI) Master Key (Contact)..................................................................... 52
3.18.3. SM for Confidentiality (SMC) Master Key (Contact) ......................................................... 53
3.19. DGI 8001. ............................................................................................................................... 53
3.19.1. AC Master Key (Contactless) ............................................................................................. 53
3.19.2. SM for Integrity (SMI) Master Key (Contactless) ............................................................... 53
3.19.3. SM for Confidentiality (SMC) Master Key (Contactless) ................................................... 53
3.20. DGI A006. .............................................................................................................................. 54
3.20.1. ICC Dynamic Number Master Key (Contact) ..................................................................... 54
3.21. DGI A016. .............................................................................................................................. 54
3.21.1. ICC Dynamic Number Master Key (Contactless) ............................................................... 54
3.22. DGI 8400. ............................................................................................................................... 54
3.22.1. KDCVC3 (Contact)............................................................................................................. 54
3.23. DGI 8401. ............................................................................................................................... 55
3.23.1. KDCVC3 (Contactless) ....................................................................................................... 55
KONA i Co.,Ltd.
1
M/CHIP ADVANCE personalization
1. M/CHIP ADVANCE
1.1. General
KONA i M/CHIP ADVANCE is designed based on Java card version 2.2.1 and Global
Platform 2.1.1, EMV CPS 1.1.
This documentation describes personalization of M/CHIP ADVANCE.
1.2. Reference Document
M/Chip Advance Card Application Specification Payment & Data Storage Version 1.1,
November 2009
M/Chip Advance Common Personalization Specification Version 1.0, February 2010
EMV v4.2 BOOK 1 – 3
EMV Common Personalization Specifications
MChip_Advance_data_sharing_personalization_v1.0
KONA i Co.,Ltd.
2
M/CHIP ADVANCE personalization
1.3. Revised History
Version Date Chapter modified
Modification
1.0 2012-05-22 New draft
1.1 2012-11-19 1.4.10. 2.4.3. 3.
- Multiple Instance functions for sharing Accumulator and Counter added.
- Personalization Log updated - Data dictionary chapter added.
1.2 2014-11-26 2.2 AID information
1.4 2016-08-10 2.1, 3.18, 3.19
DGI 8000, 8001 CT/CL change
1.5 2016-09-02 1.2 To change the M/Chip Advance specification version
1.6 2017-01-12 2.2 Install parameter modified
1.7 2017-10-12 1.4.6, 2.1 - RSA key length modified - RSA CRT key description modified
v01.71 2017-11-07 All - Enhanced RSA-CRT private key description - Corrected typing errors
KONA i Co.,Ltd.
3
M/CHIP ADVANCE personalization
1.4. Main Functions
1.4.1. Protocol
T=0, T=1
T=CL
1.4.2. Applet Selection
AID
Partial AID
Next AID select
1.4.3. Secure Channel Protocol
SCP 02 with implementation option ‘15’
1.4.4. Data Authentication
Static Data Authentication(SDA)
Dynamic Data Authentication(DDA)
Combined DDA(CDA)
1.4.5. Session key Derivation
The MasterCard Proprietary SKD1 method
The EMV CSK method
1.4.6. RSA Capabilities
Maximum RSA Certificate length for SDA 248 bytes
Maximum RSA Certificate length for DDA 248 bytes
Odd RSA key length supported No
(Maximum RSA length depends on the Kona platform.)
1.4.7. Script Processing
Put data
Update Record
Application block, unblock
PIN change, unblock
KONA i Co.,Ltd.
4
M/CHIP ADVANCE personalization
1.4.8. Implementation specific limit
Maximum numbers of record in the Log file 10
Maximum numbers of Data storage record 15 (0x0F)
AFL maximum size 255 bytes
1.4.9. Memory requirement (*)
M/CHIP
ADVANCE
Load 33,739
Install 1,383
Personalization 5,988
Total(bytes) 41,110
(*) It could be changed according to its applet version and personalization procedure.
1.4.10. Multiple Instance
Multiple Instance : supported
Shared PIN : supported
Shared Accumulator/Counter : supported
KONA i Co.,Ltd.
5
M/CHIP ADVANCE personalization
2. M/CHIP ADVANCE Personalization
On this chapter, it describes the basic information of personalization for M/Chip
Advance.
2.1. Supporting DGI
This chapter explains the M/Chip Advance’s Data Group Identifier and which data should be
included in each DGIs. Customer should notice that there are some DGIs should be
personalized correctly following the ‘Fixed length and value only structure’, not ‘TLV’. 2.4.3.
Personalization Log in this document explains how to form the DGIs correctly for each data.
DGI (*) Value
A001 FCI
A002 Accumulator 1 Currency Code || Accumulator 1 Currency Conversion Table || Accumulator 1 Lower Limit || Accumulator 1 Upper Limit || Accumulator 2 Currency Code || Accumulator 2 Currency Conversion Table || Accumulator 2 Lower Limit || Accumulator 2 Upper Limit || Additional Check Table || CDOL1 Related Data Length || Counter 1 Lower Limit || Counter 1 Upper Limit || Counter 2 Lower Limit || Counter 2 Upper Limit || CRM Country Code || Cryptogram Version Number V2.x || Default ARPC Response Code || Interface Enabling Switch || MTA Currency Code || Number Of Days Off Line Limit
A012 (Contact)
Accumulator 1 Control || Accumulator 1 CVR Dependency Data || Accumulator 2 Control || Accumulator 2 CVR Dependency Data || Application Control || Card Issuer Action Code - Decline || Card Issuer Action Code - Default || Card Issuer Action Code - Online || Counter 1 Control || Counter 1 CVR Dependency Data || Counter 2 Control || Counter 2 CVR Dependency Data || CVR Issuer Discretionary Data || Interface Identifier || MTA CVM || MTA NoCVM || Read Record Filter
A022 (Contactless)
Accumulator 1 Control || Accumulator 1 CVR Dependency Data || Accumulator 2 Control || Accumulator 2 CVR Dependency Data || Application Control || Card Issuer Action Code - Decline || Card Issuer Action Code - Default || Card Issuer Action Code - Online || Counter 1 Control || Counter 1 CVR Dependency Data || Counter 2 Control || Counter 2 CVR Dependency Data || CVR Issuer Discretionary Data || Interface Identifier || MTA CVM || MTA NoCVM || Read Record Filter
B010 (Contact) IVCVC3(Track1) || IVCVC3(Track2)
B023 (Contactless) IVCVC3(Track1) || IVCVC3(Track2)
B002 Log Data Table || Log Format
A005 (Contact) AIP || AFL
B005 (Contactless) AIP || AFL
A007 ATC Limit || PTH
A017 (Contact) AC Session Key Counter Limit || Key Derivation Index || SMI Session Key Counter Limit
A027 (Contactless) AC Session Key Counter Limit || Key Derivation Index || SMI Session Key Counter Limit
A008 PIN Decipherments Error Counter Limit
A009 Application Life Cycle Data
A00E DS management Control || DS Number Of Slots || DSPK
B011 ~ B015 Protected Data Envelope x (x = 1 to 5)
KONA i Co.,Ltd.
6
M/CHIP ADVANCE personalization
B016 ~ B01A Unprotected Data Envelope x (x = 1 to 5)
0E01 ~ 0E0F Data Storage record x (x = 1..5 or more)
8000 (Contact) AC Master Key || SM for Integrity Master Key || SM for Confidentiality Master Key
8001 (Contactless) AC Master Key || SM for Integrity Master Key || SM for Confidentiality Master Key
A006 (Contact) ICC Dynamic Number Master Key
A016 (Contactless) ICC Dynamic Number Master Key
8010 Referenced PIN
8400 (Contact) KDCVC3
8401 (Contactless) KDCVC3
9010 Pin Try Counter and Pin Try Limit(Max 15)
8201* ICC Private Key RSA-CRT constant q-1
mod p
8202* ICC Private Key RSA-CRT constant d mod (p – 1)
8203* ICC Private Key RSA-CRT constant d mod (q – 1)
8204* ICC Private Key RSA-CRT constant prime factor p
8205* ICC Private Key RSA-CRT constant prime factor q
8301* ICC PIN Encipherment Private Key RSA-CRT constant q-1
mod p
8302* ICC PIN Encipherment Private Key RSA-CRT constant d mod (p – 1)
8303* ICC PIN Encipherment Private Key RSA-CRT constant d mod (q – 1)
8304* ICC PIN Encipherment Private Key RSA-CRT constant prime factor p
8305* ICC PIN Encipherment Private Key RSA-CRT constant prime factor q
* Customer CANNOT change the ‘DGI’ (Left column in the table) to other specific value.
DGI 8201~8205, 8301~8305* : If p and q are not inputted properly, personalization can
succeed but transaction can be aborted.
KONA i Co.,Ltd.
7
M/CHIP ADVANCE personalization
2.2. Install parameter
KONA i‘s M/Chip Advance applet supports below Multiple instance functionalities and RSA
enable/disable switch, so the Customer can change the bit set of Install parameter value to
customize the applet up to the customer’s need and correct use.
Value
Package AID A0 00 00 00 04 10
Modulus AID A0 00 00 00 04 10 10
Instance AID(General) A0 00 00 00 04 10 10(MasterCard) A0 00 00 00 04 30 60(Maestro)
parameter Value(hex) Description
C9 00 empty Enable Dual-interface, RSA, PIN Sharing, and Accumulator and Counter Sharing.
C9 01 XY
X : 0x8Y –Contact only X : 0x4Y –PIN sharing not support X : 0x2Y –RSA not support X : 0x1Y –Accumulator sharing not support Y : 0xXY –record No for data storage
C9 07 ZZZZZZZZZZZZZZ Multi-application for data sharing Refer to “MChip_Advance_data_sharing_personalization_v1.0”
Example1) RSA not support and data storage record No is 5
- C901 25
Example2) Contact only
- C901 80
KONA i Co.,Ltd.
8
M/CHIP ADVANCE personalization
2.3. Pre-personalization
KONA i M/CHIP ADVANCE does not require pre-personalization process.
2.4. Personalization
2.4.1. Procedure
1. Select M/CHIP ADVANCE
2. Initialize update, External authentication(security level 00)
3. STORE DATA SFI record
4. STORE DATA DGI record
5. End personalization
2.4.2. Special Features
When the initial authorization, set ‘00’ as security level.
The value of P2 for STORE DATA commands should be set as the sequential number.
It starts with ‘00’ and should increment one by one following the previous Store Data
command.
If the previous STORE DATA command didn’t finished correctly (SW != “9000”), the
following Store Data commands will be resulted “6985”.
The left-most bit of P1 parameter for the LAST STORE DATA Command should be set
to ‘1’. (eg. 80E280.. for common STORE DATA command or 80E2E0.. for the Last
STORE DATA command)
The APDU command data should start with SFI or DGI.
The last STORE DATA should be issued to finish the personalization process, and it
occurs the life cycle of applet instance changed to ‘Personalized’ status (It means
ready to use).
There are some data should be encrypted using the session Key, and issuer should
set the second left-most bit of P1 for Store Data command to 1. (eg. 80E260.. for
common STORE DATA command or 80E2E0.. for the Last STORE DATA command)
During the personalization, [0x84] class byte of APDU command is also supported for
secure messaging. (MAC, Encrypted MAC)
During the personalization using [0x84] class byte, total length of APDU data SHOULD
NOT over the ‘0xFF’.
During the personalization, if the PIN referenced data was following the ISO-9654
KONA i Co.,Ltd.
9
M/CHIP ADVANCE personalization
format 1, the PIN data format will be changed to ISO-9654 format 2 and it will be stored
changed format in the m/chip applet. However the PIN data which is following ISO-
9654 format 2 just be stored in the applet using its own format.
If the customer needs to create the multiple instances, the shared PIN or shared
Accumulator and Counter functionalities can be supported using the Install parameter
setting.
If the product doesn’t need to support RSA functions (Supports only SDA), the
customer can set the install parameter value for it to do not support RSA functionality.
2.4.3. Personalization Log
This below personalization log data is for personalize the M/Chip Advance Profile 1H.
[Select M/CHIP ADVANCE]
00A4040007A000000004101000
C – 9000
[Initialize update]
8050000008112233445566778800
C - 00001191000953956536FF02007914A316934E88F369F5D7857936319000
[External authentication]
8482000010FAA9C9E31DD08A1A7A49908A6B058F93
C – 9000
[Store data SFI 1 record 1] – TLV format
80E200007A01017770759F6C0200019F62060000003800009F630600000000E0E0563442353
431333333393030303030313531335E202F5E31323132323031333330303033333330303032
3232323230303031313131309F6401039F6502000E9F66020E709F6B135413339000001513D
12122019000990000000F9F670103
C – 9000
[Store data SFI 2 record 1] – TLV format
80E200013D02013A70385F24031212315F25030601019F0702FF005A0854133390000015139
F0D05F8406420009F0E0500108800009F0F05F86064F8005F28020056
C – 9000
[Store data SFI 2 record 2] – TLV format
80E200025802025570538C279F02069F03069F1A0295055F2A029A039C019F37049F35019F
45029F4C089F34039F21039F7C148D12910A8A0295059F37049F4C089F02069F03068E140
0000000000000004201440341035E0342031F03
C – 9000
[Store data SFI 2 record 3] – TLV format
KONA i Co.,Ltd.
10
M/CHIP ADVANCE personalization
80E200033802033570339F420209789F0802000257125413339000001513D12122010000000
000009F5B0CDF6008DF6108DF6201DF63A09F51039F3704
C – 9000
[Store data SFI 2 record 4] – TLV format
80E200040902040670049F320103
C – 9000
[Store data SFI 3 record 1] – TLV format
80E200052E03012B70298F01F492246E8042D075DDC54E51300D03E44EBFF7140C0556B3
9CA0D78B28553644A12365F40FA547
C – 9000
[Store data SFI 3 record 2] – TLV format
80E20006B90302B67081B39081B005098E4A0109D8CF39DFCB6BFC7282FD5D7A361B6DC
1AD68F56CE08AA6F6D66799C35A4D010B89B59DFB1D08AD71618C52DBB153E189DAE4
E1E85B98946ACF3E163257E57E5D3FE13F50AEE650CA44A1B2C083EBDBCA51DD328CE
9F1D3DB6E3443A9783F3FAAEA8C110F1E066DD7858AF4D98CC5FB7EBF6883C4A1707CD
DDD596777EA3AC672D2897BC572B302881191BF28E21A4E7079284FC9284A2344F3FF017
AD83FDC84F9D81948AE6704089845
C – 9000
[Store data SFI 3 record 3] – TLV format
80E200073E03033B70399F47030100019F482AAE83BF5BB436738AC650AC991DB606E566
44E9CCFC6A7035434D7D425C5FBF474799E09F79E31472FBF39F49039F3704
C – 9000
[Store data SFI 3 record 4] – TLV format
80E200083803043570339F2E030100019F2F2AC5C9852EDB8C522912F3D49EADDDEF225
7297F73C9955499297DD3386999A8BD86FEAB16F3191E15287B
C – 9000
[Store data SFI 3 record 5] – TLV format
80E20009BA0305B77081B49F2D81B0146FE7A06FE8C745EA2EE1DB2F9991671AB7FE38E
E4BB4888B69B7DD47166AA5E622564FC4B0ADD7AB36B0C66027CE75FFD86EF21172D84
11225A947BC27A03614150E6559B4754979D3E60EBED06B1C4AAEA8EFB678703424C705
530CA6B105A2C4541D805D4F4676ACBAE8B3861B191A841DA33592B6E2E1C50C41F4167
1056422AC99B7F8C7D3F57358FB98C3EEEE5F2413B45DEF4166D77C9A60D9002329E832
5A60860329807C420DD6D50347F5
C – 9000
[Store data SFI 4 record 1] - TLV
80E2000A0904010670045F340101
C – 9000
[Store data SFI 4 record 2] - TLV
KONA i Co.,Ltd.
11
M/CHIP ADVANCE personalization
80E2000BB90402B67081B39381B03FF1243F0246FAFFAB8C7D97D425E49370FDB0855569
EC6BFCA0DD065EA3C9FD70F395CD63D207C2EBF1961EB2D625C960D904622BE5257A6
094A2E223A74164169A0B47AA5BC39BCCB9AF7338FD36904F50818D16F02E9F67C421A7
683F925F17397C1F1DCFAAB1D82F1E941BE4E97ABF82C50742499A90A4C5E36785877C0
8C6C3D721ECDE2DCD6A8078BD4FD637FAE4768069406B607090EC7527ACFDEAAC613B
424C5794C596EF7A782B470A1817
C – 9000
[Store data SFI 4 record 3] - TLV
80E2000CBA0403B77081B49F4681B064ED7F7ED9A334FBF05642A154FAC90DF43D5C36E
D3C2030988B624A074E409ED2FCCB10726E84008F0E09B334FE265942500C585383B8D08
C8D5ADA559E5BC85F245691208AC05FFCCC8F46067791D0B52D04940BCF4F749DB676A
8024F403D7BB5D4DD3469A84CB4BEE3832BE1998D2B92CF8B3FB46DF1584D124E39B38
DCAEC05988CB3383E590A766AB2B8BA13DF0248E96882F5BB1D09E154227172CE67EA6
841FFE4A450A80C1BD0E15359E5D7
C – 9000
[Store data SFI 5 record 1] - TLV
80E2000D0905010670045F340101
C – 9000
[Store data SFI 5 record 2] - TLV
80E2000EB90502B67081B39381B03FF1243F0246FAFFAB8C7D97D425E49370FDB0855569
EC6BFCA0DD065EA3C9FD70F395CD63D207C2EBF1961EB2D625C960D904622BE5257A6
094A2E223A74164169A0B47AA5BC39BCCB9AF7338FD36904F50818D16F02E9F67C421A7
683F925F17397C1F1DCFAAB1D82F1E941BE4E97ABF82C50742499A90A4C5E36785877C0
8C6C3D721ECDE2DCD6A8078BD4FD637FAE4768069406B607090EC7527ACFDEAAC613B
424C5794C596EF7A782B470A1817
C – 9000
[Store data SFI 5 record 3] - TLV
80E2000FBA0503B77081B49F4681B064ED7F7ED9A334FBF05642A154FAC90DF43D5C36E
D3C2030988B624A074E409ED2FCCB10726E84008F0E09B334FE265942500C585383B8D08
C8D5ADA559E5BC85F245691208AC05FFCCC8F46067791D0B52D04940BCF4F749DB676A
8024F403D7BB5D4DD3469A84CB4BEE3832BE1998D2B92CF8B3FB46DF1584D124E39B38
DCAEC05988CB3383E590A766AB2B8BA13DF0248E96882F5BB1D09E154227172CE67EA6
841FFE4A450A80C1BD0E15359E5D7
C – 9000
[Store data SFI 6 record 1] - TLV
80E200101106010E700C5F2009746573742063617264
C – 9000
[Store data DGI 8010] – Encrypted Referenced PIN
KONA i Co.,Ltd.
12
M/CHIP ADVANCE personalization
80E260110B80100822A2146282468529
C – 9000
[Store data DGI A008] – PIN Decipherments Error Counter Limit (TLV)
80E2001205A00802FF00
C – 9000
[Store data DGI A00E] – DS management Control, DS Number Of Slots, DSPK (Value only)
80E2001311A00E0E C1 05 6C1A42B40000B400001E1A02
C – 9000
[Store data DGI 8000] – Encrypted AC, SMI, SMC Keys for Contact
80E2601433800030CC12633C1E1B300A80480B690C40ACF14E38A7FCC7ED889D74A8D74
70862F800D884E138E2D1C9B95C10B572F29D6245
C – 9000
[Store data DGI A006] – Encrypted IDN_MK Key for Contact
80E2601513A006107503874D1E5A56B7CE0A43AAB2646DBF
C – 9000
[Store data DGI A006] – Encrypted KDCVC3 Key for Contact
80E260161384001043305F7D1DA18648C92930645D5C4AB9
C – 9000
[Store data DGI A006] – AC Session Key Counter Limit, Key Derivation Index, SMI
Session Key Counter Limit (Value only)
80E2001708A01705 FFF0 11 FF00
C – 9000
[Store data DGI 8000] – Encrypted AC, SMI, SMC Keys for Contactless
80E260183380013001B4ABEEECC9ED176853EF4F614A3EB76F3D496C8FFB342D91D4F09
E5D6E6BD0B99AFD3879A8B88269B7CA14D978E76C
C – 9000
[Store data DGI A016] – Encrypted IDN_MK Key for Contactless
80E2601913A016104E2E9C908F2C3D7761486046C754629E
C - 9000
[Store data DGI 8401] – Encrypted KDCVC3 Key for Contactless
80E2601A13840110AB6D2930B3F74CB7B593F7EA8C32AEAD
C – 9000
[Store data DGI A027] – AC Session Key Counter Limit, Key Derivation Index, SMI
Session Key Counter Limit (Value only)
80E2001B08A02705 FFF0 22 FF00
C – 9000
[Store data DGI A001] – FCI
80E2001C41A0013E6F3C8407A0000000041010A531500A4D6173746572436172649F38069
KONA i Co.,Ltd.
13
M/CHIP ADVANCE personalization
F5C089F4005BF0C199F5E0B54133390000015130100009F5D030101009F4D020B0A
C – 9000
[Store data DGI A002] – Customization data which has FIXED length (Shared data for
each CT and CL interface)
80E2001D72A0026F 0978 09780000000978000000097800000009780000000978000000
999999999999 999999999999
0840 08400000000840000000084000000008400000000840000000
999999999999 999999999999
1A0402FFFFFFFF00000000FFFFFFFFFFFFFF 42 FFFFFFFF0056020010030978FFFF
C – 9000 (Above APDU command seems like has some spaces in here, but you should
regarding it as just a simple APDU command. And each data are matched consecutively which
is described in the “2.1. Supporting DGI” of this document.)
[Store data DGI B011] - Protected Data Envelope 1 (up to 0x70)
80E2001E43B0114000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B012] - Protected Data Envelope 2 (up to 0x70)
80E2001F43B0124000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B013] - Protected Data Envelope 3 (up to 0x70)
80E2002043B0134000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B014] - Protected Data Envelope 4 (up to 0x70)
80E2002143B0144000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B015] - Protected Data Envelope 5 (up to 0x70)
80E2002243B0154000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B016] - Unprotected Data Envelope 1 (up to 0x70)
80E2002343B0164000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B017] - Protected Data Envelope 2 (up to 0x70)
80E2002443B0174000000000000000000000000000000000000000000000000000000000000
KONA i Co.,Ltd.
14
M/CHIP ADVANCE personalization
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B018] - Protected Data Envelope 3 (up to 0x70)
80E2002543B0184000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B019] - Protected Data Envelope 4 (up to 0x70)
80E2002643B0194000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI B01A] - Protected Data Envelope 5 (up to 0x70)
80E2002743B01A4000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI 0E01] – Data Storage Record # 1
80E20028D30E01D0E581CDDF01080000000000000000DF020100DF0308000000000000000
0DF040100DF05080000000000000000DF0681A0000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI 0E02] – Data Storage Record # 2
80E20029D30E02D0E581CDDF01080000000000000000DF020100DF0308000000000000000
0DF040100DF05080000000000000000DF0681A0000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI 0E03] – Data Storage Record # 3
80E2002AD30E03D0E581CDDF01080000000000000000DF020100DF0308000000000000000
0DF040100DF05080000000000000000DF0681A0000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000
C – 9000
KONA i Co.,Ltd.
15
M/CHIP ADVANCE personalization
[Store data DGI 0E04] – Data Storage Record # 4
80E2002BD30E04D0E581CDDF01080000000000000000DF020100DF0308000000000000000
0DF040100DF05080000000000000000DF0681A0000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI 0E05] – Data Storage Record # 5
80E2002CD30E05D0E581CDDF01080000000000000000DF020100DF0308000000000000000
0DF040100DF05080000000000000000DF0681A0000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000
C – 9000
[Store data DGI A012] – Customization data which has FIXED length (for Contact)
80E2002D34A01231 C5 000000 C5 000000 9C064098E10C 000000 000000 000000 D5
000000 55 000000 01 C1 999999999999 999999999999 2001FF00
C – 9000 (Above APDU command seems like has some spaces in here, but you should
regarding it as just a simple APDU command. And each data are matched consecutively which
is described in the “2.1. Supporting DGI” of this document.)
[Store data DGI A022] – Customization data which has FIXED length (for Contactless)
80E2002E38A02235 C5 000000 C5 000000 9C064098E10C 000000 000000 000000 D5
000000 55 000000 02 C2 999999999999 999999999999 2801FF003001FF00
C – 9000 (Above APDU command seems like has some spaces in here, but you should
regarding it as just a simple APDU command. And each data are matched consecutively which
is described in the “2.1. Supporting DGI” of this document.)
[Store data DGI 8201] – Encrypted ICC RSA p-1 mod q
80E2602F6382016083D5D8EF7322F99190859854E258FC679F865DCBAC916B12F91FEEA5
DCCD8B9ED2AD629A585BD80DC9B0FE1F3E2235C39BAA258F3B8F014658E87C3DE8D1F
86AC08A5DC00E83472DDEA4D0FA4033F7091F32BE727FA1BA33A2A8452648062810
C – 9000
[Store data DGI 8202] – Encrypted ICC RSA d mod (p - 1)
80E2603063820260EB94278D3FD28E9C8B15493A642AE499C3F695A0A4B96F1A57892FD
E568D686E23DA5F283CCB0DCF1B56EB0EF3D5F63E3284565B86AE0BFD78FD22C75B360
BFC36684996EAEAEFDF23365879E68737E529F6C5EE591EF108A2A8452648062810
C – 9000
KONA i Co.,Ltd.
16
M/CHIP ADVANCE personalization
[Store data DGI 8203] – Encrypted ICC RSA d mod (q - 1)
80E2603163820360B5FD4780A0C47DFB92E7EDE365E5A88D4E77C3E9F231F5641C84300
79E0E81154D95145204E9C0FDB9E6736E28DDF80DDD6C5D6B8458BEE7C25D922D8ABB
DBD48156541E763E6A6801FED557632106AC35E70F6159EF2C72A2A8452648062810
C – 9000
[Store data DGI 8204] – Encrypted ICC RSA prime factor p
80E260326382046087AD61924AA7ACADA75521927C224291FB1304C9DD963DAF8C0BD7A
F60C6ACF2E19FEB9AB4DFABED89EBAABDFE3521DED8D27D5882B1D9F8653565A51362
BE2BB6287F8A12A4A1FF53364C3299D55E0F38EFD29AA976D8C2A2A8452648062810
C – 9000
[Store data DGI 8205] – Encrypted ICC RSA prime factor q
80E2603363820560D8BB0F6445EC3198ACBB174BCE24A26905D8AC76E5DB32073BAC561
1A64DB03F3A6367BFAE7CC878A68D1EB35DBB8D4A09724462E681A6DC09F0270ACB634
3577D12A8D35357FEB5C5E061347B26D0F2AA65596C4F7288BDA2A8452648062810
C – 9000
[Store data DGI 8301] – Encrypted PIN RSA p-1 mod q
80E26034638301605A9D76DFF5B7D51E893853AA597BB0EA2A5EE2398F30CEF14C3E140
485833C8296EF8A0017100BB70482A5A9070ED866BB4F31EBAEDEDAE87B18090BE638D
AA926FF67BBC85A7C8F882227F4AA1CBED3CD0AE27BDF6763D6A2A8452648062810
C – 9000
[Store data DGI 8302] – Encrypted PIN RSA d mod (p - 1)
80E2603563830260B800338C4106FDDFCED0FCBA821BDDA897BEA0DB42B74ED5592D8D
4A1933C112A30AF6619BCA04F90980A7CDF42C6AF5855936F2FFEC53FCB01FE45A7EF59
2FACCEE1644CF532CA0EAC8A393837AE5F8A496DDFFD8A3E246A2A8452648062810
C – 9000
[Store data DGI 8303] – Encrypted PIN RSA d mod (q - 1)
80E26036638303605E7A1074755140D96D207A078ADAB24ABAA35EFC9A6454CB6AAAF35
060C490C64A6C8C5FFCF7B7C16D76F007D22C3DC6DA74FE1D6EC1CAD05F7ED322E262
9AE583EC179D2548FD6D995DD7DF20BF1F5ADEFB6BE1F08190E5A2A8452648062810
C – 9000
[Store data DGI 8304] – Encrypted PIN RSA prime factor p
80E26037638304606163B417E96F678EC9B8994215FBD0B7BDD04428A98E831FD1959140
CE189C22FEA157FDED214043F37CECFEDBAB580444510163FA1BFEEAC87E4835EBCC0
E3E81366FD3B645E61A59CAB21668FECBFD6335A95BE2572332A2A8452648062810
C – 9000
[Store data DGI 8305] – Encrypted PIN RSA prime factor q
80E2603863830560D0E1BBEBAFEDC0C8006A68512919CBF64BF567925A9175EB6736E5B
17E9820AEEF0EB5A8CDE2EA745034B51495D80FA07C60E71D4B1E5E2D5894A1A8EFFF5
KONA i Co.,Ltd.
17
M/CHIP ADVANCE personalization
9167C1457CBCB977D774605134296D21FE58944A976E2A61FAEA2A8452648062810
C – 9000
[Store data DGI 9010] – PTC, PTL
80E2003905901002 03 03
C – 9000
[Store data DGI A007] – ATC limit, PTH
80E2003A06A00703 FFFF 00
C – 9000
[Store data DGI A009] – Application Life cycle data
80E2003B33A009300101020304050607A1A2A3A4A5A6A7A8A9AAABACADAEAFB0B1B2B3
B4C1C2C3C4C5C6C7C8C9CACBCCCDCECFD0D1D2D3D4
C – 9000
[Store data DGI B002] – Log data table, Log format
80E2003C26B00223
00FFFFFFFFFFFFFFFF 9F27019F02065F2A029A039F36029F5206DF3E019F21039F7C14
C - 9000 (Above APDU command seems like has some spaces in here, but you should
regarding it as just a simple APDU command. And each data are matched consecutively which
is described in the “2.1. Supporting DGI” of this document.)
[Store data DGI B010] – ICVC3 Track 1, 2 (for Contact)
80E2003D07B01004 7FEE 7298
C – 9000
[Store data DGI B023] – ICVC3 Track 1, 2 (for Contactless)
80E2003E07B02304 CAA0 EB2A
C – 9000
[Store data DGI A005] – AIP, AFL (for Contact)
80E2003F19A00516 7900 0801010010010401180105002801030130010100
C – 9000
[Store data DGI B005] – AIP, AFL (for Contactless) // END PERSO
80E2804015B00512 7980 08010100100104011801050020010301
C – 9000
KONA i Co.,Ltd.
18
M/CHIP ADVANCE personalization
3. M/CHIP ADVANCE Data Dictionary
The data in each record must be personalized according to defined order and length.
3.1. DGI A001
3.1.1. File Control Information
Tag: '6F'
Length: Variable, 10 - 252 bytes
Type: Persistent
Description: The application does not interpret the FCI. It simply returns it in the
response to the select signal.
The issuer must personalize the FCI compliant with [EMV].
3.2. DGI A002
DGI A002 includes the data could be used or share between both interface Contact and
Contactless. Each data in this DGI A002 could be read using ‘GET DATA’ command or
updated using ‘PUT DATA’ command after the Personalization process. The data in each
record must be personalized using VALUE only according to defined order and length without
[TLV - TAG] value and [TLV - LENGTH] value.
3.2.1. Accumulator 1 Currency Code
Tag: 'C9'
Length: 2
Format: n3
Type: Persistent
Description: Indicates the currency code of Accumulator 1.
3.2.2. Accumulator 1 Currency Conversion Table
Tag: 'D1'
Length: 25
Format: b
Type: Persistent
Description: Holds a table of currency conversion values in order to convert the transaction
amount from the transaction currency to the currency of Accumulator 1. If the currency code of
the transaction amount = Conversion Code i and Conversion Exponent i[8] = 0b, then the
KONA i Co.,Ltd.
19
M/CHIP ADVANCE personalization
transaction amount in the currency of Accumulator 1 is defined by transaction amount *
Conversion Rate i * (10 to the power Conversion Exponent i[7 : 1]). If the currency code of the
transaction amount = Conversion Code i and Conversion Exponent i[8] = 1b, then the
transaction amount in the currency of Accumulator 1 is defined by transaction amount *
Conversion Rate i / (10 to the power Conversion Exponent i[7 : 1]).
Byte 1-2
Conversion Code 1
Byte 3-4
Conversion Rate 1
Byte 5
Conversion Exponent 1
Byte 6-7
Conversion Code 2
Byte 8-9
Conversion Rate 2
Byte 10
Conversion Exponent 2
Byte 11-12
Conversion Code 3
Byte 13-14
Conversion Rate 3
Byte 15
Conversion Exponent 3
Byte 16-17
Conversion Code 4
Byte 18-19
Conversion Rate 4
Byte 20
Conversion Exponent 4
3.2.3. Accumulator 1 Lower Limit
Tag: 'CA'
Length: 6
Format: n12
Type: Persistent
Description: Accumulator 1 Amount and Accumulator 1 Amount Temp are checked against this
KONA i Co.,Ltd.
20
M/CHIP ADVANCE personalization
limit and if they are greater, the relevant CVR bit is set.
3.2.4. Accumulator 1 Upper Limit
Tag: 'CB'
Length: 6
Format: n12
Type: Persistent
Description: Accumulator 1 Amount and Accumulator 1 Amount Temp are checked against this
limit and if they are greater, the relevant CVR bit is set.
3.2.5. Accumulator 2 Currency Code
Tag: 'DF16'
Length: 2
Format: n3
Type: Persistent
Description: Indicates the currency code of Accumulator 2.
3.2.6. Accumulator 2 Lower Limit
Tag: 'DF18'
Length: 6
Format: n12
Type: Persistent
Description: Accumulator 2 Amount and Accumulator 2 Amount Temp are checked against this
value and if they are greater, the relevant CVR bit is set.
3.2.7. Accumulator 2 Upper Limit
Tag: 'DF19'
Length: 6
Format: n12
Type: Persistent
Description: Accumulator 2 Amount and Accumulator 2 Amount Temp are checked against this
value and if they are greater, the relevant CVR bit is set.
3.2.8. Additional Check Table
Tag: 'D3'
Length: 18
KONA i Co.,Ltd.
21
M/CHIP ADVANCE personalization
Format: b
Type: Persistent
Description: Contains values that are compared to values given by the terminal in CDOL1
Related Data. The result of the comparison is reflected in the decision-making part of the Card
Verification Results. The check with the Additional CheckTable is only performed if activated by
the Application Control.
Byte 1
Position In CDOL1 Related Data
Byte 2
Length In CDOL1 Related Data
Byte 3
Number Of Entries
3.2.9. CDOL1 Related Data Length
Tag: 'C7'
Length: 1
Format: b
Type: Persistent
Description: Length of CDOL1 Related Data.
If no extension to CDOL1 Related Data is used, CDOL1 Related Data Length value is '42'.
M/Chip Advance allows the extension of this value by at least ten bytes. The maximum value
is implementation specific. The personalization value for CDOL1 Related Data Length must be
consistent with the personalization value for CDOL1.
3.2.10. Counter 1 Lower Limit
Tag: '9F14'
Length: 1
Format: b
Type: Persistent
Description: If the Counter 1 Number or Counter 1 Number Temp have exceeded this limit, the
relevant CVR bit is set.
3.2.11. Counter 1 Upper Limit
Tag: '9F23'
Length: 1
Format: b
KONA i Co.,Ltd.
22
M/CHIP ADVANCE personalization
Type: Persistent
Description: If the Counter 1 Number or Counter 1 Number Temp have exceeded this limit, the
relevant CVR bit is set.
3.2.12. Counter 2 Lower Limit
Tag: 'DF1F'
Length: 1
Format: b
Type: Persistent
Description: If the Counter 2 Number or Counter 2 Number Temp have exceeded this limit, the
relevant CVR bit is set.
3.2.13. Counter 2 Upper Limit
Tag: 'DF21'
Length: 1
Format: b
Type: Persistent
Description: If the Counter 2 Number or Counter 2 Number Temp have exceeded this limit, the
relevant CVR bit is set.
3.2.14. CRM Country Code
Tag: 'C8'
Length: 2
Format: n3
Type: Persistent
Description: The CRM Country Code is used to differentiate between domestic transactions
(when the CRM Country Code matches the Terminal Country Code) and international
transactions (when the CRM Country Code does not match the Terminal Country Code). This
may impact CRM, depending on the Card Issuer Action Codes settings.
3.2.15. Cryptogram Version Number V2.x
Tag: –
Length: 1
Format: b
Type: Persistent
Description: Holds the Cryptogram Version Number if V2.05 or V2.1/V2.2 issuer host backward
compatibility is used.
KONA i Co.,Ltd.
23
M/CHIP ADVANCE personalization
3.2.16. Default ARPC Response Code
Tag: 'D6'
Length: 2
Format: b
Type: Persistent
Description: The Default ARPC Response Code replaces the ARPC Response Code, if:
- Issuer Authentication Data is not present in an online transaction,
and
- The Accept Online Transactions Without ARPC bit in the Application Control is set, and
- The transaction is approved by the terminal and issuer (i.e. Authorization Response Code < >
'Y3' or 'Z3' and the terminal requests a TC).
Byte 1
b8 Accumulator 1 Not Eligible
b7 Counter 1 Not Eligible
b6 Accumulator 2 Not Eligible
b5 Counter 2 Not Eligible
b4-1 RFU
Byte 2
b8-6 RFU
b5 Approve Online Transaction
b4 RFU
b3 Set Go Online On Next Transaction
b2-1 Update Counters
00: Do Not Update Offline Counters 01: Set Counters To Upper Offline Limits 10: Reset Counters To Zero 11: Add Transaction To Counter
3.2.17. Interface Enabling Switch
Tag: 'DF30'
Length: 1
Format: b
Type: Persistent
Description: Contains flags that indicate if an interface is enabled.
Byte 1
b8-3 RFU
b2-1 Interfaces Status 00: RFU 01: Contactless Interface Disabled
KONA i Co.,Ltd.
24
M/CHIP ADVANCE personalization
10: Contact Interface Disabled 11: Contact And Contactless Interfaces Enabled
3.2.18. MTA Currency Code
Tag: 'DF24'
Length: 2
Format: n3
Type: Persistent
Description: The transaction currency code for which maximum transaction amount check is to
be applied.
3.2.19. Number Of Days Off Line Limit
Tag: 'DF27'
Length: 2
Format: b
Type: Persistent
Description: The maximum number of days that the application can perform
transactions off-line. If the limit is exceeded, the relevant bit in the
CVR is set.
3.3. DGI A012
DGI A012 includes the data used in Contact Interface, and they could not be used or share
between Contact and Contactless interface. Each data in this DGI A012 could be read using
‘GET DATA’ command or updated using ‘PUT DATA’ command after the Personalization
process. The data in each record must be personalized using VALUE only according to defined
order and length without [TLV - TAG] value and [TLV - LENGTH] value.
3.3.1. Accumulator 1 Control (Contact)
Tag: 'DF11'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Accumulator
1 when the contact interface is active.
Byte 1
b8-7 Accumulation Mode 00: Never
KONA i Co.,Ltd.
25
M/CHIP ADVANCE personalization
01: Accumulate CVM transactions 10: Accumulate NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 RFU
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.3.2. Accumulator 1 CVR Dependency Data (Contact)
Tag: 'DF28'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Accumulator 1 becomes active if a
given CVR pattern occurs when the contact interface is active. If (Condition Mask AND CVR
[Input Byte Number]) = Comparison Value then the condition is satisfied for the use of
Accumulator 1.
Byte 1
Input Byte Number
Byte 2
Condition Mask
Byte 3
Comparison Value
3.3.3. Accumulator 2 Control (Contact)
Tag: 'DF14'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Accumulator
2 when the contact interface is active.
Byte 1
b8-7 Accumulation Mode 00: Never 01: Accumulate CVM transactions
KONA i Co.,Ltd.
26
M/CHIP ADVANCE personalization
10: Accumulate NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 RFU
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.3.4. Accumulator 2 CVR Dependency Data (Contact)
Tag: 'DF2A'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Accumulator 2 becomes active if a
given CVR pattern occurs when the contact interface is active. If (Condition Mask AND CVR
[Input Byte Number]) = Comparison Value then the condition is satisfied for the use of
Accumulator 2.
Byte 1
Input Byte Number
Byte 2
Condition Mask
Byte 3
Comparison Value
3.3.5. Application Control (Contact)
Tag: 'D5'
Length: 6
Format: b
Type: Persistent
Description: The Application Control (Contact) activates or de-activates functions in the
application when the contact interface is active. This activation or de-activation is dynamic. The
Application Control (Contact) can be modified with a PUT DATA command during the
application lifetime, and, in such a case, the behavior of the application is modified.
The PUT DATA command applied to the Application Control (Contact) may be used to switch
from one session key derivation method to the other. In this case, the switch applies
immediately for subsequent script commands.
KONA i Co.,Ltd.
27
M/CHIP ADVANCE personalization
Byte1
b8 Accept Online Transactions Without ARPC
b7 Skip CIAC-Default On CAT3
b6 RFU
b5 Key For Offline Encrypted PIN Verification 0: DDA Key 1: Dedicated Key
b4 Offline Encrypted PIN Verification
b3 Offline Plaintext PIN Verification
b2 Session Key Derivation 0: MasterCard Proprietary SKD 1: EMV CSK
b1 Encrypt Offline Counters
Byte2
b8-4 RFU
b3 Additional Check Table
b2 Allow Retrieval Of Balance
b1 Include Counters In AC
Byte3
b8-7 Compute Cryptographic Checksum 00: RFU 01: Compute Cryptographic Checksum Supported 10: Compute Cryptographic Checksum Not Supported 11: RFU
b6-1 RFU
Byte 4
b8 Include Transaction In CRM If ARQC Is Requested
b7 Use CIAC-online To Decide On ARQC Request
b6 Generate Only TC Or AAC On TC Request
b5 MTA Check
b4 Maximum Number Of Days Offline Check
b3 RFU
b2 Plaintext Offline Change PIN
b1 Encrypted Offline Change PIN
Byte 5
b8 AAC Logging
b7 TC Logging
b6 ARQC Pre-logging
b5 Include Last Online ATC in IAD
b4-2 Issuer Host Backwards Compatibility 000: No Host Backwards Compatibility 001: V2.1/V2.2 Host Backwards Compatibility 010: V2.05 Host Backwards Compatibility 011: V1.1/V1.3 Host Backwards Compatibility 1xx: RFU
b1 Partial Authorization
KONA i Co.,Ltd.
28
M/CHIP ADVANCE personalization
Byte 6
b8 Enable Alternate Interface After First Gen AC
b7-5 RFU
b4 Torn Transaction Recovery
b3 MAS4C Processing Flow
b2 Reset Script Counter With Online Response
b1 RFU
3.3.6. Card Issuer Action Code (Contact) – Decline
Tag: 'C3'
Length: 3
Format: b
Type: Persistent
Description: The Card Issuer Action Codes (Contact) are compared to the decisional part of the
Card Verification Results to take decisions when the contact interface is active. Card Issuer
Action Code (Contact) – Decline is used to set the situations when a contact transaction is
always declined at the first GENERATE AC.
Byte 1
b8 Last Online Transaction Not Completed
b7 Unable To Go Online Indicated
b6 Offline PIN Verification Not Performed
b5 Offline PIN Verification Failed
b4 PTL Exceeded
b3 International Transaction
b2 Domestic Transaction
b1 Terminal Erroneously Considers Offline PIN OK
Byte 2
b8 Lower Consecutive Counter 1 Limit Exceeded
b7 Upper Consecutive Counter 1 Limit Exceeded
b6 Lower Cumulative Accumulator 1 Limit Exceeded
b5 Upper Cumulative Accumulator 1 Limit Exceeded
b4 Go Online On Next Transaction Was Set
b3 Issuer Authentication Failed
b2 Script Received
b1 Script Failed
Byte 3
b8 Lower Consecutive Counter 2 Limit Exceeded
b7 Upper Consecutive Counter 2 Limit Exceeded
b6 Lower Cumulative Accumulator 2 Limit Exceeded
b5 Upper Cumulative Accumulator 2 Limit Exceeded
b4 MTA Limit Exceeded
b3 Number Of Days Offline Limit Exceeded
b2 Match Found In Additional Check Table
KONA i Co.,Ltd.
29
M/CHIP ADVANCE personalization
b1 No Match Found In Additional Check Table
3.3.7. Card Issuer Action Code (Contact) – Default
Tag: 'C4'
Length: 3
Format: b
Type: Persistent
Description: The Card Issuer Action Codes (Contact) are compared to the decisional part of the
Card Verification Results to take decisions when the contact interface is active. Card Issuer
Action Code (Contact) – Default is used to set the situations when a contact transaction is
declined if the terminal is not online capable, or if a connection to the issuer is not possible.
Byte 1
b8 Last Online Transaction Not Completed
b7 Unable To Go Online Indicated
b6 Offline PIN Verification Not Performed
b5 Offline PIN Verification Failed
b4 PTL Exceeded
b3 International Transaction
b2 Domestic Transaction
b1 Terminal Erroneously Considers Offline PIN OK
Byte 2
b8 Lower Consecutive Counter 1 Limit Exceeded
b7 Upper Consecutive Counter 1 Limit Exceeded
b6 Lower Cumulative Accumulator 1 Limit Exceeded
b5 Upper Cumulative Accumulator 1 Limit Exceeded
b4 Go Online On Next Transaction Was Set
b3 Issuer Authentication Failed
b2 Script Received
b1 Script Failed
Byte 3
b8 Lower Consecutive Counter 2 Limit Exceeded
b7 Upper Consecutive Counter 2 Limit Exceeded
b6 Lower Cumulative Accumulator 2 Limit Exceeded
b5 Upper Cumulative Accumulator 2 Limit Exceeded
b4 MTA Limit Exceeded
b3 Number Of Days Offline Limit Exceeded
b2 Match Found In Additional Check Table
b1 No Match Found In Additional Check Table
3.3.8. Card Issuer Action Code (Contact) – Online
Tag: 'C5'
Length: 3
KONA i Co.,Ltd.
30
M/CHIP ADVANCE personalization
Format: b
Type: Persistent
Description: The Card Issuer Action Codes (Contact) are compared to the decisional part of the
Card Verification Results to take decisions when the contact interface is active. Card Issuer
Action Code (Contact) – Online is used to set the situations when a contact transaction goes
online if the terminal is online capable.
If the option 'Use CIAC-online To Decide On ARQC Request' is used, then the Card Issuer
Action Codes (Contact) – Online is also used to decline an online request over the contact
interface.
Byte 1
b8 Last Online Transaction Not Completed
b7 Unable To Go Online Indicated
b6 Offline PIN Verification Not Performed
b5 Offline PIN Verification Failed
b4 PTL Exceeded
b3 International Transaction
b2 Domestic Transaction
b1 Terminal Erroneously Considers Offline PIN OK
Byte 2
b8 Lower Consecutive Counter 1 Limit Exceeded
b7 Upper Consecutive Counter 1 Limit Exceeded
b6 Lower Cumulative Accumulator 1 Limit Exceeded
b5 Upper Cumulative Accumulator 1 Limit Exceeded
b4 Go Online On Next Transaction Was Set
b3 Issuer Authentication Failed
b2 Script Received
b1 Script Failed
Byte 3
b8 Lower Consecutive Counter 2 Limit Exceeded
b7 Upper Consecutive Counter 2 Limit Exceeded
b6 Lower Cumulative Accumulator 2 Limit Exceeded
b5 Upper Cumulative Accumulator 2 Limit Exceeded
b4 MTA Limit Exceeded
b3 Number Of Days Offline Limit Exceeded
b2 Match Found In Additional Check Table
b1 No Match Found In Additional Check Table
3.3.9. Counter 1 Control (Contact)
Tag: 'DF1A'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Counter 1
KONA i Co.,Ltd.
31
M/CHIP ADVANCE personalization
when the contact interface is active.
Byte 1
b8-7 Counting Mode 00: Never 01: Count CVM transactions 10: Count NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 Count Even When Cumulated
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.3.10. Counter 1 CVR Dependency Data (Contact)
Tag: 'DF2C'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Counter 1 becomes active if a given
CVR pattern occurs when the contact interface is active. If (Condition Mask AND CVR [Input
Byte Number]) = Comparison Value then the condition is satisfied for the use of Counter 1.
Byte 1
Input Byte Number
Byte 2
Condition Mask
Byte 3
Comparison Value
3.3.11. Counter 2 Control (Contact)
Tag: 'DF1D'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Counter 2
when the contact interface is active.
KONA i Co.,Ltd.
32
M/CHIP ADVANCE personalization
Byte 1
b8-7 Counting Mode 00: Never 01: Count CVM transactions 10: Count NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 Count Even When Cumulated
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.3.12. Counter 2 CVR Dependency Data (Contact)
Tag: 'DF2E'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Counter 2 becomes active if a given
CVR pattern occurs when the contact interface is active. If (Condition Mask AND CVR [Input
Byte Number]) = Comparison Value then the condition is satisfied for the use of Counter 2.
Byte 1
Input Byte Number
Byte 2
Condition Mask
Byte 3
Comparison Value
3.3.13. CVR Issuer Discretionary Data (Contact)
Tag: 'DF3C'
Length: 1
Format: b
Type: Persistent
Description: Issuer discretionary data object of which the two least significant bits are copied in
the Card Verification Results when the contact interface is active.
Byte 1
b8-3 RFU
KONA i Co.,Ltd.
33
M/CHIP ADVANCE personalization
b2-1 Issuer Discretionary
3.3.14. Interface Identifier (Contact)
Tag: 'DF3E'
Length: 1
Format: b
Type: Persistent
Description: Identifies the contact interface in the Transaction Log.
3.3.15. MTA CVM (Contact)
Tag: 'DF22'
Length: 6
Format: n12
Type: Persistent
Description: The maximum transaction amount for contact CVM transactions. When the
transaction amount is greater than MTA CVM (Contact), the relevant bit in the CVR is set.
3.3.16. MTA NoCVM (Contact)
Tag: 'DF25'
Length: 6
Format: n12
Type: Persistent
Description: The maximum transaction amount for contact no CVM transactions. When the
transaction amount is greater than MTA NoCVM (Contact), the relevant bit in the CVR is set.
3.3.17. Read Record Filter (Contact)
Tag: 'DF3F'
Length: Variable
Format: b
Type: Persistent
Description: Read Record Filter used to prevent reading records when the contact interface is
active. It is coded like an Application File Locator. Records identified in the Read Record Filter
cannot be read with the READ RECORD command. Refer to [EMV] for a description of the
Application File Locator coding. A memory space of at least 32 bytes must be available for the
Read Record Filter (Contact).
KONA i Co.,Ltd.
34
M/CHIP ADVANCE personalization
3.4. DGI A022
DGI A022 includes the data used in Contactless Interface, and they could not be used or share
between Contact and Contactless interface. Each data in this DGI A022 could be read using
‘GET DATA’ command or updated using ‘PUT DATA’ command after the Personalization
process. The data in each record must be personalized using VALUE only according to defined
order and length without [TLV - TAG] value and [TLV - LENGTH] value.
3.4.1. Accumulator 1 Control (Contactless)
Tag: 'DF12'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Accumulator
1 when the contactless interface is active.
Byte 1
b8-7 Accumulation Mode 00: Never 01: Accumulate CVM transactions 10: Accumulate NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 RFU
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.4.2. Accumulator 1 CVR Dependency Data (Contactless)
Tag: 'DF29'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Accumulator 1 becomes active if a
given CVR pattern occurs when the contactless interface is active. If (Condition Mask AND CVR
[Input Byte Number]) = Comparison Value then the condition is satisfied for the use of
Accumulator 1.
Byte 1
KONA i Co.,Ltd.
35
M/CHIP ADVANCE personalization
Input Byte Number
Byte 2
Condition Mask
Byte 3
Comparison Value
3.4.3. Accumulator 2 Control (Contactless)
Tag: 'DF15'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Accumulator
2 when the contactless interface is active.
Byte 1
b8-7 Accumulation Mode 00: Never 01: Accumulate CVM transactions 10: Accumulate NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 RFU
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.4.4. Accumulator 2 CVR Dependency Data (Contactless)
Tag: 'DF2A'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Accumulator 2 becomes active if a
given CVR pattern occurs when the contact interface is active. If (Condition Mask AND CVR
[Input Byte Number]) = Comparison Value then the condition is satisfied for the use of
Accumulator 2.
Byte 1
Input Byte Number
KONA i Co.,Ltd.
36
M/CHIP ADVANCE personalization
Byte 2
Condition Mask
Byte 3
Comparison Value
3.4.5. Application Control (Contactless)
Tag: 'D7'
Length: 6
Format: b
Type: Persistent
Description: The Application Control (Contactless) activates or de-activates functions in the
application when the contactless interface is active. This activation or de-activation is dynamic.
The Application Control (Contactless) can be modified with a PUT DATA command during the
application lifetime, and, in such a case, the behavior of the application is modified. The PUT
DATA command applied to the Application Control (Contactless) may be used to switch from
one session key derivation method to the other. In this case, the switch applies immediately for
subsequent script commands.
Byte1
b8 Accept Online Transactions Without ARPC
b7 Skip CIAC-Default On CAT3
b6 RFU
b5 Key For Offline Encrypted PIN Verification 0: DDA Key 1: Dedicated Key
b4 Offline Encrypted PIN Verification
b3 Offline Plaintext PIN Verification
b2 Session Key Derivation 0: MasterCard Proprietary SKD 1: EMV CSK
b1 Encrypt Offline Counters
Byte2
b8-4 RFU
b3 Additional Check Table
b2 Allow Retrieval Of Balance
b1 Include Counters In AC
Byte3
b8-7 Compute Cryptographic Checksum 00: RFU 01: Compute Cryptographic Checksum Supported 10: Compute Cryptographic Checksum Not Supported 11: RFU
b6-1 RFU
KONA i Co.,Ltd.
37
M/CHIP ADVANCE personalization
Byte 4
b8 Include Transaction In CRM If ARQC Is Requested
b7 Use CIAC-online To Decide On ARQC Request
b6 Generate Only TC Or AAC On TC Request
b5 MTA Check
b4 Maximum Number Of Days Offline Check
b3 RFU
b2 Plaintext Offline Change PIN
b1 Encrypted Offline Change PIN
Byte 5
b8 AAC Logging
b7 TC Logging
b6 ARQC Pre-logging
b5 Include Last Online ATC in IAD
b4-2 Issuer Host Backwards Compatibility 000: No Host Backwards Compatibility 001: V2.1/V2.2 Host Backwards Compatibility 010: V2.05 Host Backwards Compatibility 011: V1.1/V1.3 Host Backwards Compatibility 1xx: RFU
b1 Partial Authorization
Byte 6
b8 Enable Alternate Interface After First Gen AC
b7-5 RFU
b4 Torn Transaction Recovery
b3 MAS4C Processing Flow
b2 Reset Script Counter With Online Response
b1 RFU
3.4.6. Card Issuer Action Code (Contactless) – Decline
Tag: 'CF'
Length: 3
Format: b
Type: Persistent
Description: The Card Issuer Action Codes (Contactless) are compared to the decisional part of
the Card Verification Results to take decisions when the contactless interface is active. Card
Issuer Action Code (Contactless) – Decline is used to set the situations when a contactless
transaction is always declined at the first GENERATE AC.
Byte 1
b8 Last Online Transaction Not Completed
b7 Unable To Go Online Indicated
b6 Offline PIN Verification Not Performed
b5 Offline PIN Verification Failed
KONA i Co.,Ltd.
38
M/CHIP ADVANCE personalization
b4 PTL Exceeded
b3 International Transaction
b2 Domestic Transaction
b1 Terminal Erroneously Considers Offline PIN OK
Byte 2
b8 Lower Consecutive Counter 1 Limit Exceeded
b7 Upper Consecutive Counter 1 Limit Exceeded
b6 Lower Cumulative Accumulator 1 Limit Exceeded
b5 Upper Cumulative Accumulator 1 Limit Exceeded
b4 Go Online On Next Transaction Was Set
b3 Issuer Authentication Failed
b2 Script Received
b1 Script Failed
Byte 3
b8 Lower Consecutive Counter 2 Limit Exceeded
b7 Upper Consecutive Counter 2 Limit Exceeded
b6 Lower Cumulative Accumulator 2 Limit Exceeded
b5 Upper Cumulative Accumulator 2 Limit Exceeded
b4 MTA Limit Exceeded
b3 Number Of Days Offline Limit Exceeded
b2 Match Found In Additional Check Table
b1 No Match Found In Additional Check Table
3.4.7. Card Issuer Action Code (Contactless) – Default
Tag: 'CD'
Length: 3
Format: b
Type: Persistent
Description: The Card Issuer Action Codes (Contactless) are compared to the decisional part of
the Card Verification Results to take decisions when the contactless interface is active. Card
Issuer Action Code (Contactless) – Default is used to set the situations when a contactless
transaction is declined if the terminal is not online capable, or if a connection to the issuer is not
possible.
Byte 1
b8 Last Online Transaction Not Completed
b7 Unable To Go Online Indicated
b6 Offline PIN Verification Not Performed
b5 Offline PIN Verification Failed
b4 PTL Exceeded
b3 International Transaction
b2 Domestic Transaction
b1 Terminal Erroneously Considers Offline PIN OK
KONA i Co.,Ltd.
39
M/CHIP ADVANCE personalization
Byte 2
b8 Lower Consecutive Counter 1 Limit Exceeded
b7 Upper Consecutive Counter 1 Limit Exceeded
b6 Lower Cumulative Accumulator 1 Limit Exceeded
b5 Upper Cumulative Accumulator 1 Limit Exceeded
b4 Go Online On Next Transaction Was Set
b3 Issuer Authentication Failed
b2 Script Received
b1 Script Failed
Byte 3
b8 Lower Consecutive Counter 2 Limit Exceeded
b7 Upper Consecutive Counter 2 Limit Exceeded
b6 Lower Cumulative Accumulator 2 Limit Exceeded
b5 Upper Cumulative Accumulator 2 Limit Exceeded
b4 MTA Limit Exceeded
b3 Number Of Days Offline Limit Exceeded
b2 Match Found In Additional Check Table
b1 No Match Found In Additional Check Table
3.4.8. Card Issuer Action Code (Contactless) – Online
Tag: 'CE'
Length: 3
Format: b
Type: Persistent
Description: The Card Issuer Action Codes (Contactless) are compared to the decisional part of
the Card Verification Results to take decisions when the contactless interface is active. Card
Issuer Action Code (Contactless) – Online is used to set the situations when a contactless
transaction goes online if the terminal is online capable. If the option 'Use CIAC-online To
Decide On ARQC Request' is used, then the Card Issuer Action Codes (Contactless) – Online
is also used to decline an online request over the contactless interface.
Byte 1
b8 Last Online Transaction Not Completed
b7 Unable To Go Online Indicated
b6 Offline PIN Verification Not Performed
b5 Offline PIN Verification Failed
b4 PTL Exceeded
b3 International Transaction
b2 Domestic Transaction
b1 Terminal Erroneously Considers Offline PIN OK
Byte 2
b8 Lower Consecutive Counter 1 Limit Exceeded
b7 Upper Consecutive Counter 1 Limit Exceeded
b6 Lower Cumulative Accumulator 1 Limit Exceeded
KONA i Co.,Ltd.
40
M/CHIP ADVANCE personalization
b5 Upper Cumulative Accumulator 1 Limit Exceeded
b4 Go Online On Next Transaction Was Set
b3 Issuer Authentication Failed
b2 Script Received
b1 Script Failed
Byte 3
b8 Lower Consecutive Counter 2 Limit Exceeded
b7 Upper Consecutive Counter 2 Limit Exceeded
b6 Lower Cumulative Accumulator 2 Limit Exceeded
b5 Upper Cumulative Accumulator 2 Limit Exceeded
b4 MTA Limit Exceeded
b3 Number Of Days Offline Limit Exceeded
b2 Match Found In Additional Check Table
b1 No Match Found In Additional Check Table
3.4.9. Counter 1 Control (Contactless)
Tag: 'DF1B'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Counter 1
when the contactless interface is active.
Byte 1
b8-7 Counting Mode 00: Never 01: Count CVM transactions 10: Count NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 Count Even When Cumulated
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.4.10. Counter 1 CVR Dependency Data (Contactless)
Tag: 'DF2D'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Counter 1 becomes active if a given
KONA i Co.,Ltd.
41
M/CHIP ADVANCE personalization
CVR pattern occurs when the contactless interface is active.
If (Condition Mask AND CVR [Input Byte Number]) = Comparison Value then the condition is
satisfied for the use of Counter 1.
Byte 1
Input Byte Number
Byte 2
Condition Mask
Byte 3
Comparison Value
3.4.11. Counter 2 Control (Contactless)
Tag: 'DF1E'
Length: 1
Format: b
Type: Persistent
Description: Holds configuration information that controls the use and operation of Counter 2
when the contactless interface is active.
Byte 1
b8-7 Counting Mode 00: Never 01: Count CVM transactions 10: Count NoCVM transactions 11: Always
b6 Use CVR Dependency
b5 Count Even When Cumulated
b4 Offline PIN Reset`
b3 Show
b2-1 Include In Issuer Application Data 00: Do Not Include 01: Include Accumulator As Value 10: Include As Balance 11: RFU
3.4.12. Counter 2 CVR Dependency Data (Contactless)
Tag: 'DF2F'
Length: 3
Format: b
Type: Persistent
Description: Contains CVR comparison data to determine if Counter 2 becomes active when a
given CVR pattern occurs when the contactless interface is active.
KONA i Co.,Ltd.
42
M/CHIP ADVANCE personalization
If (Condition Mask AND CVR [Input Byte Number]) = Comparison Value then the condition is
satisfied for the use of Counter 2.
Byte 1
Input Byte Number
Byte 2
Condition Mask
Byte 3
Comparison Value
3.4.13. CVR Issuer Discretionary Data (Contactless)
Tag: 'DF3D'
Length: 1
Format: b
Type: Persistent
Description: Issuer discretionary data object of which the two least significant bits are copied in
the Card Verification Results when the contactless interface is active.
Byte 1
b8-3 RFU
b2-1 Issuer Discretionary
3.4.14. Interface Identifier (Contactless)
Tag: 'DF3E'
Length: 1
Format: b
Type: Persistent
Description: Identifies the contactless interface in the Transaction Log.
3.4.15. MTA CVM (Contactless)
Tag: 'DF23'
Length: 6
Format: n12
Type: Persistent
Description: The maximum transaction amount for contactless CVM transactions. When the
transaction amount is greater than MTA CVM (Contactless), the relevant bit in the CVR is set.
KONA i Co.,Ltd.
43
M/CHIP ADVANCE personalization
3.4.16. MTA NoCVM (Contactless)
Tag: 'DF26'
Length: 6
Format: n12
Type: Persistent
Description: The maximum transaction amount for contactless no CVM transactions. When the
transaction amount is greater than MTA CVM (Contactless), the relevant bit in the CVR is set.
3.4.17. Read Record Filter (Contactless)
Tag: 'DF40'
Length: Variable
Format: b
Type: Persistent
Description: Read Record Filter used to prevent reading records when the contactless interface
is active. It is coded like an Application File Locator. Records identified in the Read Record Filter
cannot be read with the READ RECORD command. Refer to [EMV] for a description of the
Application File Locator coding. A memory space of at least 32 bytes must be available for the
Read Record Filter (Contactless).
3.5. DGI B010
DGI B010 includes the data used in Contact Interface, and the data could not be used or shared
with Contactless interface. Each data in this DGI B010 could be read using ‘GET DATA’
command or updated using ‘PUT DATA’ command after the Personalization process. The data
in each record must be personalized using VALUE only according to defined order and length
without [TLV - TAG] value and [TLV - LENGTH] value.
3.5.1. IVCVC3(Track1) (Contact)
Tag: 'DF38'
Length: 2
Format: b
Type: Persistent
Description: Issuer proprietary static data object that is used as input for the generation of the
CVC3(Track1) cryptogram when the contact interface is active.
3.5.2. IVCVC3(Track2) (Contact)
Tag: 'DF39'
KONA i Co.,Ltd.
44
M/CHIP ADVANCE personalization
Length: 2
Format: b
Type: Persistent
Description: Issuer proprietary static data object that is used as input for the
generation of the CVC3(Track2) cryptogram when the contact
interface is active.
3.6. DGI B023
DGI B023 includes the data used in Contactless Interface, and the data could not be used or
shared with Contact interface. Each data in this DGI B023 could be read using ‘GET DATA’
command or updated using ‘PUT DATA’ command after the Personalization process. The data
in each record must be personalized using VALUE only according to defined order and length
without [TLV - TAG] value and [TLV - LENGTH] value.
3.6.1. IVCVC3(Track1) (Contactless)
Tag: 'DC'
Length: 2
Format: b
Type: Persistent
Description: Issuer proprietary static data object that is used as input for the generation of the
CVC3(Track1) cryptogram when the contactless interface is active.
3.6.2. IVCVC3(Track2) (Contactless)
Tag: 'DD'
Length: 2
Format: b
Type: Persistent
Description: Issuer proprietary static data object that is used as input for the
generation of the CVC3(Track2) cryptogram when the contactless
interface is active.
3.7. DGI B002
DGI B002 includes the data used in both Contact and Contactless Interface, and the data could
be used or shared between both interface. Each data in this DGI B002 could be read using
‘GET DATA’ command or updated using ‘PUT DATA’ command after the Personalization
process. The data in each record must be personalized using VALUE only according to defined
order and length without [TLV - TAG] value and [TLV - LENGTH] value.
KONA i Co.,Ltd.
45
M/CHIP ADVANCE personalization
3.7.1. Log Data Table
Tag: 'DE'
Length: 9
Format: b
Type: Persistent
Description: The Log Data Table contains information necessary to support extensions to the
transaction log data stored in the Log of Transactions The Log Data Table is the concatenation
(without TLV coding) of the data elements identified as below. The maximum number of data
entries (n) is 4. The total length of the additional transaction log data must be less than or equal
to 32 bytes.
Byte 1
Count Of Data Entries
Byte 2
Data Position 1
Byte 3
Data Length 1
Byte 4
Data Position 2
Byte 5
Data Length 2
Byte 6
Data Position 3
Byte 7
Data Length 3
Byte 8
Data Position 4
Byte 9
Data Length 4
3.7.2. Log Format
Tag: '9F4F'
Length: Variable
Format: b
Type: Persistent
Description: The Log Format identifies the content of records in the Log Of Transactions. The
KONA i Co.,Ltd.
46
M/CHIP ADVANCE personalization
Log Format is not interpreted by M/Chip Advance and is returned in response to a GET
DATA command. The following DOL provides the data elements identified in the Log Format,
and the order in which they appear without the additional information defined by the Log Data
Table: '9F27019F02065F2A029A039F36029F5206DF3E019F21039F7C14'.
The length of the Log Format is variable. If no additional information is defined by the Log Data
Table, then the length of the Log Format is 26 bytes. A memory space of at least 48 bytes must
be available for the Log Format.
3.8. DGI A005
DGI A005 includes the data used in Contact Interface, and the data could not be used or shared
with Contactless interface. The data in each record must be personalized using VALUE only
according to defined order and length without [TLV - TAG] value and [TLV - LENGTH] value.
3.8.1. Application Interchange Profile (Contact)
Tag: '82'
Length: 2
Format: b
Type: Persistent
Description: Application Interchange Profile returned in response to the GET PROCESSING
OPTIONS command when the contact interface is active.
Refer to [EMV] for a description of the Application Interchange Profile (Contact)
3.8.2. Application File Locator (Contact)
Tag: '94'
Length: Variable
Format: b
Type: Persistent
Description: Application File Locator returned in response to the GET PROCESSING
OPTIONS command when the contact interface is active. Refer to [EMV] for a description of
the Application File Locator (Contact). A memory space of at least 32 bytes must be available
for the Application File Locator (Contact).
3.9. DGI B005
DGI B005 includes the data used in Contactless Interface, and the data could not be used or
shared with Contact interface. The data in each record must be personalized using VALUE only
according to defined order and length without [TLV - TAG] value and [TLV - LENGTH] value.
KONA i Co.,Ltd.
47
M/CHIP ADVANCE personalization
3.9.1. Application Interchange Profile (Contactless)
Tag: 'D8'
Length: 2
Format: b
Type: Persistent
Description: Application Interchange Profile returned in response to the GET PROCESSING
OPTIONS command when the contactless interface is active. Refer to [PayPass] for a
description of the Application Interchange Profile (Contactless)
3.9.2. Application File Locator (Contactless)
Tag: 'D9'
Length: Variable
Format: b
Type: Persistent
Description: Application File Locator returned in response to the GET PROCESSING
OPTIONS command when the contactless interface is active. Refer to [PayPass] for a
description of the Application File Locator (Contactless). A memory space of at least 32 bytes
must be available for the Application File Locator (Contact).
3.10. DGI A007
DGI A007 includes the data used in Contact and Contactless Interface, and the data could be
used or shared between Contact and Contactless both interface. The data in each record must
be personalized using VALUE only according to defined order and length without [TLV -
TAG] value and [TLV - LENGTH] value.
3.10.1. Application Transaction Counter Limit
Tag: –
Length: 2
Format: b
Type: Persistent
Description: Limits the number of transactions processed by the application. When the
Application Transaction Counter has reached the Application Transaction Counter Limit, the
application no longer processes transactions.
3.10.2. Previous Transaction History
Tag: –
KONA i Co.,Ltd.
48
M/CHIP ADVANCE personalization
Length: 1
Format: b
Type: Persistent
Description: The Previous Transaction History is used to store information about the previous
transactions in non-volatile memory.
Byte 1
b8-7 RFU
b6 Last Online Transaction Not Completed
b5 Application Blocked
b4 Go Online On Next Transaction
b3 Issuer Authentication Failed
b2 Script Received
b1 Script Failed
3.11. DGI A017
DGI A017 includes the data used in Contact Interface, and the data could not be used or shared
with Contactless interface. The data in each record must be personalized using VALUE only
according to defined order and length without [TLV - TAG] value and [TLV - LENGTH] value.
3.11.1. AC Session Key Counter Limit (Contact)
Tag: 'DF3A'
Length: 2
Format: b
Type: Persistent
Description: Limits the number of AC Session Key derivations over the contact interface since
the application last successfully validated an ARPC over the contact interface.
3.11.2. Key Derivation Index (Contact)
Tag: –
Length: 1
Format: b
Type: Persistent
Description: Issuer-specific.
3.11.3. SMI Session Key Counter Limit (Contact)
Tag: 'DF32'
Length: 2
Format: b
KONA i Co.,Ltd.
49
M/CHIP ADVANCE personalization
Type: Persistent
Description: Limits the number of Secure Messaging for Integrity session key derivations over
the contact interface that are not followed by a successful validation of a Secure Messaging
MAC, over the lifetime of the card.
3.12. DGI A027
DGI A027 includes the data used in Contactless Interface, and the data could not be used or
shared with Contact interface. The data in each record must be personalized using VALUE only
according to defined order and length without [TLV - TAG] value and [TLV - LENGTH] value.
3.12.1. AC Session Key Counter Limit (Contactless)
Tag: 'DF34'
Length: 2
Format: b
Type: Persistent
Description: Limits the number of AC Session Key derivations over the contactless interface
since the application last successfully validated an ARPC over the contactless interface
3.12.2. Key Derivation Index (Contactless)
Tag: –
Length: 1
Format: b
Type: Persistent
Description: Issuer-specific.
3.12.3. SMI Session Key Counter Limit (Contactless)
Tag: 'DF33'
Length: 2
Format: b
Type: Persistent
Description: Limits the number of secure messaging for integrity session key derivations over
the contactless interface that are not followed by a successful validation of a secure messaging
MAC, over the lifetime of the card.
3.13. DGI A008
DGI A008 includes the data used in both Contact and Contactless Interface, and the data could
be used or shared between both Contact and Contactless interface. The data in each record
KONA i Co.,Ltd.
50
M/CHIP ADVANCE personalization
must be personalized using VALUE only according to defined order and length without [TLV -
TAG] value and [TLV - LENGTH] value.
3.13.1. PIN Decipherments Error Counter Limit
Tag: 'DF36'
Length: 2
Format: b
Type: Persistent
Description: Limits the number of unsuccessful offline PIN decryptions in the application lifetime.
3.14. DGI A009
DGI A009 includes the data used in both Contact and Contactless Interface, and the data could
be used or shared between both Contact and Contactless interface. The data in each record
must be personalized using VALUE only according to defined order and length without [TLV -
TAG] value and [TLV - LENGTH] value.
3.14.1. Application Life Cycle Data
Tag: '9F7E'
Length: 48
Format: b
Type: Persistent
Description: The purpose of the Application Life Cycle Data is to uniquely identify the application
code and the application issuer. The way in which these data elements are stored in the
application is left to the implementation. Sub-elements may be coded in the application itself (i.e.
in the code) whilst others are set as part of personalization.
3.15. DGI A00E
DGI A00E includes the data used in both Contact and Contactless Interface, and the data could
be used or shared between both Contact and Contactless interface. The data in each record
must be personalized using VALUE only according to defined order and length without [TLV -
TAG] value and [TLV - LENGTH] value.
3.15.1. DS management Control
Tag: 'DF41'
Length: 1
Format: b
Type: Persistent
KONA i Co.,Ltd.
51
M/CHIP ADVANCE personalization
Description: DS Management Control activates or deactivates functions of data storage
Byte 1
b8 Permanent Allowed
b7 Volatile Allowed
b6-2 RFU
b1 Slot Read Records Allowed
3.15.2. DS Number Of Slots
Tag: –
Length: 1
Format: b
Type: Persistent
Description: DS Number Of Slots indicates the number of records in the Data Storage File. How
DS Number Of Slots is set, is up to the implementation
3.15.3. DSPK
Tag: –
Length: 12
Format: b
Type: Persistent
Description: DSPK is an input for the hash function used in OWHF1 and OWHF2.
3.16. DGI B011 ~ B01A.
3.16.1. Protected Data Envelope 1 (to 5)
Tag: '9F70' (to ‘9F74’), using DGI ‘B011’ (to ‘B015’)
Length: Implementation specific
Format: b
Type: Persistent
Description: The Protected Data Envelopes contain proprietary information from the issuer,
payment system or third party. The Protected Data Envelopes can be retrieved with the GET
DATA command. The Protected Data Envelopes (with tag values '9F70' to '9F74') can be
updated with the PUT DATA command with secure messaging. The length of the Protected
Data Envelopes is implementation specific and must have a value between 32 and 192 bytes.
3.16.2. Unprotected Data Envelope 1 (to 5)
Tag: '9F75' (to ‘9F79’), using DGI ‘B016’ (to ‘B01A’)
KONA i Co.,Ltd.
52
M/CHIP ADVANCE personalization
Length: Implementation specific
Format: b
Type: Persistent
Description: The Unprotected Data Envelopes contain proprietary information from the issuer,
payment system or third party. The Unprotected Data Envelopes can be retrieved with the GET
DATA command. The Unprotected Data Envelopes (with tag values '9F75' to '9F79') can be
updated with the PUT DATA (CLA='80') command without secure messaging.
The length of the Unprotected Data Envelopes is implementation specific and must have a
value between 32 and 192 bytes.
3.17. DGI 0E01 ~ 0E0X.
DGI 0E01 to 0E0X includes the Data storage data records used in both Contact and Contactless
Interface, and the data could be used or shared between both Contact and Contactless interface.
Record number X could be set by Issuer up to 0x0F following the install parameter setting
which is already mentioned in the document.
3.18. DGI 8000.
DGI 8000 includes the Master KEY data set used in Contact Interface, and the data could not
be used or shared with Contactless interface.
3.18.1. AC Master Key (Contact)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC master key used to derive the AC Session Key when the contact interface is
active. If the MasterCard Proprietary SKD is used, the AC Master Key is also used for ARPC
verification.
3.18.2. SM for Integrity (SMI) Master Key (Contact)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC master key for secure messaging for integrity when the contact interface is
active.
KONA i Co.,Ltd.
53
M/CHIP ADVANCE personalization
3.18.3. SM for Confidentiality (SMC) Master Key (Contact)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC master key for secure messaging for confidentiality when the contact interface
is active
3.19. DGI 8001.
DGI 8001 includes the Master KEY data set used in Contactless Interface, and the data could
not be used or shared with Contact interface.
3.19.1. AC Master Key (Contactless)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC master key used to derive the AC Session Key when the contactless interface
is active. If the MasterCard Proprietary SKD is used, the AC Master Key is also used for ARPC
verification.
3.19.2. SM for Integrity (SMI) Master Key (Contactless)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC master key for secure messaging for integrity when the contactless interface is
active.
3.19.3. SM for Confidentiality (SMC) Master Key (Contactless)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC master key for secure messaging for confidentiality when the contactless
interface is active
KONA i Co.,Ltd.
54
M/CHIP ADVANCE personalization
3.20. DGI A006.
DGI A006 includes the ICC Dynamic Number Master KEY data used in Contact Interface, and
the data could not be used or shared with Contactless interface.
3.20.1. ICC Dynamic Number Master Key (Contact)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: Triple DES key for ICC Dynamic Number generation when the contact interface is
active.
3.21. DGI A016.
DGI A016 includes the ICC Dynamic Number Master KEY data used in Contactless Interface,
and the data could not be used or shared with Contact interface.
3.21.1. ICC Dynamic Number Master Key (Contactless)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: Triple DES key for ICC Dynamic Number generation when the contactless interface
is active.
3.22. DGI 8400.
DGI 8400 includes the KDCVC3 data used in Contact Interface, and the data could not be used
or shared with Contactless interface.
3.22.1. KDCVC3 (Contact)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC derived key for CVC3 generation when the contact interface is used. KDCVC3
(Contact) is used directly to compute the dynamic CVC3. No session key is used.
KONA i Co.,Ltd.
55
M/CHIP ADVANCE personalization
3.23. DGI 8401.
DGI 8401 includes the KDCVC3 data used in Contactless Interface, and the data could not be
used or shared with Contact interface.
3.23.1. KDCVC3 (Contactless)
Tag: –
Length: 16
Format: b
Type: Persistent
Description: ICC derived key for CVC3 generation when the contactless interface is used.
KDCVC3 (Contactless) is used directly to compute the dynamic CVC3. No session key is used.
-END-