Export (0) Print
Expand All

CCryptHash::VerifySignature 

Call this method to verify the signature of the hash.


HRESULT VerifySignature(
   const BYTE * pbSignature,
   DWORD pdwSignLen,
   CCryptKey &PubKey,
   DWORD dwFlags = 0
) throw();

Parameters

pbSignature

The signature.

pdwSignLen

The number of bytes in the signature.

PubKey

The public key used to authenticate the signature.

dwFlags

Specify CRYPT_NOHASHOID if you do not expect the hash OID to be present or checked.

Returns S_OK on success, or an error HRESULT on failure.

For more information, see CryptVerifySignature in the Platform SDK.

Community Additions

ADD
Show:
© 2014 Microsoft