Leaked source code of windows server 2003
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.

42 lines
975 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. PPUBLICKEY pPublic,
  24. ALG_ID aiHash,
  25. PBYTE pbData,
  26. DWORD cbData,
  27. PBYTE pbSig,
  28. DWORD cbSig,
  29. BOOL fHashData);
  30. SP_STATUS
  31. SignHashUsingCred(
  32. PSPCredential pCred,
  33. ALG_ID aiHash,
  34. PBYTE pbHash,
  35. DWORD cbHash,
  36. PBYTE pbSignature,
  37. PDWORD pcbSignature);
  38. #endif /* __SIGSYS_H__ */