Scroll to navigation

CryptVerifySignatureW(3w) Wine API 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".
Oct 2012 Wine API