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.

49 lines
1.1 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: cspenum.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _CSPENUM_H_
  11. #define _CSPENUM_H_
  12. HRESULT
  13. SetCertSrvCSP(
  14. IN BOOL fEncryptionCSP,
  15. IN WCHAR const *pwszCAName,
  16. IN DWORD dwProvType,
  17. IN WCHAR const *pwszProvName,
  18. IN ALG_ID idAlg,
  19. IN BOOL fMachineKeyset,
  20. IN DWORD dwKeySize);
  21. HRESULT GetCSPInfoList(CSP_INFO** pCSPInfoList);
  22. void FreeCSPInfoList(CSP_INFO* pCSPInfoList);
  23. CSP_INFO* topCSPInfoList(CSP_INFO *pCSPInfoList);
  24. CSP_INFO* findCSPInfoFromList(
  25. CSP_INFO *pCSPInfoList,
  26. WCHAR const *pwszProvName,
  27. const DWORD dwProvType);
  28. CSP_HASH *topHashInfoList(CSP_HASH *pHashInfoList);
  29. CSP_INFO *
  30. newCSPInfo(
  31. DWORD dwProvType,
  32. WCHAR *pwszProvName);
  33. void
  34. freeCSPInfo(CSP_INFO *pCSPInfo);
  35. CSP_INFO*
  36. findCSPInfoFromList(
  37. CSP_INFO *pCSPInfoList,
  38. WCHAR const *pwszProvName,
  39. const DWORD dwProvType);
  40. #endif