Back to product page

VerifyEXE method


Verifies signature of the signed executable.

Type

A Certificate object. If signature is correct, Certificate object will be returned.

Syntax

  • Basic
object.VerifyEXE Data
The VerifyEXE(object,Data) syntax has these parts:
objectAn expression evaluating to an object of type wodCrypt.
Data Required. A Blob object. Contains signed executable.

Remarks

The VerifyEXE method checks if valid digital signature exists in Data blob. If such signature is found, VerifyEXE will try to perform various tests to make sure data has not been tampered with, signer's certificate has not expired, etc.. If signature is valid, this method will successfully return Certificate object containing reference to signer's certificate.

You can use SignEXE method to sign the data, or any other external tool such as 'signcode.exe' program

Code sample

  • Basic

Platforms

Windows