java卡安全域,JCOP的安全域的AID和“未融合卡”的含义或“未预先个性化”

I download a software named JCOP Manger from here to deal with my CJ3A080 jcop java card.

It recognize my card currectly. but it don't let my to install or list applets! why?

Output of this software:

XAKJL.jpg

I try to select the ISD using CardTool (The software that I use to send APDU to card), but as you see below none of common AIDs not found on the card :

Note that, CardTool output format is as below :

< CLA | INS | P1 | P2 | Lc | Le

< Command Data Field (If Possible)

> Response Data Field (If Possible)

> SW1 SW2

So, This is output of CardTool :

Answer-to-Reset

3B F8 13 00 00 81 31 FE 45 4A 43 4F 50 76 32 34 31 B7

< 00 A4 04 00 08 00

< A0 00 00 00 03 00 00 00

> 6A82

< 00 A4 04 00 07 00

< A0 00 00 00 03 00 00

> 6A82

< 00 A4 04 00 08 00

< A0 00 00 00 18 43 4D 00

> 6A82

< 00 A4 04 00 08 00

< A0 00 00 01 51 00 00 00

> 6A82

< 00 A4 04 00 07 00

< A0 00 00 00 03 53 50

> 6A82

I also try gp.exe tool, and this is its output :

E:\GP>gp -list

Exception in thread "main" java.lang.IllegalStateException: No selected ISD!

at openkms.gp.GlobalPlatform.openSecureChannel(GlobalPlatform.java:327)

at openkms.gp.GPTool.main(GPTool.java:280)

E:\GP>

The questions are:

1- What does this mean? "Not Fused (Not Pre-Personalized)"

2- How I can personalize it?

3- How we can find that if a card fused or not?

4- What is the AID of Security Domain?

I asked all these 4 questions in a singe topic, because these are closely related to each other

解决方案

Before a smart card can be used, it needs to be "pre-personalized": some basic settings need to be written, ISD keys initialized, etc. If a card is not pre-personalized, it will not respond to normal APDUs.

The pre-personalization process is vendor-specific and there is a chain of trust involved, so you will need to ask your card supplier for the tools, keys and documentation so you can do it.

This blog post http://colinoflynn.com/tiki-view_blog_post.php?postId=34 explains how to know if a JCOP card has been pre-personalized, by sending a SELECT APDU to a special AID. It is probably the same command the JCOP Manager tool you used for your screenshot is sending.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值