RSAENH_CPSetKeyParam (RSAENH.@)
BOOL RSAENH_CPSetKeyParam ( HCRYPTPROV hProv, HCRYPTKEY hKey, DWORD dwParam, BYTE* pbData, DWORD dwFlags )
Set a parameter of a key object.
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. |
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
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.