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!

Java card tear (power on/off) event

1016697Mar 10 2014 — edited May 12 2014

Hi,

I have an applet with a custom challenge-response protocol which transitions the applet from a locked to an unlocked state.

I want to force the applet to the locked state whenever the card loses power, but NOT when the applet is selected/deselected/whatnot.

As long as the card is inserted into the card reader, I want the state to remain - but once it loses power I want it to be locked the next

time it is powered/selected.

I've looked at MultiSelectable and AppletEvent, but they all seem to trigger on an applet selection/deselection, not card power transitions. So I'm kinda stuck

here looking for solutions - any feedback greatly appreciated.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2014
Added on Mar 10 2014
6 comments
3,218 views