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.

58 lines
2.8 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // certmgrd.h - Definitions for CERTMGR.DLL as an extension of the
  4. // Security Configuation Editor
  5. //
  6. // Copyright 1997-1998, Microsoft Corporation
  7. //
  8. //-----------------------------------------------------------------------------
  9. #ifndef AFX_CERTMGRD_H__E5D13265_9435_11d1_A6EA_0000F803A951__INCLUDED_
  10. #define AFX_CERTMGRD_H__E5D13265_9435_11d1_A6EA_0000F803A951__INCLUDED_
  11. // Certificate Manager GUID for when it's an extension
  12. // {9c7910d2-4c01-11d1-856b-00c04fb94f17}
  13. DEFINE_GUID (CLSID_CertificateManagerExt, 0x9c7910d2, 0x4c01, 0x11d1, 0x85, 0x6b, 0x00, 0xc0, 0x4f, 0xb9, 0x4f, 0x17);
  14. ///////////////////////////////////////////////////////////////////////////////
  15. // Public Key Policies GUID for when it's an extension of the Security Configuration Editor
  16. // {34AB8E82-C27E-11d1-A6C0-00C04FB94F17}
  17. DEFINE_GUID (CLSID_CertificateManagerPKPOLExt, 0x34ab8e82, 0xc27e, 0x11d1, 0xa6, 0xc0, 0x0, 0xc0, 0x4f, 0xb9, 0x4f, 0x17);
  18. //
  19. // Public Key Policies node IDs for extending the Security Configuration Editor
  20. //
  21. // Node ID for "Computer Settings/Security Settings/Public Key Policies"
  22. // {c4a92b41-91ee-11d1-85fd-00c04fb94f17}
  23. DEFINE_GUID (NODEID_CertMgr_SCE_COMP_PKPOL, 0xc4a92b41, 0x91ee, 0x11d1, 0x85, 0xfd, 0x0, 0xc0, 0x4f, 0xb9, 0x4f, 0x17);
  24. // Node ID for "Computer Settings/Security Settings/Public Key Policies/Enrollment"
  25. // {c4a92b43-91ee-11d1-85fd-00c04fb94f17}
  26. DEFINE_GUID (NODEID_CertMgr_SCE_COMP_PKPOL_ENROLL, 0xc4a92b43, 0x91ee, 0x11d1, 0x85, 0xfd, 0x0, 0xc0, 0x4f, 0xb9, 0x4f, 0x17);
  27. // Node ID for "User Settings/Security Settings/Public Key Policies"
  28. // {c4a92b40-91ee-11d1-85fd-00c04fb94f17}
  29. DEFINE_GUID (NODEID_CertMgr_SCE_USER_PKPOL, 0xc4a92b40, 0x91ee, 0x11d1, 0x85, 0xfd, 0x0, 0xc0, 0x4f, 0xb9, 0x4f, 0x17);
  30. // Node ID for "User Settings/Security Settings/Public Key Policies/Enrollment"
  31. // {c4a92b42-91ee-11d1-85fd-00c04fb94f17}
  32. DEFINE_GUID (NODEID_CertMgr_SCE_USER_PKPOL_ENROLL, 0xc4a92b42, 0x91ee, 0x11d1, 0x85, 0xfd, 0x0, 0xc0, 0x4f, 0xb9, 0x4f, 0x17);
  33. ///////////////////////////////////////////////////////////////////////////////
  34. // Safer Windows GUID for when it's an extension of the Security Configuration Editor
  35. // {93F7AA8E-CF82-4cb7-9251-48BC637A43B8}
  36. DEFINE_GUID(CLSID_SaferWindowsExtension, 0x93f7aa8e, 0xcf82, 0x4cb7, 0x92, 0x51, 0x48, 0xbc, 0x63, 0x7a, 0x43, 0xb8);
  37. ///////////////////////////////////////////////////////////////////////////////
  38. // Registry path to store values for the Public Key Policies of the GPO.
  39. #define CERT_PUBLIC_KEY_POLICY_REGPATH L"Software\\Policies\\Microsoft\\PublicKeyPolicy"
  40. #define CERT_PUBLIC_KEY_POLICY_FLAGS_VALUE_NAME L"Flags"
  41. // Set the following flag to enable the Public Key Policy for the GPO.
  42. #define CERT_ENABLE_PUBLIC_KEY_POLICY_FLAG 0x1
  43. #endif