簡體   English   中英

信用卡芯片讀取錯誤

[英]Credit card chip read error

我正在開發一個界面,以便使用帶有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

根據規范(V4.3書1表43),在閱讀PSE之后,您的FCI應該包含帶有標簽88 (SFI)的必填字段,因此我不太了解您的FCI。 它缺少必填字段(標簽88)。 您確定您發布的回復是確定的嗎? 請參閱表43 Book 1 v4.3。 您正在使用哪個規范? 同樣,要獲得可用於交易的卡的應用,還需要按照書1第12.3.2章中的步驟進行操作。 您可能實際上從中發現您的應用程序提供了PDOL,您必須先提供PDOL才能成功讀取處理選項。 這就是為什么您可能會得到69 85的原因。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM