.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RSAENH_CPGetKeyParam 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRSAENH_CPGetKeyParam\fR (RSAENH.@) .SH SYNOPSIS BOOL RSAENH_CPGetKeyParam ( HCRYPTPROV \fIhProv\fR, HCRYPTKEY \fIhKey\fR, DWORD \fIdwParam\fR, BYTE* \fIpbData\fR, DWORD* \fIpdwDataLen\fR, DWORD \fIdwFlags\fR ) .SH DESCRIPTION .PP Query a key parameter. .SH PARAMS \fIhProv\fR \fB[In]\fR The key container, which the key belongs to. .PP hHash \fB[In]\fR The key object that is to be queried. .PP \fIdwParam\fR \fB[In]\fR Specifies the parameter that is to be queried. .PP \fIpbData\fR \fB[In]\fR Pointer to the buffer where the parameter value will be stored. .PP \fIpdwDataLen\fR \fB[In/Out]\fR I: Buffer length at \fIpbData\fR, O: Length of the parameter value. .PP \fIdwFlags\fR \fB[In]\fR None currently defined. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP Defined \fIdwParam\fR types are: .PP \fB-\fR KP_MODE: Values \fBMODE_CBC\fR, \fBMODE_ECB\fR, \fBMODE_CFB\fR. .PP \fB-\fR KP_MODE_BITS: Shift width for cipher feedback mode. (Currently ignored by Microsoft(tm) \fBCSP\fR's \fB-\fR always eight) .PP \fB-\fR KP_PERMISSIONS: Or'ed combination of \fBCRYPT_ENCRYPT\fR, \fBCRYPT_DECRYPT\fR, \fBCRYPT_EXPORT\fR, \fBCRYPT_READ\fR, \fBCRYPT_WRITE\fR, \fBCRYPT_MAC\fR .PP \fB-\fR KP_IV: Initialization vector. .PP \fB-\fR KP_KEYLEN: Bitwidth of the key. .PP \fB-\fR KP_BLOCKLEN: Size of a block cipher block. .PP \fB-\fR KP_SALT: Salt value. .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.