Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

Why can't PIN_TRY_LIMIT be reset ?

JavaCard Applet Development Related Questions and Answers.
ordane
Posts: 11
Joined: Thu Dec 17, 2015 11:02 pm
Points :57
Contact:

Why can't PIN_TRY_LIMIT be reset ?

Post by ordane » Wed Dec 30, 2015 4:18 am

I have developed an applet running on Java card 3.0.4. But I run into a problem: the retry counter of PIN doesn't reset its value.
I set the PIN_TRY_LIMIT value to 0x03.

Here are my test steps.
1. Select the applet.
2. Verify PIN with wrong data deliberately(twice)
3. Call ResetRetryCounter() method to reset the PIN_TRY_LIMIT value(0x03).
4. Get the PIN_TRY_LIMIT value.The result is 0x01, but the expected result value is 0x03.

Where did I make the mistake? Why can't PIN_TRY_LIMIT be reset ?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: Why can't PIN_TRY_LIMIT be reset ?

Post by UNKNwYSHSA » Wed Dec 30, 2015 9:57 am

The PIN class is implemented by yourself? Isn't the javacard.framework.OwnerPIN class?
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 22 guests

JavaCard OS : Disclaimer