Code: Select all
OPSystem.getCPLCData(javacard.framework.APDU apdu, short apdu_offset, short cplc_offset, short length)
in install() method. But APDU is not accessible in install method.
Here is my code:
Code: Select all
public static void install(bytes[] bArray, short bOffset, byte bLength){
short apdu_offset = (short)0;
short cplc_offset = (short)8;
short length = (short)2;
OPSystem.getCPLCData(apdu, apdu_offset, cplc_offset length);
}
Does anybody know where I did wrong? Pls help to solve this. Thanks