Save data permanently into JavaCard and Protect with PIN
Posted: Mon Apr 03, 2017 3:40 pm
Hi,
I'm a newby in the smartcard world and I'm developing an applet which have to use group signatures inside the smartcard. Due to that fact I NEED to store 2 key values securely into the smartcard (protected with PIN) and they have to be persistent after power off or deselecting. I've read some docs and forums and seen that data can be stored in EEPROM (Is it this what i need to do?/If so, How do I protect this data with the PIN?).
To summaryze: How do I save forever 2 keys that are going to be sent to the smartcard once (since data is going to be send I guess I will have to check if it exists somehow when applet starts but I can't create at installation -or maybe yes if I know the size and after fill the space-) and safely protect it.
Any help,docs or reference will be greatly appreciated
I'm a newby in the smartcard world and I'm developing an applet which have to use group signatures inside the smartcard. Due to that fact I NEED to store 2 key values securely into the smartcard (protected with PIN) and they have to be persistent after power off or deselecting. I've read some docs and forums and seen that data can be stored in EEPROM (Is it this what i need to do?/If so, How do I protect this data with the PIN?).
To summaryze: How do I save forever 2 keys that are going to be sent to the smartcard once (since data is going to be send I guess I will have to check if it exists somehow when applet starts but I can't create at installation -or maybe yes if I know the size and after fill the space-) and safely protect it.
Any help,docs or reference will be greatly appreciated