Reference

RSAENH_CPVerifySignature(3w)

NAME

RSAENH_CPVerifySignature (RSAENH.@)

SYNOPSIS

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

DESCRIPTION

Verify the signature of a hash object.

PARAMS

hProv [In] The key container, to which the hash belongs.

hHash [In] The hash for which the signature is verified.

pbSignature [In] The binary signature.

dwSigLen [In] Length of the signature BLOB.

hPubKey [In] Public key used to verify the signature.

sDescription [In] Should be NULL for security reasons.

dwFlags [In] 0, CRYPT_NOHASHOID or CRYPT_X931_FORMAT: Format of the signature.

RETURNS

Success: TRUE (Signature is valid)

Failure: FALSE (GetLastError() == NTE_BAD_SIGNATURE, if signature is invalid)

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/rsaenh/rsaenh.c".

Debug channel "crypt".

History