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 "wincrypt.h". https://source.winehq.org/source/include/wincrypt.h

Implemented in "dlls/advapi32/crypt.c". https://source.winehq.org/source/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 Apr 2024.