NAME

RSAENH_CPGetKeyParam  (RSAENH.@)

SYNOPSIS

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

DESCRIPTION

Query a key parameter.

PARAMS

hProv [In] The key container, which the key belongs to.
hHash [In] The key object that is to be queried.
dwParam [In] Specifies the parameter that is to be queried.
pbData [In] Pointer to the buffer where the parameter value will be stored.
pdwDataLen [In/Out] I: Buffer length at pbData, O: Length of the parameter value.
dwFlags [In] None currently 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 - always eight)

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

- KP_IV: Initialization vector.

- KP_KEYLEN: Bitwidth of the key.

- KP_BLOCKLEN: Size of a block cipher block.

- KP_SALT: Salt value.

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 Nov 2024.