Running scriptgen
The scriptgen
tool converts a package contained in a CAP file into a script file. The script file contains a sequence of APDUs in ASCII format suitable for another tool, such as apdutool
, to send to the CAD. The CAP file component order in the APDU script is identical to the order recommended by the Virtual Machine Specification, Java Card Platform, Version 3.0.5, Classic Edition. If you have a source release, you can localize data associated with the scriptgen
tool.
Table 9-1 scriptgen Command Line Options
Option | Description |
---|---|
|
Prints a help message and exits. |
cap-file |
CAP file name including the full absolute path. |
|
Suppresses printing of the banner. |
|
Suppresses the output of the CAP Begin and CAP End APDU commands. |
|
Output filename (default is |
|
The name of the package contained in the CAP file. If the CAP file contains components of multiple packages, you must use this option to specify which package to process. |
|
Prints the version number and exits. |