RSAENH_CPImportKey(3w)

RSAENH_CPImportKey3w

Usage

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

Overview

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.