Figure 9-1 illustrates the components of the installer and how they interact with other parts of Java Card technology. The dotted line encloses the installer components.
The off-card installer is scriptgen
. The on-card installer resides on the smart card. apdutool
is not considered an installer, but processes the output from scriptgen
and sends it to the on-card installer.
For more information about the installer, see the Runtime Environment Specification, Java Card Platform, Version 3.0.5, Classic Edition.
The data flow of the installation process is as follows:
scriptgen
takes a version 2.1 or later CAP file produced by the Converter and generates a text file that contains a sequence of APDU commands.
This set of APDUs is read by apdutool
and sent to the on-card installer.
The on-card installer processes the CAP file contents contained in the APDU commands, and sends a response APDU containing a status and, optionally, response data.