JavaCard Applet Development Related Questions and Answers.
-
Kabin
- Posts: 9
- Joined: Tue Apr 18, 2017 3:51 am
- Points :116
-
Contact:
Post
by Kabin » Fri May 26, 2017 11:05 pm
I have a problem about APDU buffer. When I select my applet, there are "CLA INS P1 P2 Lc Data" in the buffer, but when I tried to check the PIN code, this buffer array didn't have my PIN code in the data field. I only got "CLA INS P1 P2 Le". Why didn't it contain my PIN code? Need I do other operation to get this?
-
Kabin
- Posts: 9
- Joined: Tue Apr 18, 2017 3:51 am
- Points :116
-
Contact:
Post
by Kabin » Sat May 27, 2017 5:53 am
Well, I found I have made a stupid mistake. I missed this line
Thanks for your help, choimillen.
-
UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3055
-
Contact:
Post
by UNKNwYSHSA » Sun May 28, 2017 11:04 pm
choimillen wrote:Please add this command:
You need to make sure that all data bytes are received, maybe you need the method apdu.receiveBytes() to receive all your data bytes.
sense and simplicity
Users browsing this forum: Google [Bot] and 51 guests
JavaCard OS : Disclaimer
Board Disclaimer
The views and comments posted in these fora are personal and do not necessarily represent the those of the Management of JavaCard OS.
The Management of JavaCard OS does not, under any circumstances whatsoever, accept any responsibility for any advice, or recommentations, made by, or implied by, any member or guest vistor of JavaCard OS that results in any loss whatsoever in any manner to a member of JavaCard OS, or to any other person.
Furthermore, the Management of JavaCard OS is not, and cannot be, responsible for the content of any other Internet site(s) that have been linked to from JavaCard OS.