简体   繁体   中英

APDU sequence to read ICC card records failing on selection of application by AID (giving a response of SWA SWB 6283)

I am having trouble reading ICC data from an card. I have an AID from an issuer which is A0000007790000. So I am sending an APDU of 00A4040007A0000007790000 to select the application by its AID but I keep getting response of SWA: 62 SWB: 83. What am I missing, and how can I proceed from there.

I can only do a select PSE using 00A404000E315041592E5359532E444446303100 which is successful and I am getting a response of 6F1A840E315041592E5359532E4444463031A5088801015F2D02656E.. The Other commands like 00B2010C00 are returning that SWA SWB 6283 (Selected file invalidated) response. Any pointers will be greatly appreciated.

The AID Select Command should have additional Le byte.

APDU Command: 00A4040007 A000000779 0000 00

我的问题是在设备权限上,我没有意识到我用来读取 emv 卡的设备没有读取外部文件的权限,因此不允许我从应用程序文件中读取任何数据芯片卡

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM