Hi there!
 
After the superfast reply to my first message sent to this mailinglist, I kind of can not resist to write again... even while this problem has only been bugging me for the past 3-4 hours. However, I think that I won't come any further.
 
I wrote a nice JAVA Smart Card "purse" with a simple getBalance, debit, credit and authorize/validate function. It is Basic, but it is GREAT to me :-) And yes, everything works perfectly fine! Even the PIN check works OK. [i think].
 
 
However, one question... How do I SET the PIN?  [ownerPIN]
 
(I am using the APDUTool that comes with SUN's JavaCard package)
Is it a command that I need to send to CLA 00 or 80?
 
So, the asnwer I am looking for would be like:
"Just use CLA INS P1 P2 Lc [DATA] Le", where these terms represent the real data of course :-)
Or maybe the asnwer is that you can define the PIN in your application?
[I realise this would be possible without using the OwnerPIN class]
 
Thank you in advance,
 
John Brookman
 
P.S> I am using JC2.1

Reply via email to