JCSHELL (HOW TO)

Hello,

Iam trying out my hands on some JCShell command

I have an applet with the following

finalstaticbyteCLASS= (byte)0x80;

finalstaticbyteINS_VERIFY = (byte)0x20;

finalstaticbyteCREDIT = (byte)0x30;

finalstaticbyte DEBIT = (byte)0x40;

finalstaticbyteGET_BALANCE = (byte)0x50;

finalstaticbytePIN_SIZE = (byte) 2;

finalstaticbyte[] DEFAULT_PIN ={(byte) 0x12, (byte) 0x34}

The code above gives an hint of what the different values of the APDUs that can be used to (1)verify PIN (2) get balance (3) Credit (4) Debit

For a "an electronic purse application".

Can someone please advice on what exactly the JCShell commands for these four, (4) operations should be.

Regards,

[1779 byte] By [socxa] at [2007-10-3 5:21:32]
# 1
No, because you don't exactly specify the commands. Any command can be send using the /send command though.EG, the VERIFY command probably would be:/send 00200000021234You don't specify the CREDIT, DEBIT and GET_BALANCE in full, so I don't know how those should
_warper_a at 2007-7-14 23:28:29 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 2
hello,The command gives the errorCLA value not supportedwhat can be wrong?
socxa at 2007-7-14 23:28:29 > top of Java-index,Java Mobility Forums,Consumer and Commerce...
# 3
Hello,Even the command for VERIFY did not work.But guess i got it all sorted out. Thanks,
socxa at 2007-7-14 23:28:29 > top of Java-index,Java Mobility Forums,Consumer and Commerce...