NAME

RSAENH_CPSetKeyParam  (RSAENH.@)

SYNOPSIS

 BOOL RSAENH_CPSetKeyParam
 (
  HCRYPTPROV hProv,
  HCRYPTKEY  hKey,
  DWORD      dwParam,
  BYTE*      pbData,
  DWORD      dwFlags
 )

DESCRIPTION

Set a parameter of a key object.

PARAMS

hProv [In] The key container to which the key belongs.
hKey [In] The key for which a parameter is to be set.
dwParam [In] Parameter type. See Notes.
pbData [In] Pointer to the parameter value.
dwFlags [In] Currently none defined.

RETURNS

Success: TRUE.

Failure: FALSE.

NOTES: Defined dwParam types are:

- KP_MODE: Values MODE_CBC, MODE_ECB, MODE_CFB.

- KP_MODE_BITS: Shift width for cipher feedback mode. (Currently ignored by Microsoft® CSP's)

- KP_PERMISSIONS: Or'ed combination of CRYPT_ENCRYPT, CRYPT_DECRYPT, CRYPT_EXPORT, CRYPT_READ, CRYPT_WRITE, CRYPT_MAC

- KP_IV: Initialization vector

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/rsaenh/rsaenh.c". gitlab.winehq.org/wine/wine/blob/master/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 Dec 2024.