简体   繁体   English

使用GPShell列出JCOP卡上的小程序

[英]List applets on JCOP Cards using GPShell

I have a JCOP smart card ( CJ3A080 ). 我有一个JCOP智能卡( CJ3A080 )。 I wanted to list default applets on the card, so I download last version of GPShell (1.4.4) and run the script named listjcop10.txt . 我想列出卡上的默认小程序,因此我下载了最新版本的GPShell(1.4.4)并运行名为listjcop10.txt的脚本。 But it failed. 但是失败了。 This is contets of the script : 这是脚本的内容:

listjcop10.txt : listjcop10.txt:

mode_211
gemXpressoPro
enable_trace
establish_context
card_connect -readerNumber 3
select -AID a000000003000000
open_sc -security 1 -keyind 0 -keyver 0 -key 404142434445464748494a4b4c4d4e4f
get_status -element 10
#20
card_disconnect
release_context

And this is output of GPShell : 这是GPShell的输出:

D:\GPShell-1.4.4>gpshell listJCOP10.txt
mode_211
gemXpressoPro
enable_trace
establish_context
card_connect -readerNumber 3
Could not connect to reader number 3

D:\GPShell-1.4.4>

Does anyone know what is the origin of the problem? 有人知道问题的根源吗?

Note that this card is the same card that I mentioned here 请注意,此卡与我在这里提到的卡相同

It's trying to connect to the 3rd reader of your system. 它正在尝试连接到系统的第3个阅读器。 So, If you have just one card reader connected to the system just use 因此,如果您只有一个读卡器连接到系统,则只需使用

card_connect

instead of 代替

card_connect -readerNumber 3

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

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