Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
962 B

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: sigsys.h
  7. //
  8. // Contents:
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 09-23-97 jbanes LSA integration stuff.
  15. // 10-21-96 jbanes CAPI integration.
  16. //
  17. //----------------------------------------------------------------------------
  18. #ifndef __SIGSYS_H__
  19. #define __SIGSYS_H__
  20. SP_STATUS
  21. SPVerifySignature(
  22. HCRYPTPROV hProv,
  23. DWORD dwCapiFlags,
  24. PPUBLICKEY pPublic,
  25. ALG_ID aiHash,
  26. PBYTE pbData,
  27. DWORD cbData,
  28. PBYTE pbSig,
  29. DWORD cbSig,
  30. BOOL fHashData);
  31. SP_STATUS
  32. SignHashUsingCred(
  33. PSPCredential pCred,
  34. ALG_ID aiHash,
  35. PBYTE pbHash,
  36. DWORD cbHash,
  37. PBYTE pbSignature,
  38. PDWORD pcbSignature);
  39. #endif /* __SIGSYS_H__ */