NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Certificate Verification Utility (chktrust.exe)

The ChkTrust utility checks the validity of an Authenticode™-signed file. If the hashes agree, ChkTrust verifies the signing certificate.

Syntax

ChkTrust [options] signedFile
Argument Description
signedFile Named of the signed filed containing the signature to be verified.
Option Description
-q ChkTrust will not display user interface.
-v Verbose mode. Displays detailed information about the validity of a signed file. The default is to display brief information.

Example

The following command demonstrates the use of ChkTrust with Internet Explorer 4.0 or later.

ChkTrust MyProgram.exe

A successful response from the above command would be:

MyProgram.exe: Succeeded

This result indicates that the file checked has a valid digital signature.