Installer Components and Data Flow

The following illustration shows the components of the installer and how they interact with the other parts of Java Card technology.

The off-card installer is the scriptgen. The on-card installer resides on the smart card. The apdutool is not considered an installer, but processes the output from the scriptgen and sends it to the on-card installer.

For more information about the installer, see the Java Card Platform Runtime Environment Specification, Classic Edition, Version 3.1.

Figure 8-1 Installer components



The data flow of the installation process is as follows:

  1. The scriptgen takes the CAP file produced by the Converter and generates a script file that contains a sequence of APDU commands.

  2. This set of APDUs is read by apdutool tool and sent to the on-card installer.

  3. The on-card installer processes the CAP file contents contained in the APDU commands, and sends a response APDU containing a status and, optionally, the response data.