Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Card JCOP Problem

843851Feb 10 2006 — edited Nov 29 2006
Hi,

I am a little bit confused in JavaCard World, My aim is to install an applet on a JCOPv2.2 Card. My aim is to generate the APDU's for a complete installation process (i.e. without using the JCOP Shell). I took a look on all other topics but i didn't find the right answer...

Those cards are conform to the JavaCardSpecification 2.2.1 and GlobalPlatform 2.1.1. so I read the sections concerning the installation process...
The JCRE specification talks a little bit of the installer (on-card installer) but say that its AID is specific to the implementer.
I read the GlobalPlatform Specification and the installation process is not completely defined :
- we must first select the Issuer Security Domain (in this case, this would be the CardManager of JCOP).
- Then a optional authentification process could be required => that's where my problems start...

1) what is the installer's AID of a JCOP Card?

2) what is the autentification process so as to begin the installation of an applet?
I saw some examples using the JCOP shell, using /init-update, /set-key and /ext-auth.

2.a) what are those keys, are they default keys that could be used for any JCOP card?
I don't want to try with mine because i don't want to lock the card...

2.b) why do they set 3 keys (in the examples)?
I think that one shared secret (i.e. one key) would be sufficient.

2.c) Are those JCOP shell commands translated into standard ISO 7816 commands (like GET_CHALLENGE and EXTERNAL_AUTHENTICATE)?

Another thing that I don't understand is the scriptgen utility given in the JavaCard Toolkit. It is said that this utility generate APDUs for loading an applet on a JavaCard. This is exactly what i want but when I take a look of APDUs generated by the script it doesn't seem to be conform to the GlobalPlatform specifications. I don' see any load or install APDU in it...

3) Can I use the scripts by scriptgen utility so as to load an applet on a JCOP card? What kind of modifications should I do?

4) Does anyone know the meaning of the APDUs generated in those scripts?

Maybe you will not be able to answer all these questions but you can give an answer for only one question.

Best Regards (and sorry If i made some english mistakes),
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2006
Added on Feb 10 2006
7 comments
975 views