RSAENH_CPSignHash(3w)

RSAENH_CPSignHash3w

Usage

BOOL RSAENH_CPSignHash
(
HCRYPTPROV hProv,
HCRYPTHASH hHash,
DWORD dwKeySpec,
LPCWSTR sDescription,
DWORD dwFlags,
BYTE* pbSignature,
DWORD* pdwSigLen
)

Overview

Sign a hash object.

Params

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

hHash [In] The hash object to be signed.

dwKeySpec [In] AT_SIGNATURE or AT_KEYEXCHANGE: Key used to generate the signature.

sDescription [In] Should be NULL for security reasons.

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

pbSignature [Out] Buffer, to which the signature will be stored. May be NULL to query SigLen.

pdwSigLen [In/Out] Size of the buffer (in), Length of the signature (out).

Returns

Success: TRUE

Failure: FALSE

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.