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.

52 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1995 - 1999
  6. //
  7. // File: certhier.h
  8. //
  9. //--------------------------------------------------------------------------
  10. HRESULT
  11. CreateRevocationExtension(
  12. IN HINF hInf,
  13. IN WCHAR const *pwszSanitizedName,
  14. IN DWORD iCert,
  15. IN DWORD iCRL,
  16. IN BOOL fUseDS,
  17. IN DWORD dwRevocationFlags,
  18. OUT BOOL *pfCritical,
  19. OUT BYTE **ppbEncoded,
  20. OUT DWORD *pcbEncoded);
  21. HRESULT
  22. CreateAuthorityInformationAccessExtension(
  23. IN HINF hInf,
  24. IN WCHAR const *pwszSanitizedName,
  25. IN DWORD iCert,
  26. IN DWORD iCRL,
  27. IN BOOL fUseDS,
  28. OUT BOOL *pfCritical,
  29. OUT BYTE **ppbEncoded,
  30. OUT DWORD *pcbEncoded);
  31. HRESULT
  32. EncodeCertAndSign(
  33. IN HCRYPTPROV hProv,
  34. IN CERT_INFO *pCert,
  35. IN char const *pszAlgId,
  36. OUT BYTE **ppbSigned,
  37. OUT DWORD *pcbSigned,
  38. IN HINSTANCE hInstance,
  39. IN BOOL fUnattended,
  40. IN HWND hwnd);
  41. BOOL
  42. CreateKeyUsageExtension(
  43. IN BYTE bIntendedKeyUsage,
  44. OUT BYTE **ppbEncoded,
  45. IN OUT DWORD *pcbEncoded,
  46. IN HINSTANCE hInstance,
  47. IN BOOL fUnattended,
  48. IN HWND hwnd);