信用卡芯片读取错误
Posted
技术标签:
【中文标题】信用卡芯片读取错误【英文标题】:Credit card chip read error 【发布时间】:2017-06-29 15:38:53 【问题描述】:我正在开发一个接口,以使用带有 NFC 和智能卡/芯片阅读器的 android 设备从信用卡中读取信息。使用这张卡,我可以使用 NFC 读取信息,但使用芯片阅读器时会出现不同的错误,例如“6E 00 - 不支持类别”或“69 85 - 不满足使用条件”。第一个 APDU 很好,但在发送“80 a8 00 00 02 83 00 00”后我得到了错误。请看下面完整的不成功的 APDU 消息流:
transceive(3) in: 00 a4 04 00 0e 32 50 41 59 2e 53 59 53 2e 44 44 46 30 31 00
SendAPDU data: 00 a4 04 00 0e 32 50 41 59 2e 53 59 53 2e 44 44 46 30 31 00,tw:3
tmpTransTimeout(3):0
SendAPDU ret:0,outlen:91,tw:3
picc transceive success!
transceive out: 6f 57 84 0e 32 50 41 59 2e 53 59 53 2e 44 44 46 30 31 a5 45 bf 0c 42 61 1b 4f 07 a0 00 00 00 42 10 10 50 02 43 42 87 01 01 9f 2a 08 02 00 00 00 00 00 00 00 61 23 4f 07 a0 00 00 00 04 10 10 50 0a 4d 41 53 54 45 52 43 41 52 44 87 01 02 9f 2a 08 02 00 00 00 00 00 00 00 90 00
resp: 6F 57 84 0E 32 50 41 59 2E 53 59 53 2E 44 44 46 30 31 A5 45 BF 0C 42 61 1B 4F 07 A0 00 00 00 42 10 10 50 02 43 42 87 01 01 9F 2A 08 02 00 00 00 00 00 00 00 61 23 4F 07 A0 00 00 00 04 10 10 50 0A 4D 41 53 54 45 52 43 41 52 44 87 01 02 9F 2A 08 02 00 00 00 00 00 00 00 90 00
resp:
6F 57 -- File Control Information (FCI) Template
84 0E -- Dedicated File (DF) Name
32 50 41 59 2E 53 59 53 2E 44 44 46 30 31 (BINARY)
A5 45 -- File Control Information (FCI) Proprietary Template
BF 0C 42 -- File Control Information (FCI) Issuer Discretionary Data
61 1B -- Application Template
4F 07 -- Application Identifier (AID) - card
A0 00 00 00 42 10 10 (BINARY)
50 02 -- Application Label
43 42 (=CB)
87 01 -- Application Priority Indicator
01 (BINARY)
9F 2A 08 -- The value to be appended to the ADF Name in the data field of the SELECT command, if the Extended Selection Support flag is present and set to 1
02 00 00 00 00 00 00 00 (BINARY)
61 23 -- Application Template
4F 07 -- Application Identifier (AID) - card
A0 00 00 00 04 10 10 (BINARY)
50 0A -- Application Label
4D 41 53 54 45 52 43 41 52 44 (=MASTERCARD)
87 01 -- Application Priority Indicator
02 (BINARY)
9F 2A 08 -- The value to be appended to the ADF Name in the data field of the SELECT command, if the Extended Selection Support flag is present and set to 1
02 00 00 00 00 00 00 00 (BINARY)
90 00 -- Command successfully executed (OK)
resp: Command successfully executed (OK)
transceive(3) in: 00 a4 04 00 07 a0 00 00 00 42 10 10 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 00 42 10 10 00,tw:3
SendAPDU ret:0,outlen:63,tw:3
picc transceive success!
transceive out: 6f 3b 84 07 a0 00 00 00 42 10 10 a5 30 50 02 43 42 87 01 01 9f 11 01 01 9f 12 0e 54 72 61 6e 73 61 63 74 69 6f 6e 20 43 42 5f 2d 04 66 72 65 6e bf 0c 0a df 60 02 0b 14 9f 4d 02 0b 14 90 00
resp: 6F 3B 84 07 A0 00 00 00 42 10 10 A5 30 50 02 43 42 87 01 01 9F 11 01 01 9F 12 0E 54 72 61 6E 73 61 63 74 69 6F 6E 20 43 42 5F 2D 04 66 72 65 6E BF 0C 0A DF 60 02 0B 14 9F 4D 02 0B 14 90 00
resp:
6F 3B -- File Control Information (FCI) Template
84 07 -- Dedicated File (DF) Name
A0 00 00 00 42 10 10 (BINARY)
A5 30 -- File Control Information (FCI) Proprietary Template
50 02 -- Application Label
43 42 (=CB)
87 01 -- Application Priority Indicator
01 (BINARY)
9F 11 01 -- Issuer Code Table Index
01 (NUMERIC)
9F 12 0E -- Application Preferred Name
54 72 61 6E 73 61 63 74 69 6F 6E 20 43 42 (=Transaction CB)
5F 2D 04 -- Language Preference
66 72 65 6E (=fren)
BF 0C 0A -- File Control Information (FCI) Issuer Discretionary Data
DF 60 02 -- VISA Log Entry
0B 14 (BINARY)
9F 4D 02 -- Log Entry
0B 14 (BINARY)
90 00 -- Command successfully executed (OK)
resp: Command successfully executed (OK)
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6e 00
resp: 6E 00
resp:
6E 00 -- Class not supported
resp: Class not supported
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 69 85
resp: 69 85
resp:
69 85 -- Conditions of use not satisfied
resp: Conditions of use not satisfied
transceive(3) in: 00 a4 04 00 0f a0 00 00 00 42 10 10 02 00 00 00 00 00 00 00 00
SendAPDU data: 00 a4 04 00 0f a0 00 00 00 42 10 10 02 00 00 00 00 00 00 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 00 04 10 10 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 00 04 10 10 00,tw:3
SendAPDU ret:0,outlen:67,tw:3
picc transceive success!
transceive out: 6f 3f 84 07 a0 00 00 00 04 10 10 a5 34 50 0a 4d 41 53 54 45 52 43 41 52 44 87 01 02 9f 11 01 01 9f 12 0a 4d 41 53 54 45 52 43 41 52 44 5f 2d 04 66 72 65 6e bf 0c 0a df 60 02 0b 14 9f 4d 02 0b 14 90 00
resp: 6F 3F 84 07 A0 00 00 00 04 10 10 A5 34 50 0A 4D 41 53 54 45 52 43 41 52 44 87 01 02 9F 11 01 01 9F 12 0A 4D 41 53 54 45 52 43 41 52 44 5F 2D 04 66 72 65 6E BF 0C 0A DF 60 02 0B 14 9F 4D 02 0B 14 90 00
resp:
6F 3F -- File Control Information (FCI) Template
84 07 -- Dedicated File (DF) Name
A0 00 00 00 04 10 10 (BINARY)
A5 34 -- File Control Information (FCI) Proprietary Template
50 0A -- Application Label
4D 41 53 54 45 52 43 41 52 44 (=MASTERCARD)
87 01 -- Application Priority Indicator
02 (BINARY)
9F 11 01 -- Issuer Code Table Index
01 (NUMERIC)
9F 12 0A -- Application Preferred Name
4D 41 53 54 45 52 43 41 52 44 (=MASTERCARD)
5F 2D 04 -- Language Preference
66 72 65 6E (=fren)
BF 0C 0A -- File Control Information (FCI) Issuer Discretionary Data
DF 60 02 -- VISA Log Entry
0B 14 (BINARY)
9F 4D 02 -- Log Entry
0B 14 (BINARY)
90 00 -- Command successfully executed (OK)
resp: Command successfully executed (OK)
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6e 00
resp: 6E 00
resp:
6E 00 -- Class not supported
resp: Class not supported
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 69 85
resp: 69 85
resp:
69 85 -- Conditions of use not satisfied
resp: Conditions of use not satisfied
transceive(3) in: 00 a4 04 00 0f a0 00 00 00 04 10 10 02 00 00 00 00 00 00 00 00
SendAPDU data: 00 a4 04 00 0f a0 00 00 00 04 10 10 02 00 00 00 00 00 00 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 00 03 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 00 03 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 00 03 10 10 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 00 03 10 10 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 00 98 08 48 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 00 98 08 48 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 00 04 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 00 04 00,tw:3
SendAPDU ret:0,outlen:67,tw:3
picc transceive success!
transceive out: 6f 3f 84 07 a0 00 00 00 04 10 10 a5 34 50 0a 4d 41 53 54 45 52 43 41 52 44 87 01 02 9f 11 01 01 9f 12 0a 4d 41 53 54 45 52 43 41 52 44 5f 2d 04 66 72 65 6e bf 0c 0a df 60 02 0b 14 9f 4d 02 0b 14 90 00
resp: 6F 3F 84 07 A0 00 00 00 04 10 10 A5 34 50 0A 4D 41 53 54 45 52 43 41 52 44 87 01 02 9F 11 01 01 9F 12 0A 4D 41 53 54 45 52 43 41 52 44 5F 2D 04 66 72 65 6E BF 0C 0A DF 60 02 0B 14 9F 4D 02 0B 14 90 00
resp:
6F 3F -- File Control Information (FCI) Template
84 07 -- Dedicated File (DF) Name
A0 00 00 00 04 10 10 (BINARY)
A5 34 -- File Control Information (FCI) Proprietary Template
50 0A -- Application Label
4D 41 53 54 45 52 43 41 52 44 (=MASTERCARD)
87 01 -- Application Priority Indicator
02 (BINARY)
9F 11 01 -- Issuer Code Table Index
01 (NUMERIC)
9F 12 0A -- Application Preferred Name
4D 41 53 54 45 52 43 41 52 44 (=MASTERCARD)
5F 2D 04 -- Language Preference
66 72 65 6E (=fren)
BF 0C 0A -- File Control Information (FCI) Issuer Discretionary Data
DF 60 02 -- VISA Log Entry
0B 14 (BINARY)
9F 4D 02 -- Log Entry
0B 14 (BINARY)
90 00 -- Command successfully executed (OK)
resp: Command successfully executed (OK)
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6e 00
resp: 6E 00
resp:
6E 00 -- Class not supported
resp: Class not supported
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 69 85
resp: 69 85
resp:
69 85 -- Conditions of use not satisfied
resp: Conditions of use not satisfied
transceive(3) in: 00 a4 04 00 05 a0 00 00 00 05 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 00 05 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 00 25 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 00 25 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 00 42 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 00 42 00,tw:3
SendAPDU ret:0,outlen:63,tw:3
picc transceive success!
transceive out: 6f 3b 84 07 a0 00 00 00 42 10 10 a5 30 50 02 43 42 87 01 01 9f 11 01 01 9f 12 0e 54 72 61 6e 73 61 63 74 69 6f 6e 20 43 42 5f 2d 04 66 72 65 6e bf 0c 0a df 60 02 0b 14 9f 4d 02 0b 14 90 00
resp: 6F 3B 84 07 A0 00 00 00 42 10 10 A5 30 50 02 43 42 87 01 01 9F 11 01 01 9F 12 0E 54 72 61 6E 73 61 63 74 69 6F 6E 20 43 42 5F 2D 04 66 72 65 6E BF 0C 0A DF 60 02 0B 14 9F 4D 02 0B 14 90 00
resp:
6F 3B -- File Control Information (FCI) Template
84 07 -- Dedicated File (DF) Name
A0 00 00 00 42 10 10 (BINARY)
A5 30 -- File Control Information (FCI) Proprietary Template
50 02 -- Application Label
43 42 (=CB)
87 01 -- Application Priority Indicator
01 (BINARY)
9F 11 01 -- Issuer Code Table Index
01 (NUMERIC)
9F 12 0E -- Application Preferred Name
54 72 61 6E 73 61 63 74 69 6F 6E 20 43 42 (=Transaction CB)
5F 2D 04 -- Language Preference
66 72 65 6E (=fren)
BF 0C 0A -- File Control Information (FCI) Issuer Discretionary Data
DF 60 02 -- VISA Log Entry
0B 14 (BINARY)
9F 4D 02 -- Log Entry
0B 14 (BINARY)
90 00 -- Command successfully executed (OK)
resp: Command successfully executed (OK)
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6e 00
resp: 6E 00
resp:
6E 00 -- Class not supported
resp: Class not supported
transceive(3) in: 80 a8 00 00 02 83 00 00
SendAPDU data: 80 a8 00 00 02 83 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 69 85
resp: 69 85
resp:
69 85 -- Conditions of use not satisfied
resp: Conditions of use not satisfied
transceive(3) in: 00 a4 04 00 05 a0 00 00 00 29 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 00 29 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 00 65 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 00 65 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 01 21 10 10 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 01 21 10 10 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 01 41 00 01 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 01 41 00 01 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 01 52 30 10 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 01 52 30 10 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 01 54 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 01 54 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 02 28 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 02 28 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 02 77 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 02 77 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 03 24 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 03 24 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 03 33 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 03 33 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 03 59 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 03 59 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 03 71 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 03 71 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 04 39 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 04 39 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 05 24 10 10 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 05 24 10 10 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 04 32 00 01 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 04 32 00 01 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 09 d2 76 00 00 25 45 50 01 00 00
SendAPDU data: 00 a4 04 00 09 d2 76 00 00 25 45 50 01 00 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 d5 78 00 00 02 10 10 00
SendAPDU data: 00 a4 04 00 07 d5 78 00 00 02 10 10 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 f0 00 00 00 03 00 01 00
SendAPDU data: 00 a4 04 00 07 f0 00 00 00 03 00 01 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 06 a0 00 00 00 24 01 00
SendAPDU data: 00 a4 04 00 06 a0 00 00 00 24 01 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 01 21 10 10 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 01 21 10 10 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 05 a0 00 00 04 54 00
SendAPDU data: 00 a4 04 00 05 a0 00 00 04 54 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 06 a0 00 00 04 76 6c 00
SendAPDU data: 00 a4 04 00 06 a0 00 00 04 76 6c 00,tw:3
isIccInsert:1
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
transceive(3) in: 00 a4 04 00 07 a0 00 00 03 71 00 01 00
SendAPDU data: 00 a4 04 00 07 a0 00 00 03 71 00 01 00,tw:3
SendAPDU ret:0,outlen:2,tw:3
picc transceive success!
transceive out: 6a 82
resp: 6A 82
resp:
6A 82 -- File not found
resp: File not found
reconnect
【问题讨论】:
你看过它的卡片申请规范了吗?如果你有相同的英语,请在这里分享。这不是像 Visa 或 MasterCard 那样非常常见的应用程序。 APDU 的第一个字节是它的类,GET PO 错误表明不支持类 80。只是出于好奇,你能不能试试 00 来代替测试,看看会发生什么。 抱歉,不知道“您是否已通过其卡片申请规范”是什么意思 每个应用程序都有其应用程序规范文档,详细说明其功能。根据 EMV 标准,您发出的 GET PO 命令很好,但仍然被拒绝。因此,最好查看相应的应用规范手册,了解在什么情况下会遇到什么错误。它还将包含有关其状态机行为的详细信息。 对 00a8000002830000 的响应为 6E00 - 不支持等级,80a8000002830000 为 6985 - 不满足使用条件 @libemv.so.1.0.1 抱歉,您为什么认为它不是一个非常常见的应用程序?这是一张法国CIC CB万事达卡 【参考方案1】:根据规范(V4.3 第 1 册表 43),您在阅读 PSE 后的 FCI 应包含带有标签 88 (SFI) 的必填字段, 所以我不太了解你的 FCI。它缺少必填字段(标签 88)。您确定您发布的回复吗?请参见第 1 册 v4.3 表 43。您使用的是哪个规格?此外,要获得可用于交易的卡的应用程序,您需要按照第 1 册第 12.3.2 章进行操作。从中您实际上可能会发现您的应用程序提供了一个 PDOL,您必须先提供该 PDOL,然后才能成功读取处理选项。这就是为什么你可能会得到 69 85。
【讨论】:
以上是关于信用卡芯片读取错误的主要内容,如果未能解决你的问题,请参考以下文章
在 Android 上通过 NFC 读取 Visa payWave 信用卡详细信息