NAME

RSAENH_CPSignHash  (RSAENH.@)

SYNOPSIS

 BOOL RSAENH_CPSignHash
 (
  HCRYPTPROV hProv,
  HCRYPTHASH hHash,
  DWORD      dwKeySpec,
  LPCWSTR    sDescription,
  DWORD      dwFlags,
  BYTE*      pbSignature,
  DWORD*     pdwSigLen
 )

DESCRIPTION

Sign a hash object.

PARAMS

hProv [In] The key container, to which the hash object belongs.
hHash [In] The hash object to be signed.
dwKeySpec [In] AT_SIGNATURE or AT_KEYEXCHANGE: Key used to generate the signature.
sDescription [In] Should be NULL for security reasons.
dwFlags [In] 0, CRYPT_NOHASHOID or CRYPT_X931_FORMAT: Format of the signature.
pbSignature [Out] Buffer, to which the signature will be stored. May be NULL to query SigLen.
pdwSigLen [In/Out] Size of the buffer (in), Length of the signature (out).

RETURNS

Success: TRUE

Failure: FALSE

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "dlls/rsaenh/rsaenh.c". https://source.winehq.org/source/dlls/rsaenh/rsaenh.c

Debug channel "crypt".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated May 2024.