NetBeans - java card 1

org.netbeans.modules.javacard.ri.card.RICard@c5f7c0[Default Device]
输入命令 "help" 以获取帮助"
>help
clear(或)cls:清除 Shell 控制台。
" 格式:
clear
cls
";
contacted:切换至接触式接口。
格式:
contacted

contactless:切换至非接触式接口。
格式:
contactless

extended:打开/关闭 APDU 的扩展长度模式。
格式:
extended <on/off>

get:从此卡中获取 http URL 的内容。
格式:
get <相对 url>
示例:
get /helloworld/inde.html
将返回 http://localhost:<serverport>/helloworld/index.html 的内容

help:显示有关给定命令的帮助消息(或)帮助
格式:
help [要获取相关帮助的命令名称]
示例:
help - 显示完整的帮助
help select - 显示有关选定命令的帮助

"history:显示之前输入的所有命令。
可以使用历史记录索引的快捷方式表示法来重新执行某个命令。
快捷方式的格式 !<历史记录索引> 例如 "!3"
格式:
history
要运行历史记录中的某个命令,请使用 !<索引>

list:显示此卡中所装入的包和所创建的实例的列表。
格式:
list

powerdown:向 APDU 端口发送 powerdown。
格式:
powerdown

powerup:向 APDU 端口发送 powerup。
格式:
powerup

restart:重新启动该卡。等同于在“服务”窗口中
右键单击该卡并选择“重新启动”。
格式:
restart

resume:恢复该卡。等同于在“服务”窗口中
右键单击该卡并从弹出式菜单中选择“恢复”。
格式:
resume

select:选择给定的 Applet。
格式:
select <aid>
AID 应该采用扩展格式。例如://aid/A000000062/03010C0101
示例:
select //aid/A000000062/03010C0101

send:向之前由 "select" 命令选定的 Applet 发送 APDU。
格式 - send <apdu>
其中 <apdu> 是用逗号(或)空格分隔的字节值。
字节值可以是以 0x 为前缀的十六进制数(或)以 0 开头的八进制数(或)简单十进制数(或)单个字符
要在 APDU 中包含逗号(或)空格,请使用其 ASCII 值。
示例:
send 0x80 0xCA 0x00 0x00 4, T, E, S, T

start:启动该卡。等同于在“服务”窗口中右键单击该卡并选择“启动”。
格式:
start

stop:停止该卡。等同于右键单击该卡并选择“停止”。
格式:
stop


>powerup
完成
>send 0xA0 0xB0 0x00 0x00 0x00 0x02;
CLA: a0, INS: b0, P1: 00, P2: 00, Lc: 01, 02, Le: 00, SW1: 69, SW2: 99
>send 0xA0 0xB2 0x00 0x00 0x02 0x01 0x00 0x7F;
CLA: a0, INS: b2, P1: 00, P2: 00, Lc: 03, 01, 00, 7f, Le: 00, SW1: 69, SW2: 99
>send 0xA0 0xB0 0x00 0x00 0x00 0x02;
CLA: a0, INS: b0, P1: 00, P2: 00, Lc: 01, 02, Le: 00, SW1: 69, SW2: 99
>>send 0xA0 0xB0 0x00 0x00 0x00 0x02

未知命令:'>send 0xA0 0xB0 0x00 0x00 0x00 0x02'
>send 0xA0 0xB0 0x00 0x00 0x00 0x02;
CLA: a0, INS: b0, P1: 00, P2: 00, Lc: 01, 02, Le: 00, SW1: 69, SW2: 99
>send 0xA0 0xB0 0x00 0x00 0x00 0x02
CLA: a0, INS: b0, P1: 00, P2: 00, Lc: 01, 02, Le: 00, SW1: 69, SW2: 99
>select //aid/A3B8CE99A5/04
CLA: 00, INS: a4, P1: 04, P2: 00, Lc: 06, a3, b8, ce, 99, a5, 04, Le: 00, SW1: 90, SW2: 00
>send 0xA0 0xB0 0x00 0x00 0x00 0x02
CLA: a0, INS: b0, P1: 00, P2: 00, Lc: 01, 02, Le: 02, 00, b0, SW1: 90, SW2: 00
>send 0xA0 0xB2 0x00 0x00 0x02 0x01 0x00 0x7F
CLA: a0, INS: b2, P1: 00, P2: 00, Lc: 03, 01, 00, 7f, Le: 00, SW1: 90, SW2: 00
>send 0xA0 0xB0 0x00 0x00 0x00 0x02
CLA: a0, INS: b0, P1: 00, P2: 00, Lc: 01, 02, Le: 02, 01, b0, SW1: 90, SW2: 00
>


[img]http://dl.iteye.com/upload/attachment/0071/1674/2cf64875-3725-3a5c-9185-5ad8e2b17830.jpg[/img]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值