RSAENH_CPVerifySignature(3w)

RSAENH_CPVerifySignature3w

Usage

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

Overview

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

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.