Hi! I have a problem about APDU format in Java Card Applet.
Does Java Card Runtime verify APDU format before pass it to Applet.process method?
I do not find the informations about this in JCRE Specification.
For example:
When APDU = 00 01 02 03 FF 00 01
CLA = 00
INS = 01
P1 = 02
P2 = 03
LC = FF
Data = 00, 01
This case, data length is not matched to LC, some card does pass it to Applet.process method, some card does not, just return SW 6700(Wrong Length) to reader.
Message was edited by: Archie Yang
Correct, P3 => P2