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.