Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to write and to read from eeprom javacard

843851May 19 2009 — edited Aug 13 2009
Hello,

I am new in javacard and I want please to know how can I write on eeprom's javacard and how can i read from it.
For example, I want to write a PIN code in my javacard's eeprom to personnalize it and then I need to read it( my PIN code) to verify that the user has taped the correct code. The verification is not a problem I think i can do it but my problem is that I didn't know the methodes that allows me to write and read from eeprom. Someone has an example to that? thank you all.

so my questions are:
1- how to write on eeprom? ( an example if possible)
2- when writing, can i specify where i want to store my data ( the PIN code, the nom, the prenom,..) in eeprom?
3-how to get the data that I wrote.

thank you
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 10 2009
Added on May 19 2009
10 comments
4,982 views