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". https://source.winehq.org/source/dlls/rsaenh/rsaenh.c

Debug channel "crypt".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated May 2024.