newbie question
Hi everybody,
I'm new at javacard technologie.
I've readden JCDK user's guide and I've test most of example like
describe in the guide it's work fine.
But I want to test the Wallet example in another package. But I don't have the same result. I can't even create the applet and install it.
What I do is:
Suppose I use the Wallet example of user's guide and I change the
the name of package to MyWallet.
I compile it with: javac - g Wallet.java
the file that I give to jcwde is wallet.app witch is :
// appletAID
com.sun.javacard.installer.InstallerApplet
0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0x8:0x1
mywallet.MyWallet 0xb0:0x0:0x0:0x0:0x6:0x0:0x1:0xc:0x5:0x1
I execute the test with: jcwde wallet.app
The commande apdu in the file wallet.scr are:
powerup;
// Select the installer applet
0x00 0xA4 0x04 0x00 0x09 0xa0 0x00 0x00 0x00 0x62 0x03 0x01 0x08 0x01 0x7F;
// 90 00 = SW_NO_ERROR
// create wallet applet
0x80 0xB8 0x00 0x00 0x14 0x0a 0xb0 0x0 0x0 0x0 0x6 0x0 0x1 0xc 0x5 0x1 0x08 0 0 0x05 0x01 0x02 0x03 0x04 0x05 0x7F;
//Select Wallet
0x00 0xA4 0x04 0x00 0x0a 0xb0 0x0 0x0 0x0 0x6 0x0 0x1 0xc 0x5 0x1
0x7F;
// *** SCRIPT END ***
powerdown;
When I execute the commande apdutool wallet.scr I got error when creating wallet applet and when I select it.
the status result are:
1- SW1: 64, SW2: 44
2- SW1: 6d, SW2: 00
I don't andestand what that mean. Can someone tell me why it does not work and where could find error meaning.
Thanks!

