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 Java Card Platform Virtual Machine Specification, Classic Edition, Version 3.1. If you have a source release, you can localize data associated with the scriptgen
tool.
Table 8-1 scriptgen Command Line Options
Option | Description |
---|---|
|
Prints a help message and exits. |
cap-file-path |
CAP file name including the full absolute path. |
|
Fully qualified path and name of the verifier-generated file that contains the hashes for all of the components in the input CAP file. |
|
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. |
Note:
The apdutool
commands of powerup;
and powerdown;
are not included in the output from scriptgen
.