Security Domain for Modem Test Applet

Two more questions…

  1. What security domain should an applet go into if it reads and writes files in the USIM ADF (EF_OPLMNwAcT, EF_HPLMNwAcT, EF_IMSI, etc)? Should it just go into the same security domain as USIM?

  2. For an applet to select USIM files (like EF_HPLMNwAcT), it seems like USIM don’t have a reserved file ID like the GSM and CDMA DFs used to have. You have to select it by AID, which you find in the MF EF-DIR file. For accessing USIM files, is best practice really to start out by selecting EF-DIR and searching for the USIM AID? Is there a shortcut here?

  1. yes, an applet for USIM file access should be part of the security domain of the USIM application
  2. you can use AID prefix match selection. There’s no need to discover the full AID from EF.DIR. As long as there is only one USIM, you can prefix-select with the well-known ADF.USIM AID.
1 Like