Scroll to navigation

RSAENH_CPGenKey(3w) Wine API RSAENH_CPGenKey(3w)

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 declared in a Wine header. The function is either undocumented, or missing from Wine.
Implemented in "dlls/rsaenh/rsaenh.c".
Debug channel "crypt".
Oct 2012 Wine API