Scroll to navigation

RSAENH_CPSetKeyParam(3w) Wine API RSAENH_CPSetKeyParam(3w)

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(tm) 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".
Debug channel "crypt".
Oct 2012 Wine API