How to know Le in APDU command ?
Posted: Mon Sep 04, 2017 3:53 am
We can use apdu.setIncomeandReceive to get the byte number we received, and compared with Lc to make sure if the APDU command is incorrect or correct.If I send Le in my APDU, it must be one byte of Data field.
And I found there is not a ISO7816,OFFSET_LE, so how can the card get the Le?
In java card API specification I found
How can this command get the Le ?
And I found there is not a ISO7816,OFFSET_LE, so how can the card get the Le?
In java card API specification I found
Code: Select all
short le = apdu.setOutgoing();
How can this command get the Le ?