VerifySignature Method
Verifies the signature for the specified data.
Object Oriented Interface
public function doVerifySignature();
Procedural Interface
ipworksencrypt_dsa_do_verifysignature($res);
Remarks
This method will verify a hash signature.
Before calling this method specify the input file by setting InputFile or InputMessage.
A public key and the hash signature are required to perform the signature verification. Specify the public key in SignerKey. Alternatively, a certificate may be specified by setting SignerCert. Specify the hash signature in HashSignature.
When this method is called the class will compute the hash for the specified file and populate HashValue. It will verify the signature using the specified SignerKey and HashSignature.
To verify the hash signature without first computing the hash simply specify HashValue before calling this method.
The Progress event will fire with updates for the hash computation progress only. The hash signature verification process is quick and does not require progress updates.