Installing an applet on to GP Card
843851Jun 22 2010 — edited Jul 20 2010Hi,
I have been trying to install an applet on GP Card. First I was having trouble generating the CAP file as I am new to java cards and didn't have any idea on it. I searched several forums and everybody seemed to be guessing on getting the jdk versions correct. Anyways, I finally managed to figure out the actual combination and it worked.
JDK 1.4 and Java card kit 2.2.2.
Anyways, now my problem is that i can't seem to find the proper command to physically load the applet on to the card. I am using the following command i got from the GP Card ver 2.2 which is an Install command it is really confusing. Can somebody correct me on the command that i am using and give me a working command so that i can use it.
Oh and i have managed to authenticate the card and the card reader using the mac and enc keys provided by the manufacturer. The command is as follows:
80 E6 0C 00 26 0A A0 00 00 00 62 03 01 0C 01 01 09 A0 00 00 00 62 03 01 0C 01 09 A0 00 00 00 62 03 01 0C 01 01 00 02 C9 00 00 00 07
Now,
Package ID: A0 00 00 00 62 03 01 0C 01 01
Applet ID: A0 00 00 00 62 03 01 0C 01
I tried to figure out the command as it was mentioned in one of the forums using the GP Card Specs V 2.2 but there are no examples in there to actually understand it properly.
Can someone please guide me through this? Thanks in advance.
Cheers!
Vibhor
Edited by: sean_stealth on Jun 22, 2010 1:54 AM