RSAENH_CPGetUserKey3w
Usage
BOOL RSAENH_CPGetUserKey
(
HCRYPTPROV hProv,
DWORD dwKeySpec,
HCRYPTKEY* phUserKey
)
Overview
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 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.