RSAENH_CPGetKeyParam(3w)

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

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/rsaenh/rsaenh.c".

Debug channel "crypt".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout