.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH CryptSignHashW 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBCryptSignHashW\fR (ADVAPI32.@) .SH SYNOPSIS BOOL CryptSignHashW ( HCRYPTHASH \fIhHash\fR, DWORD \fIdwKeySpec\fR, LPCWSTR \fIsDescription\fR, DWORD \fIdwFlags\fR, BYTE* \fIpbSignature\fR, DWORD* \fIpdwSigLen\fR ) .SH DESCRIPTION .PP Signs data. .SH PARAMS \fIhHash\fR \fB[In]\fR Handle of the hash object to be signed. .PP \fIdwKeySpec\fR \fB[In]\fR Private key to use. .PP \fIsDescription\fR \fB[In]\fR Should be \fBNULL\fR. .PP \fIdwFlags\fR \fB[In]\fR CRYPT_NOHASHOID/X931_FORMAT. .PP \fIpbSignature\fR \fB[Out]\fR Buffer of the signature data. .PP \fIpdwSigLen\fR \fB[In/Out]\fR Size of the \fIpbSignature\fR buffer. .PP .SH RETURNS .PP \fBSuccess:\fR \fBTRUE\fR .PP \fBFailure:\fR \fBFALSE\fR. .SH NOTES .PP Because of security flaws \fIsDescription\fR should not be used and should thus be \fBNULL\fR. It is supported only for compatibility with Microsoft's Cryptographic Providers. .SH IMPLEMENTATION .PP Declared in \fB"wincrypt.h"\fR. .PP Implemented in \fB"dlls/advapi32/crypt.c"\fR. .PP Debug channel \fB"crypt"\fR.