RSAENH_CPGetUserKey.3w

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

RSAENH_CPGetUserKey (RSAENH.@)

SYNOPSIS

BOOL RSAENH_CPGetUserKey
 (
  HCRYPTPROV hProv,
  DWORD      dwKeySpec,
  HCRYPTKEY* phUserKey
 )

DESCRIPTION

Returns a handle to the user's private key-exchange- or signature-key.

PARAMS

hProv [In] The key container from which a user key is requested.

dwKeySpec [In] AT_KEYEXCHANGE or AT_SIGNATURE.

phUserKey [Out] Handle to the requested key or INVALID_HANDLE_VALUE in case of failure.

RETURNS

Success: TRUE.

Failure: FALSE.

NOTE

A newly created key container does not contain private user key. Create them with CPGenKey.

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