RSAENH_CPGenKey.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

RSAENH_CPGenKey (RSAENH.@)

SYNOPSIS

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

DESCRIPTION

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 defined in a Wine header. The function is either undocumented, or missing from Wine.

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

Debug channel "crypt".