Scroll to navigation

RSAENH_CPImportKey(3w) Wine API RSAENH_CPImportKey(3w)

NAME

RSAENH_CPImportKey (RSAENH.@)

SYNOPSIS

BOOL RSAENH_CPImportKey
(
HCRYPTPROV hProv,
CONST BYTE* pbData,
DWORD dwDataLen,
HCRYPTKEY hPubKey,
DWORD dwFlags,
HCRYPTKEY* phKey
)
 

DESCRIPTION

Import a BLOB'ed key into a key container.
 

PARAMS

hProv [In] Key container into which the key is to be imported.
pbData [In] Pointer to a buffer which holds the BLOB.
dwDataLen [In] Length of data in buffer at pbData.
hPubKey [In] Key used to decrypt sensitive BLOB data.
dwFlags [In] One of: CRYPT_EXPORTABLE: the imported key is marked exportable.
phKey [Out] Handle to the imported key.
 

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".
Oct 2012 Wine API