Share via


Signfile.exe

Windows Mobile Not SupportedWindows Embedded CE Supported

11/18/2009

Signfile.exe signs an executable with a supplied private key.

You can use the following command-line parameters with this tool.

signfile [ parameters ]

Parameters

  • -f PEFile
    Specifies the file to be signed.
  • -a
    Appends signature to PE File.
  • -k KeyName
    Uses a private key from the named CryptoAPI key container.
  • -o Cfile
    Outputs the public key to a file as a C structure.
  • -s AttribString
    Specifies an optional attribute string to be included in signature. For example, you can add a string to indicate the trust level of the application.
  • -p SignFile
    Outputs the signature to a file.

The following command-line example shows how to sign Xyz.dll using the private key in key container TESTKEY1024.

Signfile -fXyz.dll -a -kTESTKEY1024

For more information about this tool, see Signature Creation.

See Also

Concepts

Signature Creation