The invention discloses a
software program module integrity detection method based on a PKI public key
algorithm, and the method comprises the steps: carrying out the signing of a program module through a fixed
certificate based on the PKI public key
algorithm and a dedicated loading module; verifying module signature, loading a module, decrypting an imported table envelope, restoring an importedtable and starting a signature verifying thread of a code region during operation through comprising a fixed
public key certificate, modulate signature and imported table digital envelope; entering anoriginal program inlet point for continuing the execution, wherein the secret keys employed during signing are consistent with the certificates employed during signature
verification in a one-to-onemanner. The beneficial effects of the invention lie in that the method protects
software from being tampered and used illegally under the condition that the normal function of the
software is not affected, and also protects the
intellectual property of a software owner.