Problems with Create Applet APDU
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, January 8, 2002 08:26 AM

Hi all I have created a JavaCard applet and successfully converted to a CAP file. I now am at the stage where I have an APDU script file I want to pass to the CREF. I have appended on the powerup and powerdown commands, as well as a create applet APDU - this is where I encounter problems. My Create applet APDU is: 0x80 0xB8 0x00 0x00 0x0c 0x0a 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x7 0x1 0x00 0x7F; My AID is 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x7 0x1 and I am passing no parameters. However I am returned the following APDU CLA: 80, INS: b8, P1: 00, P2: 00, Lc: 0c, 0a, a0, 00, 00, 00, 62, 03, 01, 0c, 07, 01, 00, Le: 00, SW1: 64, SW2: 43 Has anybody   More>>

Hi all


I have created a JavaCard applet and successfully converted to a CAP file. I now am at the stage where I have an APDU script file I want to pass to the CREF.


I have appended on the powerup and powerdown commands, as well as a create applet APDU - this is where I encounter problems. My Create applet APDU is:


0x80 0xB8 0x00 0x00 0x0c 0x0a 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x7 0x1 0x00 0x7F;


My AID is 0xa0 0x0 0x0 0x0 0x62 0x3 0x1 0xc 0x7 0x1 and I am passing no parameters.



However I am returned the following APDU


CLA: 80, INS: b8, P1: 00, P2: 00, Lc: 0c, 0a, a0, 00, 00, 00, 62, 03, 01, 0c, 07, 01, 00, Le: 00, SW1: 64, SW2: 43


Has anybody encountered the SW 0x6443 before? Or can anybody see something I am doing wrong? Any help is greatly appreciated.




Best Regards,


Shane

   <<Less

Re: Problems with Create Applet APDU

Posted By:   Joseph_Smith  
Posted On:   Tuesday, January 8, 2002 06:55 PM

64 43 is applet not found. When you added the powerup command, did you also add the installer applet ?

Since you didn't include all of your steps, did you also run scriptgen against the cap file to create the apdu's to send to the CREF ?

Double check that all is okay by executing the apdu's without your stuff and make sure it all works.
About | Sitemap | Contact