NAME

CryptVerifySignatureW  (ADVAPI32.@)

SYNOPSIS

 BOOL CryptVerifySignatureW
 (
  HCRYPTHASH  hHash,
  const 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

Declared in "include/wincrypt.h". gitlab.winehq.org/wine/wine/blob/master/include/wincrypt.h

Implemented in "dlls/advapi32/crypt.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/crypt.c

Debug channel "crypt".


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