老是Status: CLA value not supported

cm> send F0EE7FFF00
=> F0 EE 7F FF 00 .....
(280180 nsec)
<= 6E 00 n.
Status: CLA value not supported


-----------------------------

要按JCOP指导讲的所有scripts运行一次都可以连上

file:///E:/Teach-JavaCard/jcop/doc/guide/shell/tutorial.html#info


A Sample JCShell Session
The following sequence of JCShell commands represents a typical shell session in which an applet is loaded onto a card, a command is sent to the applet for testing purposes and finally the applet is deleted.

Switch trace mode on and connect to a PC/SC smart card reader
/mode trace=on
/terminal


Reset the card (request ATR) and select the CardManager
/card


Set the keys in key set 255 of the JCShell for authentication later on
set-key 255/1/DES-ECB/404142434445464748494A4B4C4D4E4F
set-key 255/2/DES-ECB/404142434445464748494A4B4C4D4E4F
set-key 255/3/DES-ECB/404142434445464748494A4B4C4D4E4F


Begin authentication using the appropriate key set
init-update 255


Complete authentication
ext-auth


Upload the package holding the applet
upload c:/sample.cap


Install the applet in the package
install |PackageAID |AppletAID


Display the card registry to check if the applet is loaded and installed
card-info


Select the applet
/select |AppletAID


Send a command to the applet (e.g. for testing the applet)
/send 00CA000100


Select the CardManager again
select


Do authentication again
init-update 255
ext-auth


Delete the applet and the package
delete |AppletAID
delete |PackageAID


Display the card registry to check if the package/applet is gone
card-info


-----------------------------------------------

在以在install scripts 后加上

/mode trace=on
/terminal
/card
set-key 255/1/DES-ECB/404142434445464748494A4B4C4D4E4F
set-key 255/2/DES-ECB/404142434445464748494A4B4C4D4E4F
set-key 255/3/DES-ECB/404142434445464748494A4B4C4D4E4F
init-update 255
ext-auth
card-info
/select A00000000987
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值