
This value can be a substring of the entire issuer name. Specifies the name of the issuer of the signing certificate. Note: An error is generated if the /fd switch is not provided while signing. Specifying the string certHash will default to the algorithm used on the signing certificate. Specifies the file digest algorithm to use for creating file signatures. If the file does not contain private keys, use the /csp and /kc options to specify the CSP and private key container name. If the file is in Personal Information Exchange (PFX) format and protected by a password, use the /p option to specify the password. Specifies the signing certificate in a file. Specifies a Uniform Resource Locator (URL) for the expanded description of the signed content. Specifies a description of the signed content. Specifies the cryptographic service provider (CSP) that contains the private key container. Specifies the Certificate Template Name (a Microsoft extension) for the signing certificate. If no primary signature is present, this signature is made the primary signature instead. If this option is not present, Sign Tool expects to find only one valid signing certificate.Īdds an additional certificate from file to the signature block.Īppends this signature. Sign Tool will find all valid certificates that satisfy all specified conditions and select the one that is valid for the longest time. Sign command optionĪutomatically selects the best signing certificate. The following table lists the options that can be used with the sign command. If this option is not specified, Sign Tool overwrites any existing catalog that has the same name as the catalog being added. If necessary, the catalog files are renamed to prevent name conflicts with existing catalog files. Specifies that a unique name is automatically generated for the added catalog files. If this option is not specified, Sign Tool adds the specified catalogs to the catalog database. Removes the specified catalogs from the catalog database. Specifies that the catalog database identified by the globally unique identifier GUID is updated.
#MAGTOOL COMMANDS DRIVER#
If neither the /d nor the /g option is used, Sign Tool updates the system component and driver database. Specifies that the default catalog database is updated. The following table lists the options that can be used with the catdb command. Global optionĭisplays no output if the command runs successfully, and displays minimal output if the command fails.ĭisplays verbose output regardless of whether the command runs successfully or fails, and displays warning messages. The following options apply to all Sign Tool commands. For a list of the options supported by the Verify command, see Verify Command Options. Verifies the digital signature of files by determining whether the signing certificate was issued by a trusted authority, whether the signing certificate has been revoked, and, optionally, whether the signing certificate is valid for a specific policy. For a list of the options supported by the TimeStamp command, see TimeStamp Command Options. For a list of the options supported by the sign command, see sign Command Options. Digital signatures protect files from tampering, and enable users to verify the signer based on a signing certificate. For a list of the options supported by the catdb command, see catdb Command Options.ĭigitally signs files. Catalog databases are used for automatic lookup of catalog files and are identified by GUID. CommandĪdds a catalog file to, or removes it from, a catalog database. Each command is used with distinct sets of options, which are listed in their respective sections. The following commands are supported by Sign Tool. In addition to the global /q and /v options, each command supports a unique set of options. For a description of each command, see the next table.Īn option that modifies a command. One of four commands ( catdb, sign, Timestamp, or Verify) that specifies an operation to perform on a file.
#MAGTOOL COMMANDS CODE#
An error (error code 1) will be thrown if /fd is not specified during signing and if /td is not specified during timestamping.Īt the command prompt, type the following: Syntax signtool The SignTool sign command requires the /fd file digest algorithm and the /td timestamp digest algorithm option to be specified during signing and timestamping, respectively.
#MAGTOOL COMMANDS WINDOWS 10#
The Windows 10 SDK, Windows 10 HLK, Windows 10 WDK and Windows 10 ADK builds 20236 and later require specifying the digest algorithm.
