Reference

RSAENH_CPExportKey(3w)

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

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

Debug channel "crypt".

History