NAME

CryptVerifySignatureW  (ADVAPI32.@)

SYNOPSIS

 BOOL CryptVerifySignatureW
 (
  HCRYPTHASH hHash,
  BYTE*      pbSignature,
  DWORD      dwSigLen,
  HCRYPTKEY  hPubKey,
  LPCWSTR    sDescription,
  DWORD      dwFlags
 )

DESCRIPTION

Verifies the signature of a hash object.

PARAMS

hHash [In] Handle of the hash object to verify.
pbSignature [In] Signature data to verify.
dwSigLen [In] Size of pbSignature.
hPubKey [In] Handle to the public key to authenticate signature.
sDescription [In] Should be NULL.
dwFlags [In] See MSDN doc.

RETURNS

Success: TRUE

Failure: FALSE.

NOTES

Because of security flaws sDescription should not be used and should thus be NULL. It is supported only for compatibility with Microsoft's Cryptographic Providers.

IMPLEMENTATION

Defined in "wincrypt.h".

Implemented in "dlls/advapi32/crypt.c". source.winehq.org/source/dlls/advapi32/crypt.c

Debug channel "crypt".


Copyright © 2005 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Aug 2005.