install method in JMRTD
946598Jul 3 2012 — edited Jul 4 2012in 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 ?