---
name: "CryptVerifySignatureW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CryptVerifySignatureW"
---

# CryptVerifySignatureW(3w)

## 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"**.

Implemented in **"dlls/advapi32/crypt.c"**.

Debug channel **"crypt"**.
