Why can't PIN_TRY_LIMIT be reset ?
Why can't PIN_TRY_LIMIT be reset ?
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 ?
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 ?
- UNKNwYSHSA
- Posts: 630
- Joined: Thu May 21, 2015 4:05 am
- Points :3053
- Contact:
Re: Why can't PIN_TRY_LIMIT be reset ?
The PIN class is implemented by yourself? Isn't the javacard.framework.OwnerPIN class?
sense and simplicity
Who is online
Users browsing this forum: No registered users and 55 guests