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.

86 lines
3.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: cryptreg.h
  8. //
  9. // Contents: Microsoft Internet Security Registry Keys
  10. //
  11. // History: 04-Jun-1997 pberkman created
  12. //
  13. //--------------------------------------------------------------------------
  14. #ifndef CRYPTREG_H
  15. #define CRYPTREG_H
  16. //
  17. // MAXs
  18. //
  19. #define REG_MAX_FUNC_NAME 64
  20. #define REG_MAX_KEY_NAME 128
  21. #define REG_MAX_GUID_TEXT 39 // 38 + NULL
  22. //
  23. // HKEY_LOCAL_MACHINE
  24. //
  25. #define REG_MACHINE_SETTINGS_KEY L"Software\\Microsoft\\Cryptography\\Machine Settings"
  26. #define REG_INIT_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\Initialization"
  27. #define REG_OBJTRUST_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\Message"
  28. #define REG_SIGTRUST_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\Signature"
  29. #define REG_CERTTRUST_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\Certificate"
  30. #define REG_CERTPOL_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\CertCheck"
  31. #define REG_FINALPOL_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\FinalPolicy"
  32. #define REG_TESTPOL_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\DiagnosticPolicy"
  33. #define REG_CLEANUP_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\Cleanup"
  34. #define REG_TRUST_USAGE_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Trust\\Usages"
  35. // 3-Dec-1997 pberkman: removed
  36. //#define REG_SIP_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Subject"
  37. //#define REG_SIP_HINTS_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Subject\\Hints"
  38. //#define REG_SIP_HINTS_MAGIC_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Subject\\Hints\\MagicNumber"
  39. #define REG_REVOKE_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Revocation"
  40. #define REG_SP_REVOKE_PROVIDER_KEY L"Software\\Microsoft\\Cryptography\\Providers\\Revocation\\SoftwarePublishing"
  41. #define REG_DLL_NAME L"$DLL"
  42. #define REG_FUNC_NAME L"$Function"
  43. #define REG_FUNC_NAME_SIP_GET L"$GetFunction"
  44. #define REG_FUNC_NAME_SIP_PUT L"$PutFunction"
  45. #define REG_FUNC_NAME_SIP_CREATE L"$CreateFunction"
  46. #define REG_FUNC_NAME_SIP_VERIFY L"$VerifyFunction"
  47. #define REG_FUNC_NAME_SIP_REMOVE L"$RemoveFunction"
  48. #define REG_FUNC_NAME_SIP_HINT_IS L"$IsFunction"
  49. #define REG_FUNC_NAME_SIP_HINT_IS2 L"$IsFunctionByName"
  50. #define REG_DEF_FOR_USAGE L"DefaultId"
  51. #define REG_DEF_CALLBACK_ALLOC "CallbackAllocFunction"
  52. #define REG_DEF_CALLBACK_FREE "CallbackFreeFunction"
  53. //
  54. // HKEY_CURRENT_USER
  55. //
  56. #define REG_PKITRUST_USERDATA L"Software\\Microsoft\\Cryptography\\UserData"
  57. #define REG_PKITRUST_TSTAMP_URL L"TimestampURL"
  58. #define REG_PKITRUST_MY_URL L"MyInfoURL"
  59. #define REG_PKITRUST_LASTDESC L"LastContentDesc"
  60. //////////////////////////////////////////////////////////////////////////////
  61. //
  62. // Wintrust Policy Flags registry location
  63. //----------------------------------------------------------------------------
  64. // The following is where the DWORD can be found in the HKEY_CURRENT_USER
  65. // registry. See wintrust.h for further information.
  66. //
  67. #define REGPATH_WINTRUST_POLICY_FLAGS L"Software\\Microsoft\\Windows\\CurrentVersion\\" \
  68. L"WinTrust\\Trust Providers\\Software Publishing"
  69. #define REGNAME_WINTRUST_POLICY_FLAGS L"State"
  70. #endif // CRYPTREG_H