RSAENH_CPGenKey(3w)

RSAENH_CPGenKey3w

Usage

BOOL RSAENH_CPGenKey
(
HCRYPTPROV hProv,
ALG_ID Algid,
DWORD dwFlags,
HCRYPTKEY* phKey
)

Overview

Generate a key in the key container.

Params

hProv [In] Key container for which a key is to be generated.

Algid [In] Crypto algorithm identifier for the key to be generated.

dwFlags [In] Upper 16 bits: Binary length of key. Lower 16 bits: Flags. See Notes.

phKey [Out] Handle to the generated key.

Returns

Success: TRUE.

Failure: FALSE.

Fixme

Flags currently not considered.

Notes

Private key-exchange- and signature-keys can be generated with Algid AT_KEYEXCHANGE and AT_SIGNATURE values.

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.