.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RSAENH_CPEncrypt 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRSAENH_CPEncrypt\fR (RSAENH.@) .SH SYNOPSIS BOOL RSAENH_CPEncrypt ( HCRYPTPROV \fIhProv\fR, HCRYPTKEY \fIhKey\fR, HCRYPTHASH \fIhHash\fR, BOOL \fIFinal\fR, DWORD \fIdwFlags\fR, BYTE* \fIpbData\fR, DWORD* \fIpdwDataLen\fR, DWORD \fIdwBufLen\fR ) .SH DESCRIPTION .PP Encrypt data. .SH PARAMS \fIhProv\fR \fB[In]\fR The key container \fIhKey\fR and \fIhHash\fR belong to. .PP \fIhKey\fR \fB[In]\fR The key used to encrypt the data. .PP \fIhHash\fR \fB[In]\fR An optional hash object for parallel hashing. See notes. .PP \fIFinal\fR \fB[In]\fR Indicates if this is the last block of data to encrypt. .PP \fIdwFlags\fR \fB[In]\fR Currently no flags defined. Must be zero. .PP \fIpbData\fR \fB[In/Out]\fR Pointer to the data to encrypt. Encrypted data will also be stored there. .PP \fIpdwDataLen\fR \fB[In/Out]\fR I: Length of data to encrypt, O: Length of encrypted data. .PP \fIdwBufLen\fR \fB[In]\fR Size of the buffer at \fIpbData\fR. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR. .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP If a hash object handle is provided in \fIhHash\fR, it will be updated with the plaintext. This is useful for message signatures. .PP This function uses the standard \fBWINAPI\fR protocol for querying data of dynamic length. .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.