RSAENH_CPExportKey.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

RSAENH_CPExportKey (RSAENH.@)

SYNOPSIS

BOOL RSAENH_CPExportKey
 (
  HCRYPTPROV hProv,
  HCRYPTKEY  hKey,
  HCRYPTKEY  hPubKey,
  DWORD      dwBlobType,
  DWORD      dwFlags,
  BYTE*      pbData,
  DWORD*     pdwDataLen
 )

DESCRIPTION

Export a key into a binary large object (BLOB).

PARAMS

hProv [In] Key container from which a key is to be exported.

hKey [In] Key to be exported.

hPubKey [In] Key used to encrypt sensitive BLOB data.

dwBlobType [In] SIMPLEBLOB, PUBLICKEYBLOB or PRIVATEKEYBLOB.

dwFlags [In] Currently none defined.

pbData [Out] Pointer to a buffer where the BLOB will be written to.

pdwDataLen [In/Out] I: Size of buffer at pbData, O: Size of BLOB.

RETURNS

Success: TRUE.

Failure: FALSE.

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".