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.

51 lines
2.0 KiB

  1. //--------------------------------------------------------------------
  2. // Common - header
  3. // Copyright (C) Microsoft Corporation, 1999
  4. //
  5. // Created by: Louis Thomas (louisth), 8-11-99
  6. //
  7. // Common definitions for the CEP project
  8. //--------------------------------------------------------------
  9. #ifndef CEP_COMMON_H
  10. #define CEP_COMMON_H
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #define CEP_STORE_NAME L"CEP"
  15. #define CEP_DLL_NAME L"mscep.dll"
  16. #define CERTSVC_NAME L"certsvc"
  17. #define CEP_DIR_NAME L"mscep"
  18. #define IIS_NAME L"w3svc"
  19. #define ENCODE_TYPE PKCS_7_ASN_ENCODING | X509_ASN_ENCODING
  20. #define MSCEP_REFRESH_LOCATION L"Software\\Microsoft\\Cryptography\\MSCEP\\Refresh"
  21. #define MSCEP_PASSWORD_LOCATION L"Software\\Microsoft\\Cryptography\\MSCEP\\EnforcePassword"
  22. #define MSCEP_PASSWORD_MAX_LOCATION L"Software\\Microsoft\\Cryptography\\MSCEP\\PasswordMax"
  23. #define MSCEP_PASSWORD_VALIDITY_LOCATION L"Software\\Microsoft\\Cryptography\\MSCEP\\PasswordValidity"
  24. #define MSCEP_CACHE_REQUEST_LOCATION L"Software\\Microsoft\\Cryptography\\MSCEP\\CacheRequest"
  25. #define MSCEP_CATYPE_LOCATION L"Software\\Microsoft\\Cryptography\\MSCEP\\CAType"
  26. #define MSCEP_LOCATION L"Software\\Microsoft\\Cryptography\\MSCEP"
  27. #define MSCEP_KEY_REFRESH L"RefreshPeriod"
  28. #define MSCEP_KEY_PASSWORD L"EnforcePassword"
  29. #define MSCEP_KEY_PASSWORD_MAX L"PasswordMax"
  30. #define MSCEP_KEY_PASSWORD_VALIDITY L"PasswordValidity"
  31. #define MSCEP_KEY_CACHE_REQUEST L"CacheRequest"
  32. #define MSCEP_KEY_CATYPE L"CAType"
  33. #define MSCEP_KEY_SIG_TEMPLATE L"SignatureTemplate"
  34. #define MSCEP_KEY_ENCYPT_TEMPLATE L"EncryptionTemplate"
  35. #define MSCEP_KEY_SERVICE_WAIT L"ServiceWaitPeriod"
  36. #define MSCEP_KEY_ALLOW_ALL L"AllowAll"
  37. #define MSCEP_EVENT_LOG L"SCEP Add-on"
  38. #ifdef __cplusplus
  39. } // Balance extern "C" above
  40. #endif
  41. #endif //CEP_COMMON_H