Page 1 of 1
How to set the PIN code by user
Posted: Tue Apr 18, 2017 10:48 pm
by Blianna
As far as I know, we can set PIN by assigning the value into the code. I wonder whether there is any way to set the PIN code by card user?
Re: How to set the PIN code by user
Posted: Wed Apr 19, 2017 12:05 am
by tay00000
If you are refering to the JavaCard variant of smart cards, you can use OwnerPIN's update() method.
From the question you asked, it seems like you are very new to smart card development (especially the JavaCard type). Please familiarize yourself with ISO-7816, ISO-14443, GP-2.1.1, JC-2.X.X and JC-3.X.X standards and APIs (GP - GlobalPlatform standards, JC - JavaCard platform and standard).
Re: How to set the PIN code by user
Posted: Wed Apr 19, 2017 1:56 am
by Blianna
tay00000 wrote:If you are refering to the JavaCard variant of smart cards, you can use OwnerPIN's update() method.
From the question you asked, it seems like you are very new to smart card development (especially the JavaCard type). Please familiarize yourself with ISO-7816, ISO-14443, GP-2.1.1, JC-2.X.X and JC-3.X.X standards and APIs (GP - GlobalPlatform standards, JC - JavaCard platform and standard).
It's nice of you to help me. So, I can set any value I want by OwnerPIN's update() method, right?
I have just started smart card development. Anyway, I will do a further study on it as you suggested.
Re: How to set the PIN code by user
Posted: Wed Apr 19, 2017 7:15 am
by tay00000
Blianna wrote:So, I can set any value I want by OwnerPIN's update() method, right?
Yes. Read the OwnerPIN API for JavaCard here (
http://www.javafind.net/library/111/javacard_specifications-3_0_4-RR/classic/api_classic/index.html?overview-summary.html).
Also, you might want to bookmark the JavaCard API or even download a copy. Bookmark the API (
http://www.javafind.net/library/111/javacard_specifications-3_0_4-RR/classic/api_classic/index.html).
Re: How to set the PIN code by user
Posted: Thu Apr 20, 2017 4:56 am
by Blianna
I am greatly appreciated for your kind help. Many thanks.