Utilities reference
This section contains information about command-line utilities that are relevant to FM development and deployment.
mkfm
The mkfm utility is used to time-stamp, hash, and sign an FM binary image
Synopsis
mkfm -f<filename> -k<key> -o<filename> [-s]
Options
The following options are available for mkfm:
- f<filename>, --input-file=<filename>
-
Specifies the relative or full path to the FM binary image.
- k<key>, --private-key=<key>
-
Specifies the name of the private key, which is going to be used to sign the FM image. The format of the key is “TokenName(PIN)/KeyName”, or “TokenName/KeyName”. The private keys stored in admin token cannot be used with this utility.
- o<filename>, --output-file=<filename>
-
Specifies the relative or full path to the downloadable FM image.
- s, --show-info
-
Note
This option is only available if you are using ProtectToolkit 7.2.0 or newer.
This option is used with f<filename>, --input-file=<filename>
Displays the following FM binary image information:
Label SMFS_DEMO FM ID 0x500 Manufacturer SafeNet Inc Production Date 1970-01-01 00:00:00 Serial 000000000 Signature Length Not signed
ctcert
This utility is included in ProtectToolkit-C. For more information, refer to Command-line utilities reference.
ctconf
This utility is included in ProtectToolkit-C. For more information, refer to Command-line utilities reference.
ctfm
This utility is included in ProtectToolkit-C. For more information, refer to Command-line utilities reference.