.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RSAENH_CPGetUserKey 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRSAENH_CPGetUserKey\fR (RSAENH.@) .SH SYNOPSIS BOOL RSAENH_CPGetUserKey ( HCRYPTPROV \fIhProv\fR, DWORD \fIdwKeySpec\fR, HCRYPTKEY* \fIphUserKey\fR ) .SH DESCRIPTION .PP Returns a handle to the user's private key-exchange- or signature-key. .SH PARAMS \fIhProv\fR \fB[In]\fR The key container from which a user key is requested. .PP \fIdwKeySpec\fR \fB[In]\fR \fBAT_KEYEXCHANGE\fR or \fBAT_SIGNATURE\fR. .PP \fIphUserKey\fR \fB[Out]\fR Handle to the requested key or \fBINVALID_HANDLE_VALUE\fR in case of failure. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR. .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTE .PP A newly created key container does not contain private user key. Create them with CPGenKey. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/rsaenh/rsaenh.c"\fR. .PP Debug channel \fB"crypt"\fR.