Verifying a Signature
After the last block of data is added to the hash, use CryptVerifySignature to verify the signature. The address of the signature data, a handle to the hash object, and the handle of the public keys are passed to CryptVerifySignature.
After the signature has been verified (or has failed the verification), destroy the hash object using the CryptDestroyHash function.
Build date: 10/26/2012