JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
the usage of CLEAR ON RESET
-
- Posts: 13
- Joined: Wed Sep 16, 2015 10:54 pm
- Points :60
- Contact:
the usage of CLEAR ON RESET
Hello,
We can create transient array to have data stored in RAM, and the event attached is "Clear on Reset".
Could anyone tell me the usage of CLEAR ON RESET event in this case?
Why do we need CLEAR ON RESET event attached to transient data? Because on card reset, things on RAM will be automatically cleared. Having the event CLEAR ON RESET seems redundant.
kind regards,
ASHINE
We can create transient array to have data stored in RAM, and the event attached is "Clear on Reset".
Could anyone tell me the usage of CLEAR ON RESET event in this case?
Why do we need CLEAR ON RESET event attached to transient data? Because on card reset, things on RAM will be automatically cleared. Having the event CLEAR ON RESET seems redundant.
kind regards,
ASHINE
Java card newbie 

Re: the usage of CLEAR ON RESET
It's used to distinguish between clear on applet deselect and card reset. If you didn't have a flag, they would all be clear on reset.
Who is online
Users browsing this forum: No registered users and 46 guests