JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
HOW TO DEAL WITH THE COMMAND DATA ??
Moderator: product
HOW TO DEAL WITH THE COMMAND DATA ??
Dear All,
Thank you in advance as I am new to the Java card technology.
I am trying to check the first byte in the command data as shown in the example code.
I have declared the apduBuffer as
byte[] apduBuffer = apdu.getBuffer();
my problem is the code always process the else and never ever do the if. regardless of whatever value in the command data.
How can I deal with the command data ?
if (apduBuffer [0] > 30)
{
xx (apdu,LEN);
break;
}
else
ISOException.throwIt (SW_APPLET_SELECT_FAILED);
Best Regards
Thank you in advance as I am new to the Java card technology.
I am trying to check the first byte in the command data as shown in the example code.
I have declared the apduBuffer as
byte[] apduBuffer = apdu.getBuffer();
my problem is the code always process the else and never ever do the if. regardless of whatever value in the command data.
How can I deal with the command data ?
if (apduBuffer [0] > 30)
{
xx (apdu,LEN);
break;
}
else
ISOException.throwIt (SW_APPLET_SELECT_FAILED);
Best Regards
Re: HOW TO DEAL WITH THE COMMAND DATA ??
Look , mine is fine .
You do not have the required permissions to view the files attached to this post. Please login first.
well
Who is online
Users browsing this forum: No registered users and 26 guests