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.

36 lines
1.4 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: codesign.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #ifndef _CODESIGN_H
  11. #define _CODESIGN_H
  12. // OBSOLETE :- moved to authcode.h
  13. //--------------------------------
  14. //--------------------------------
  15. //////////////////////////////////////////////////////
  16. // Policy
  17. #define STATE_TRUSTTEST 0x00000020
  18. #define STATE_TESTCANBEVALID 0x00000080
  19. #define STATE_IGNOREEXPIRATION 0x00000100 // Use expiration date
  20. #define STATE_IGNOREREVOKATION 0x00000200 // Do revocation check
  21. #define STATE_OFFLINEOK_IND 0x00000400 // off-line is ok for individual certs
  22. #define STATE_OFFLINEOK_COM 0x00000800 // off-line is ok for commercial certs
  23. #define STATE_OFFLINEOKNBU_IND 0x00001000 // off-line is ok for individual certs, no bad ui
  24. #define STATE_OFFLINEOKNBU_COM 0x00002000 // off-line is ok for commercial certs, no bad ui
  25. #define STATE_TIMESTAMP_IND 0x00004000 // Use timestamp for individual certs
  26. #define STATE_TIMESTAMP_COM 0x00008000 // Use timestamp for commerical certs
  27. #define STATE_VERIFY_V1_OFF 0x00010000 // turn verify of v1 certs off
  28. #define REGPATH_WINTRUST_USER "Software\\Microsoft\\Windows\\CurrentVersion\\WinTrust"
  29. #define REGPATH_SPUB "\\Trust Providers\\Software Publishing"
  30. #endif