Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

the usage of CLEAR ON RESET

JavaCard Applet Development Related Questions and Answers.
Asineshjil
Posts: 13
Joined: Wed Sep 16, 2015 10:54 pm
Points :60
Contact:

the usage of CLEAR ON RESET

Post by Asineshjil » Mon Jun 20, 2016 3:09 am

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
Java card newbie :evil:

User avatar
mabel
Posts: 237
Joined: Mon May 18, 2015 3:09 am
Points :1705
Contact:

Re: the usage of CLEAR ON RESET

Post by mabel » Mon Jun 20, 2016 4:29 am

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.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Google [Bot] and 57 guests

JavaCard OS : Disclaimer