0

I need to get the current time and reset the UICC in an APDU command processed in the process method of the Applet. I'm concerned about the statement in the uicc.toolkit.ProactiveHandlerSystem.getTheHandler() method:

The applet shall get the reference of the handler at its triggering, the beginning of the processToolkit method.

I assume I will get a HANDLER_NOT_AVAILABLE ToolkitException when trying to get the handler anywhere else except the processToolkit method.

Has anyone experience with this?

What are the alternatives to get the time and execute the reset?

I could get the time in advance after the PROFILE DOWNLOAD event or in the last STATUS event before the process command is triggered. But this would mean to poll the time continuously even if the my APDU command is not called. I could wait for the next STATUS command and listen to it to execute the reset, but this would be a delay of 30 seconds.

k_o_
  • 5,143
  • 1
  • 34
  • 43

0 Answers0