简体   繁体   English

APDU 序列读取 ICC 卡记录失败 AID 选择应用程序(给出 SWA SWB 6283 的响应)

[英]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.我无法从卡中读取 ICC 数据。 I have an AID from an issuer which is A0000007790000.我有一个来自发行人的 AID,它是 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.所以我发送了一个 00A4040007A0000007790000 的 APDU 来通过它的 AID 选择应用程序,但我一直收到 SWA: 62 SWB: 83 的响应。我错过了什么,我该如何从那里开始。

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.我只能做使用00A404000E315041592E5359532E444446303100这是成功的,我得到6F1A840E315041592E5359532E4444463031A5088801015F2D02656E的响应的选择PSE ..喜欢00B2010C00的其他命令返回该SWA SWB 6283(所选文件无效)响应。 Any pointers will be greatly appreciated.任何指针将不胜感激。

The AID Select Command should have additional Le byte. AID 选择命令应该有额外的Le字节。

APDU Command: 00A4040007 A000000779 0000 00 APDU 命令: 00A4040007 A000000779 0000 00

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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