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.

28 lines
749 B

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: vercert.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _VERCERT_
  11. #define _VERCERT_
  12. #define CRYPT_SAVE_CERTS_IN_CA_STORE 0x01
  13. #define CRYPT_SAVE_PERSONAL_CERT_IN_MY_STORE 0x02
  14. #define CRYPT_SAVE_SELFSIGN_CERT_IN_ROOT_STORE 0x04
  15. #define CRYPT_NO_PROP_ENHANCED_KEY_USAGE 0x08
  16. #define CRYPT_NO_EXT_ENHANCED_KEY_USAGE 0x10
  17. #define CRYPT_NO_REVOCATION_CHECKS 0x20
  18. #define CRYPT_NO_ROOT_REVOCATION_CHECKS 0x40
  19. extern "C" BOOL WINAPI CryptVerifyCertificate(
  20. PCCERT_CONTEXT pCert,
  21. LPCSTR szEKU,
  22. DWORD flags);
  23. #endif