Upload a .cap file on Smart Card?

前端 未结 1 1697
醉话见心
醉话见心 2021-01-22 03:36

I have a fresh card with the below code as its ATR.

3B 68 00 00 00 73 C8 40 12 00 90 00

I searched this ATR in google and finally I know

相关标签:
1条回答
  • 2021-01-22 03:58

    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.

    0 讨论(0)
提交回复
热议问题