Hi,
iam trying to communicate over a secure channel with the host application.
But when i try to create a SecureChannel object:
package mk.sec.chn;
import org.globalplatform.SecureChannel;
import javacard.framework.APDU;
import javacard.framework.Applet;
import javacard.framework.ISOException;
public class Test extends Applet {
private SecureChannel chn; //this does not work...
public Test(byte[] bArray, short bOffset, byte bLength) {
register(bArray, (short) (bOffset + 1), bArray[bOffset]);
}
public static void install(byte[] bArray, short bOffset, byte bLength) {
new Test(bArray, bOffset, bLength);
}
public void process(APDU apdu) throws ISOException {
}
}
i get an error "Converter: Java property jc.home is not set".
Every other applet works fine but when i try to use something from the globalplatform i get this error.
What is this for a property and how to set it right ?
Best regards