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!

install method in JMRTD

946598Jul 3 2012 — edited Jul 4 2012
in JMRTD PassportAppler I found that they use the install method as follows:

public static void install(byte[] buffer, short offset, byte length) {
new PassportApplet(PassportCrypto.PERFECTWORLD_MODE).register();
}

can the new object PassportApplet have different parameters than the install parameters ?!
because all the examples that I saw in javacard doesn't look like this (the new object always has the same parameters as the the install method) and because I receive an error in the method install when I try to run their program as the following:

Failed to install applet sos.passportapplet.Applet0
INSTALL (for install) response check failed with SW 6F 00

any help ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 1 2012
Added on Jul 3 2012
4 comments
1,124 views