RSAENH_CPSetKeyParam.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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 defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/rsaenh/rsaenh.c".

Debug channel "crypt".