CryptVerifySignatureW(3w)

CryptVerifySignatureW3w

Usage

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

Overview

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.