Upload a .cap file on Smart Card?

自作多情 提交于 2019-12-02 01:12:18

The ATR usually does not provide much useful information about a card. From the APDU trace you can see that the card is GlobalPlatform compliant and that its issuer security domain OPEN is accessible through the AID A0 00 00 00 03 00 00 00 (this could -- but not necessarily does -- indicate a JCOP card).

After that AID has been selected GPJ performs a successful authentication sequence (INITIALIZE UPDATE followed by EXTERNAL AUTHENTICATE). This indicates that you have access to that card using whatever keyset you configured GPJ with (or does it use some default keys?).

Then, after the successful authentication, GPJ tries to install that helloworld Java Card applet. The INSTALL command is successful, while loading the actual application code package fails. This could have several reasons. The most common one (assuming that the card is a Java Card) is that the applet is compiled for a different Java Card API than the card supports. In that case, you would need to recompile the applet for the correct Java Card platform version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!