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!

Questions about the JavaCard kit 2.2.2

843851Jun 19 2007 — edited Jul 20 2007
Hi,

I've been working on JavaCard development for about two weeks now. Initially I used IBM's JCOP tools for eclipse, but I quickly realized that it doesn't use the JavaCard 2.2.2 (AES and ECC not supported). So, developing for JCOP21 and JCOP41 and wishing to utilize both aforementioned algorithms, I'm now trying to use the JavaCard kit 2.2.2. However, this is turning out to be rather troublesome. I've been trying to sort out issues myself, but I'm rather stuck with the following two now:

1. When trying to use the converter tool I get the following error message
Verifier Error: Ill-formed export file E:\tools\src\javacard\src.exp: Class or interface src.CryptoTest:
Library package cannot have non-abstract classes that extend javacard.framework.Applet. Please convert package src again with -applet option.


I guess this means that the converter wants me to use the -applet option to give the installer applet. From what I've been able to figure out, the installer applet is sort of a default thing (0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0x8:0x1?), but this input is not accepted.

The other question is somewhat similar:
2. When using the apdutool, I have to submit my own install APDUs. How do I figure out these? I've tried looking at examples, but I'm not able to figure out how to determine all the bytes in the data field.

If anyone would be able to shed some light on either of these topics, I would be very grateful.

Best regards,
J�ran Lillesand
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2007
Added on Jun 19 2007
29 comments
1,067 views