|
Verifying Signatures
To verify a signature, a hash object must first be created using the CryptCreateHash function. This object will accumulate the data to be verified. The data is
then added to the hash object with the CryptHashData function.
After the last block of data is added to the hash, the CryptVerifySignature function is used to verify the signature. The signature data, a handle to the
hash object, and the description string must all be supplied to CryptVerifySignature. A handle to the key pair that was used to sign the data must also be
specified.
Once the signature has been verified (or has failed the verification) the hash
object should be destroyed with the CryptDestroyHash function.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|