EMV Byte 2 - Chip Application Data
EMV Byte 2 - Chip Application Data
Hi!
https://www.youtube.com/c/LearnPayments
Disclaimer
• This presentation was prepared was prepared for presenting the
https://www.youtube.com/c/LearnPayments
Table of Contents
Data Elements
https://www.youtube.com/c/LearnPayments
Background: Magnetic Stripe
Card Number Cardholder Name Exp Dt CVV1 Card Number Exp Dt PVV CVV1
Service Service
Code Code
https://www.youtube.com/c/LearnPayments
Background: Magnetic Stripe (contd.)
• “Card Authentication” means ensure that the card is a “valid” card
• “Cardholder Authentication” means ensuring cardholder is “valid”
• In case of Magnetic stripe,
• Card Authentication is by looks of card
https://www.youtube.com/c/LearnPayments
Advantages of EMV
Memory more Flexible File EMV cards are Enhanced Card
>16kb and allowing Organization devised to store authentication using
multiple records grouped by “Files”, multiple products cryptography.
allowed to be “Records” & “Data (account/scheme in Supports intelligent
stored in EMV chip elements” in “BER- the form of Cardholder
Card TLV Format” “Applications”) Authentication
Limited records Rigid standard for Only one card per Restrictive or
(bytes) of Info Data Representation product Dependent Card &
Cardholder
Authentication
methods
https://www.youtube.com/c/LearnPayments
Section 1:
File Organization
https://www.youtube.com/c/LearnPayments
What is Application?
An Application corresponds to a unique product.
Product here refers to Scheme products
https://www.youtube.com/c/LearnPayments
What is Application?
Application AID has 2 components
• RID (Registered Application Provider Identifier): This is unique to scheme
• PIX (Proprietary Application Identifier Extension): Number that unique identifies products
within schemes
https://www.youtube.com/c/LearnPayments
File Organization: Basics
https://www.youtube.com/c/LearnPayments
Point 1: Data elements & Objects
• Data element is smallest piece of information
• Eg: PAN number, Cardholder Name, Track 1, Track 2, Service Code,
Currency Code
• Each Data element is assigned a unique tag
• Every DE is stored in the format of “Tag-Length-Value”. It is called Data
Object
• Example:
• PAN = 5441 2232 9999 8888
• Tag for PAN number is 5A
• Length of PAN is, 16 - when represented in BCD, PAN takes 8 bytes
(54 41 22 32 99 99 88 88)
• So, Data Object is 5Ahttps://www.youtube.com/c/LearnPayments
08 54 41 22 32 99 99 88 88
Point 1.1: Data Elements & Tags
Source: EMV ICC Specifications for Payment Systems Book 3 – Application Specification v4.3
https://www.youtube.com/c/LearnPayments
Point 2: Records/AEF
Multiple data objects forms a Record. This is also referred to as an “AEF –
Application Elementary File”
T L V T L V T L V
Record
57 13 54 11 11 88 88 88 88 82 d1 20 32 01 12 34 56 78 90 00 0f
5f 20 1a 53 4d 49 54 48 2f 4a 4f 48 4e 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
https://www.youtube.com/c/LearnPayments
Point 3: ADF – Application Definition File
ADF (Application Definition File)
• Multiple AEFs grouped together form an ADF
• Every unique Application has an ADF
• Within ADF, each AEF would have a unique SFI (Short File Identifier) with which the AEF
would be addressed
AEF2 SFI = 2
https://www.youtube.com/c/LearnPayments
Point 4: Directory Definition File (DDF)
Directory Definition File
• It’s a directory (index) to all ADFs
• Used to locate the ADF based on the Application ID
• For chip cards this file name should be “1PAY.SYS.DDF01”
AID = A0000000041010 AID = A0000000043060
ADF1 ADF2
ADF1 ADF2
SFI = 3
AEF1 SFI = 1 AEF3
AEF2 SFI = 2
https://www.youtube.com/c/LearnPayments
Section 2: Key Data
Elements
https://www.youtube.com/c/LearnPayments
Important Data Elements
Cardholder
Application Data Cardholder Data Card Authentication
Authentication
• Application Identifier
• Cardholder Name • Issuer Action Code • CVM List
(AID)
• PAN Number • Signed Static • Offline PIN (Encrypted)
• Application Label
• PAN Sequence Application Data
• Application Preferred
• Service Code
Name
• Track Data
• Application Priority
Indicator
• Issuer Country Code
• Default Currency Code
Misc Data
• Application Transaction
Counter (ATC)
• PIN Try Counter
• CDOL 1 & 2
• PDOL
https://www.youtube.com/c/LearnPayments
What Next in Byte 3?
• Look at EMV Commands & How data gets exchanged between ICC & Terminal
• EMV Transaction Flow
https://www.youtube.com/c/LearnPayments
Thank YOU
https://www.youtube.com/c/LearnPayments