CryptSignHashW (ADVAPI32.@)
BOOL CryptSignHashW ( HCRYPTHASH hHash, DWORD dwKeySpec, LPCWSTR sDescription, DWORD dwFlags, BYTE* pbSignature, DWORD* pdwSigLen )
Signs data.
hHash | [In] | Handle of the hash object to be signed. |
dwKeySpec | [In] | Private key to use. |
sDescription | [In] | Should be NULL. |
dwFlags | [In] | CRYPT_NOHASHOID/X931_FORMAT. |
pbSignature | [Out] | Buffer of the signature data. |
pdwSigLen | [In/Out] | Size of the pbSignature buffer. |
Success: TRUE
Failure: FALSE.
Because of security flaws sDescription should not be used and should thus be NULL. It is supported only for compatibility with Microsoft's Cryptographic Providers.
Declared in "include/wincrypt.h". gitlab.winehq.org/wine/wine/blob/master/include/wincrypt.h
Implemented in "dlls/advapi32/crypt.c". gitlab.winehq.org/wine/wine/blob/master/dlls/advapi32/crypt.c
Debug channel "crypt".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.