-
Notifications
You must be signed in to change notification settings - Fork 7
/
tag_meanings.py
136 lines (134 loc) · 5.46 KB
/
tag_meanings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
DOL_TAGS = ['8C', '8D', '97', '9F38', '9F49', '9F4F']
gsm_tags = {
'3F' : 'Master File',
'7F' : 'Dedicated File',
'2F' : 'Elementary File under the Master File',
'' : '',
'' : '',
'' : '',
'6F' : 'FCI for EF under DF',
# '' : '',
}
emv_tags = {
'42':'Issuer Identification Number (IIN)',
'4F':'Application Identifier (AID) - card',
'50':'Application Label',
'57':'Track 2 Equivalent Data',
'5A':'Application Primary Account Number (PAN)',
'5F20':'Cardholder Name',
'5F24':'Application Expiration Date',
'5F25':'Application Effective Date',
'5F28':'Issuer Country Code',
'5F2A':'Transaction Currency Code',
'5F2D':'Language Preference',
'5F30':'Service Code',
'5F34':'Application Primary Account Number (PAN) Sequence Number',
'5F36':'Transaction Currency Exponent',
'5F50':'Issuer URL',
'5F53':'International Bank Account Number (IBAN)',
'5F54':'Bank Identifier Code (BIC)',
'5F55':'Issuer Country Code (alpha2 format)',
'5F56':'Issuer Country Code (alpha3 format)',
'61':'Application Template',
'6F':'File Control Information (FCI) Template',
'70':'READ RECORD Response Message Template',
'71':'Issuer Script Template 1',
'72':'Issuer Script Template 2',
'73':'Directory Discretionary Template',
'77':'Response Message Template Format 2',
'80':'Response Message Template Format 1',
'81':'Amount Authorised (Binary)',
'82':'Application Interchange Profile',
'83':'Command Template',
'84':'Dedicated File (DF) Name [AID]',
'86':'Issuer Script Command',
'87':'Application Priority Indicator',
'88':'Short File Identifier (SFI)',
'89':'Authorisation Code',
'8A':'Authorisation Response Code',
'8C':'Card Risk Management Data Object List 1 (CDOL1)',
'8D':'Card Risk Management Data Object List 2 (CDOL2)',
'8E':'Cardholder Verification Method (CVM) List',
'8F':'Certification Authority Public Key Index',
'90':'Issuer Public Key Certificate',
'91':'Issuer Authentication Data',
'92':'Issuer Public Key Remainder',
'93':'Signed Static Application Data',
'94':'Application File Locator (AFL)',
'95':'Terminal Verification Results',
'97':'Transaction Certificate Data Object List (TDOL)',
'98':'Transaction Certificate (TC) Hash Value',
'99':'Transaction Personal Identification Number (PIN) Data',
'9A':'Transaction Date',
'9B':'Transaction Status Information',
'9C':'Transaction Type',
'9D':'Directory Definition File (DDF) Name',
'9F01':'Acquirer Identifier',
'9F02':'Amount Authorised (Numeric)',
'9F03':'Amount Other (Numeric)',
'9F04':'Amount Other (Binary)',
'9F05':'Application Discretionary Data',
'9F06':'Application Identifier (AID) - terminal',
'9F07':'Application Usage Control',
'9F08':'Application Version Number',
'9F09':'Application Version Number',
'9F0B':'Cardholder Name Extended',
'9F0D':'Issuer Action Code - Default',
'9F0E':'Issuer Action Code - Denial',
'9F0F':'Issuer Action Code - Online',
'9F10':'Issuer Application Data',
'9F11':'Issuer Code Table Index',
'9F12':'Application Preferred Name',
'9F13':'Last Online Application Transaction Counter (ATC) Register',
'9F14':'Lower Consecutive Offline Limit',
'9F15':'Merchant Category Code',
'9F16':'Merchant Identifier',
'9F17':'Personal Identification Number (PIN) Try Counter',
'9F18':'Issuer Script Identifier',
'9F1A':'Terminal Country Code',
'9F1B':'Terminal Floor Limit',
'9F1C':'Terminal Identification',
'9F1D':'Terminal Risk Management Data',
'9F1E':'Interface Device (IFD) Serial Number',
'9F1F':'Track 1 Discretionary Data',
'9F20':'Track 2 Discretionary Data',
'9F21':'Transaction Time',
'9F22':'Certification Authority Public Key Index',
'9F23':'Upper Consecutive Offline Limit',
'9F26':'Application Cryptogram',
'9F27':'Cryptogram Information Data',
'9F2D':'ICC PIN Encipherment Public Key Certificate',
'9F2E':'ICC PIN Encipherment Public Key Exponent',
'9F2F':'ICC PIN Encipherment Public Key Remainder',
'9F32':'Issuer Public Key Exponent',
'9F33':'Terminal Capabilities',
'9F34':'Cardholder Verification Method (CVM) Results',
'9F35':'Terminal Type',
'9F36':'Application Transaction Counter (ATC)',
'9F37':'Unpredictable Number',
'9F38':'Processing Options Data Object List (PDOL)',
'9F39':'Point-of-Service (POS) Entry Mode',
'9F3A':'Amount Reference Currency',
'9F3B':'Application Reference Currency',
'9F3C':'Transaction Reference Currency Code',
'9F3D':'Transaction Reference Currency Exponent',
'9F40':'Additional Terminal Capabilities',
'9F41':'Transaction Sequence Counter',
'9F42':'Application Currency Code',
'9F43':'Application Reference Currency Exponent',
'9F44':'Application Currency Exponent',
'9F45':'Data Authentication Code',
'9F46':'ICC Public Key Certificate',
'9F47':'ICC Public Key Exponent',
'9F48':'ICC Public Key Remainder',
'9F49':'Dynamic Data Authentication Data Object List (DDOL)',
'9F4A':'Static Data Authentication Tag List',
'9F4B':'Signed Dynamic Application Data',
'9F4C':'ICC Dynamic Number',
'9F4D':'Log Entry',
'9F4E':'Merchant Name and Location',
'9F4F':'Log Format',
'9F52':'Application Default Action',
'A5':'File Control Information (FCI) Proprietary Template',
'BF0C':'File Control Information (FCI) Issuer Discretionary Data'
}