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.

807 lines
35 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File: csregstr.h
  7. //
  8. // Contents: Cert Server registry string definitions
  9. //
  10. //---------------------------------------------------------------------------
  11. #ifndef __CSREGSTR_H__
  12. #define __CSREGSTR_H__
  13. #define wszROOT_CERTSTORE TEXT("ROOT")
  14. #define wszKRA_CERTSTORE TEXT("KRA")
  15. #define wszCA_CERTSTORE TEXT("CA")
  16. #define wszMY_CERTSTORE TEXT("MY")
  17. #define wszACRS_CERTSTORE TEXT("ACRS")
  18. #define wszREQUEST_CERTSTORE TEXT("REQUEST")
  19. #define wszNTAUTH_CERTSTORE TEXT("NTAUTH")
  20. // begin_certsrv
  21. #define wszSERVICE_NAME TEXT("CertSvc")
  22. #define wszREGKEYNOSYSTEMCERTSVCPATH \
  23. TEXT("CurrentControlSet\\Services\\") \
  24. wszSERVICE_NAME
  25. #define wszREGKEYCERTSVCPATH TEXT("SYSTEM\\") wszREGKEYNOSYSTEMCERTSVCPATH
  26. #define wszREGKEYBASE wszREGKEYCERTSVCPATH // obsolete definition
  27. //======================================================================
  28. // Full path to "CertSvc\Configuration\":
  29. #define wszREGKEYCONFIGPATH wszREGKEYCERTSVCPATH TEXT("\\") wszREGKEYCONFIG
  30. #define wszREGKEYCONFIGPATH_BS wszREGKEYCONFIGPATH TEXT("\\")
  31. #define wszREGKEYCONFIGCANAME wszREGKEYCONFIGPATH_BS // obsolete definition
  32. //======================================================================
  33. // Full path to "CertSvc\Configuration\RestoreInProgress":
  34. #define wszREGKEYCONFIGRESTORE wszREGKEYCONFIGPATH_BS wszREGKEYRESTOREINPROGRESS
  35. //======================================================================
  36. // Key Under "CertSvc":
  37. #define wszREGKEYCONFIG TEXT("Configuration")
  38. //======================================================================
  39. // Values Under "CertSvc\Configuration":
  40. #define wszREGACTIVE TEXT("Active")
  41. #define wszREGDIRECTORY TEXT("ConfigurationDirectory")
  42. #define wszREGDBDIRECTORY TEXT("DBDirectory")
  43. #define wszREGDBLOGDIRECTORY TEXT("DBLogDirectory")
  44. #define wszREGDBSYSDIRECTORY TEXT("DBSystemDirectory")
  45. #define wszREGDBTEMPDIRECTORY TEXT("DBTempDirectory")
  46. #define wszREGDBSESSIONCOUNT TEXT("DBSessionCount")
  47. #define wszREGDBFLAGS TEXT("DBFlags")
  48. #define wszREGDBLASTFULLBACKUP TEXT("DBLastFullBackup")
  49. #define wszREGDBLASTINCREMENTALBACKUP TEXT("DBLastIncrementalBackup")
  50. #define wszREGDBLASTRECOVERY TEXT("DBLastRecovery")
  51. #define wszREGWEBCLIENTCAMACHINE TEXT("WebClientCAMachine")
  52. #define wszREGVERSION TEXT("Version")
  53. #define wszREGWEBCLIENTCANAME TEXT("WebClientCAName")
  54. #define wszREGWEBCLIENTCATYPE TEXT("WebClientCAType")
  55. #define wszREGLDAPFLAGS TEXT("LDAPFlags")
  56. #define wszREGCERTSRVDEBUG TEXT("Debug")
  57. // end_certsrv
  58. #define wszREGCERTSRVMEMTRACK TEXT("MemTrack")
  59. // Environment variables:
  60. #define szCERTSRV_DEBUG "CERTSRV_DEBUG"
  61. #define szCERTSRV_LOGFILE "CERTSRV_LOGFILE"
  62. #define szCERTSRV_LOGMAX "CERTSRV_LOGMAX"
  63. #define szCERTSRV_MEMTRACK "CERTSRV_MEMTRACK"
  64. // begin_certsrv
  65. // Default value for wszREGDBSESSIONCOUNT
  66. #define DBSESSIONCOUNTDEFAULT 20
  67. // Values for wszREGDBFLAGS
  68. // Default is zero (same as a missing registry value):
  69. #define DBFLAGS_READONLY 0x00000001 // ignored in registry
  70. #define DBFLAGS_CREATEIFNEEDED 0x00000002
  71. #define DBFLAGS_CIRCULARLOGGING 0x00000004
  72. #define DBFLAGS_LAZYFLUSH 0x00000008
  73. #define DBFLAGS_MAXCACHESIZEX100 0x00000010
  74. #define DBFLAGS_CHECKPOINTDEPTH60MB 0x00000020
  75. #define DBFLAGS_LOGBUFFERSLARGE 0x00000040
  76. #define DBFLAGS_LOGBUFFERSHUGE 0x00000080
  77. #define DBFLAGS_LOGFILESIZE16MB 0x00000100
  78. #define DBFLAGS_MULTITHREADTRANSACTIONS 0x00000200
  79. #define DBFLAGS_DISABLESNAPSHOTBACKUP 0x00000400 // ignored in registry
  80. #define DBFLAGS_DEFAULT (DBFLAGS_LAZYFLUSH | \
  81. DBFLAGS_MAXCACHESIZEX100 | \
  82. DBFLAGS_CHECKPOINTDEPTH60MB | \
  83. DBFLAGS_LOGBUFFERSHUGE)
  84. // Values for wszREGLDAPSSLFLAGS
  85. // Default is zero (same as a missing registry value):
  86. // 0: Don't use SSL, but sign all LDAP traffic.
  87. // 3: Use SSL but don't sign LDAP traffic.
  88. #define LDAPF_SSLENABLE 0x00000001 // use SSL for LDAP traffic
  89. #define LDAPF_SIGNDISABLE 0x00000002 // disable signing LDAP traffic
  90. // Default value for wszREGMAXINCOMINGMESSAGESIZE
  91. #define MAXINCOMINGMESSAGESIZEDEFAULT (64 * 1024)
  92. // Default value for wszREGMAXINCOMINGALLOCSIZE
  93. #define MAXINCOMINGALLOCSIZEDEFAULT (64 * 1024)
  94. // Value for wszREGVERSION:
  95. // win2k version
  96. #define CSVER_MAJOR_WIN2K 1 // actually this wasn't define in win2k
  97. #define CSVER_MINOR_WIN2K 1
  98. // whistler version
  99. #define CSVER_MAJOR_WHISTLER 2
  100. #define CSVER_MINOR_WHISTLER_BETA2 1
  101. #define CSVER_MINOR_WHISTLER_BETA3 2
  102. // current version
  103. #define CSVER_MAJOR CSVER_MAJOR_WHISTLER // high 16 bits
  104. #define CSVER_MINOR CSVER_MINOR_WHISTLER_BETA3 // low 16 bits
  105. // version manipulation
  106. #define CSVER_EXTRACT_MAJOR(version) ((version)>>16)
  107. #define CSVER_EXTRACT_MINOR(version) ((version)&0xffff)
  108. #define CSVER_BUILD_VERSION(major, minor) (((major)<<16)|(minor))
  109. // Keys Under "CertSvc\Configuration":
  110. #define wszREGKEYRESTOREINPROGRESS TEXT("RestoreInProgress")
  111. #define wszREGKEYDBPARAMETERS TEXT("DBParameters")
  112. //======================================================================
  113. // Values Under "CertSvc\Configuration\<CAName>":
  114. #define wszREGCADESCRIPTION TEXT("CADescription")
  115. #define wszREGCACERTHASH TEXT("CACertHash")
  116. #define wszREGCASERIALNUMBER TEXT("CACertSerialNumber")
  117. #define wszREGCAXCHGCERTHASH TEXT("CAXchgCertHash")
  118. #define wszREGKRACERTHASH TEXT("KRACertHash")
  119. #define wszREGKRACERTCOUNT TEXT("KRACertCount")
  120. #define wszREGKRAFLAGS TEXT("KRAFlags")
  121. #define wszREGCATYPE TEXT("CAType")
  122. #define wszREGCERTENROLLCOMPATIBLE TEXT("CertEnrollCompatible")
  123. #define wszREGENFORCEX500NAMELENGTHS TEXT("EnforceX500NameLengths")
  124. #define wszREGCOMMONNAME TEXT("CommonName")
  125. #define wszREGCLOCKSKEWMINUTES TEXT("ClockSkewMinutes")
  126. #define wszREGCRLNEXTPUBLISH TEXT("CRLNextPublish")
  127. #define wszREGCRLPERIODSTRING TEXT("CRLPeriod")
  128. #define wszREGCRLPERIODCOUNT TEXT("CRLPeriodUnits")
  129. #define wszREGCRLOVERLAPPERIODSTRING TEXT("CRLOverlapPeriod")
  130. #define wszREGCRLOVERLAPPERIODCOUNT TEXT("CRLOverlapUnits")
  131. #define wszREGCRLDELTANEXTPUBLISH TEXT("CRLDeltaNextPublish")
  132. #define wszREGCRLDELTAPERIODSTRING TEXT("CRLDeltaPeriod")
  133. #define wszREGCRLDELTAPERIODCOUNT TEXT("CRLDeltaPeriodUnits")
  134. #define wszREGCRLDELTAOVERLAPPERIODSTRING TEXT("CRLDeltaOverlapPeriod")
  135. #define wszREGCRLDELTAOVERLAPPERIODCOUNT TEXT("CRLDeltaOverlapUnits")
  136. #define wszREGCRLPUBLICATIONURLS TEXT("CRLPublicationURLs")
  137. #define wszREGCACERTPUBLICATIONURLS TEXT("CACertPublicationURLs")
  138. #define wszREGCAXCHGVALIDITYPERIODSTRING TEXT("CAXchgValidityPeriod")
  139. #define wszREGCAXCHGVALIDITYPERIODCOUNT TEXT("CAXchgValidityPeriodUnits")
  140. #define wszREGCAXCHGOVERLAPPERIODSTRING TEXT("CAXchgOverlapPeriod")
  141. #define wszREGCAXCHGOVERLAPPERIODCOUNT TEXT("CAXchgOverlapPeriodUnits")
  142. #define wszREGCRLPATH_OLD TEXT("CRLPath")
  143. #define wszREGCRLEDITFLAGS TEXT("CRLEditFlags")
  144. #define wszREGCRLFLAGS TEXT("CRLFlags")
  145. #define wszREGCRLATTEMPTREPUBLISH TEXT("CRLAttemptRepublish")
  146. #define wszREGENABLED TEXT("Enabled")
  147. #define wszREGFORCETELETEX TEXT("ForceTeletex")
  148. #define wszREGLOGLEVEL TEXT("LogLevel")
  149. #define wszREGHIGHSERIAL TEXT("HighSerial")
  150. #define wszREGPOLICYFLAGS TEXT("PolicyFlags")
  151. #define wszREGNAMESEPARATOR TEXT("SubjectNameSeparator")
  152. #define wszREGSUBJECTTEMPLATE TEXT("SubjectTemplate")
  153. #define wszREGCAUSEDS TEXT("UseDS")
  154. #define wszREGVALIDITYPERIODSTRING TEXT("ValidityPeriod")
  155. #define wszREGVALIDITYPERIODCOUNT TEXT("ValidityPeriodUnits")
  156. #define wszREGPARENTCAMACHINE TEXT("ParentCAMachine")
  157. #define wszREGPARENTCANAME TEXT("ParentCAName")
  158. #define wszREGREQUESTFILENAME TEXT("RequestFileName")
  159. #define wszREGREQUESTID TEXT("RequestId")
  160. #define wszREGREQUESTKEYCONTAINER TEXT("RequestKeyContainer")
  161. #define wszREGREQUESTKEYINDEX TEXT("RequestKeyIndex")
  162. #define wszREGCASERVERNAME TEXT("CAServerName")
  163. #define wszREGCACERTFILENAME TEXT("CACertFileName")
  164. #define wszREGCASECURITY TEXT("Security")
  165. #define wszREGAUDITFILTER TEXT("AuditFilter")
  166. #define wszREGOFFICERRIGHTS TEXT("OfficerRights")
  167. #define wszREGMAXINCOMINGMESSAGESIZE TEXT("MaxIncomingMessageSize")
  168. #define wszREGMAXINCOMINGALLOCSIZE TEXT("MaxIncomingAllocSize")
  169. #define wszREGROLESEPARATIONENABLED TEXT("RoleSeparationEnabled")
  170. #define wszREGALTERNATEPUBLISHDOMAINS TEXT("AlternatePublishDomains")
  171. #define wszREGSETUPSTATUS TEXT("SetupStatus")
  172. #define wszREGINTERFACEFLAGS TEXT("InterfaceFlags")
  173. #define wszREGDSCONFIGDN TEXT("DSConfigDN")
  174. #define wszREGDSDOMAINDN TEXT("DSDomainDN")
  175. #define wszREGVIEWAGEMINUTES TEXT("ViewAgeMinutes")
  176. #define wszREGVIEWIDLEMINUTES TEXT("ViewIdleMinutes")
  177. #define wszCRTFILENAMEEXT TEXT(".crt")
  178. #define wszPFXFILENAMEEXT TEXT(".p12")
  179. #define wszDATFILENAMEEXT TEXT(".dat")
  180. #define wszLOGFILENAMEEXT TEXT(".log")
  181. #define wszDBFILENAMEEXT TEXT(".edb")
  182. #define szDBBASENAMEPARM "edb"
  183. #define wszDBBASENAMEPARM TEXT(szDBBASENAMEPARM)
  184. #define wszLOGPATH TEXT("CertLog")
  185. #define wszDBBACKUPSUBDIR TEXT("DataBase")
  186. #define wszDBBACKUPCERTBACKDAT TEXT("certbkxp.dat")
  187. #ifndef __ENUM_CATYPES__
  188. #define __ENUM_CATYPES__
  189. // Values for wszREGCATYPE:
  190. typedef enum {
  191. ENUM_ENTERPRISE_ROOTCA = 0,
  192. ENUM_ENTERPRISE_SUBCA = 1,
  193. //ENUM_UNUSED2 = 2,
  194. ENUM_STANDALONE_ROOTCA = 3,
  195. ENUM_STANDALONE_SUBCA = 4,
  196. ENUM_UNKNOWN_CA = 5,
  197. } ENUM_CATYPES;
  198. typedef struct _CAINFO
  199. {
  200. DWORD cbSize;
  201. ENUM_CATYPES CAType;
  202. DWORD cCASignatureCerts;
  203. DWORD cCAExchangeCerts;
  204. DWORD cExitModules;
  205. LONG lPropIdMax;
  206. LONG lRoleSeparationEnabled;
  207. DWORD cKRACertUsedCount;
  208. DWORD cKRACertCount;
  209. DWORD fAdvancedServer;
  210. } CAINFO;
  211. #endif __ENUM_CATYPES__
  212. // Default value for wszREGCLOCKSKEWMINUTES
  213. #define CCLOCKSKEWMINUTESDEFAULT 10
  214. // Default value for wszREGVIEWAGEMINUTES, wszREGVIEWIDLEMINUTES
  215. #define CVIEWAGEMINUTESDEFAULT 16
  216. #define CVIEWIDLEMINUTESDEFAULT (CVIEWAGEMINUTESDEFAULT / 2)
  217. // Default validity period for ROOT CA certs:
  218. #define dwVALIDITYPERIODCOUNTDEFAULT_ROOT 5
  219. // Default validity periods for certs issued by a CA:
  220. #define dwVALIDITYPERIODCOUNTDEFAULT_ENTERPRISE 2
  221. #define dwVALIDITYPERIODCOUNTDEFAULT_STANDALONE 1
  222. #define dwVALIDITYPERIODENUMDEFAULT ENUM_PERIOD_YEARS
  223. #define wszVALIDITYPERIODSTRINGDEFAULT wszPERIODYEARS
  224. #define dwCAXCHGVALIDITYPERIODCOUNTDEFAULT 1
  225. #define dwCAXCHGVALIDITYPERIODENUMDEFAULT ENUM_PERIOD_WEEKS
  226. #define wszCAXCHGVALIDITYPERIODSTRINGDEFAULT wszPERIODWEEKS
  227. #define dwCAXCHGOVERLAPPERIODCOUNTDEFAULT 1
  228. #define dwCAXCHGOVERLAPPERIODENUMDEFAULT ENUM_PERIOD_DAYS
  229. #define wszCAXCHGOVERLAPPERIODSTRINGDEFAULT wszPERIODDAYS
  230. #define dwCRLPERIODCOUNTDEFAULT 1
  231. #define wszCRLPERIODSTRINGDEFAULT wszPERIODWEEKS
  232. #define dwCRLOVERLAPPERIODCOUNTDEFAULT 0 // 0 --> disabled
  233. #define wszCRLOVERLAPPERIODSTRINGDEFAULT wszPERIODHOURS
  234. #define dwCRLDELTAPERIODCOUNTDEFAULT 1
  235. #define wszCRLDELTAPERIODSTRINGDEFAULT wszPERIODDAYS
  236. #define dwCRLDELTAOVERLAPPERIODCOUNTDEFAULT 0 // 0 --> disabled
  237. #define wszCRLDELTAOVERLAPPERIODSTRINGDEFAULT wszPERIODMINUTES
  238. // Values for wszREGLOGLEVEL:
  239. #define CERTLOG_MINIMAL (DWORD) 0
  240. #define CERTLOG_TERSE (DWORD) 1
  241. #define CERTLOG_ERROR (DWORD) 2
  242. #define CERTLOG_WARNING (DWORD) 3
  243. #define CERTLOG_VERBOSE (DWORD) 4
  244. #define CERTLOG_EXHAUSTIVE (DWORD) 5
  245. // Values for wszREGSETUPSTATUS:
  246. #define SETUP_SERVER_FLAG 0x00000001 // server installed
  247. #define SETUP_CLIENT_FLAG 0x00000002 // client installed
  248. #define SETUP_SUSPEND_FLAG 0x00000004 // incomplete install
  249. #define SETUP_REQUEST_FLAG 0x00000008 // new cert requested
  250. #define SETUP_ONLINE_FLAG 0x00000010 // requested online
  251. #define SETUP_DENIED_FLAG 0x00000020 // request denied
  252. #define SETUP_CREATEDB_FLAG 0x00000040 // create new DB
  253. #define SETUP_ATTEMPT_VROOT_CREATE 0x00000080 // try to create vroots
  254. #define SETUP_FORCECRL_FLAG 0x00000100 // force new CRL(s)
  255. #define SETUP_UPDATE_CAOBJECT_SVRTYPE 0x00000200 // add server type to CA DS object "flags" attr
  256. #define SETUP_SERVER_UPGRADED_FLAG 0x00000400 // server was upgraded
  257. #define SETUP_W2K_SECURITY_NOT_UPGRADED_FLAG 0x00000800 // still need to upgrade security
  258. #define SETUP_SECURITY_CHANGED 0x00001000 // permissons changed while CA was down, certsrv will
  259. // need to update DS & service when it restarts
  260. // Values for wszREGCRLFLAGS:
  261. #define CRLF_DELTA_USE_OLDEST_UNEXPIRED_BASE 0x00000001 // use oldest base:
  262. // else use newest base CRL that satisfies base CRL propagation delay
  263. #define CRLF_DELETE_EXPIRED_CRLS 0x00000002
  264. #define CRLF_CRLNUMBER_CRITICAL 0x00000004
  265. #define CRLF_REVCHECK_IGNORE_OFFLINE 0x00000008
  266. #define CRLF_IGNORE_INVALID_POLICIES 0x00000010
  267. #define CRLF_REBUILD_MODIFIED_SUBJECT_ONLY 0x00000020
  268. #define CRLF_SAVE_FAILED_CERTS 0x00000040
  269. #define CRLF_IGNORE_UNKNOWN_CMC_ATTRIBUTES 0x00000080
  270. #define CRLF_IGNORE_CROSS_CERT_TRUST_ERROR 0x00000100
  271. #define CRLF_PUBLISH_EXPIRED_CERT_CRLS 0x00000200
  272. #define CRLF_ENFORCE_ENROLLMENT_AGENT 0x00000400
  273. #define CRLF_DISABLE_RDN_REORDER 0x00000800
  274. #define CRLF_DISABLE_ROOT_CROSS_CERTS 0x00001000
  275. #define CRLF_LOG_FULL_RESPONSE 0x00002000 // hex dump response to console
  276. #define CRLF_USE_XCHG_CERT_TEMPLATE 0x00004000 // enforce xchg template access
  277. #define CRLF_USE_CROSS_CERT_TEMPLATE 0x00008000 // enforce cross template access
  278. #define CRLF_ALLOW_REQUEST_ATTRIBUTE_SUBJECT 0x00010000
  279. #define CRLF_REVCHECK_IGNORE_NOREVCHECK 0x00020000
  280. #define CRLF_PRESERVE_EXPIRED_CA_CERTS 0x00040000
  281. #define CRLF_PRESERVE_REVOKED_CA_CERTS 0x00080000
  282. // Values for wszREGKRAFLAGS:
  283. #define KRAF_ENABLEFOREIGN 0x00000001 // allow foreign cert, key archival
  284. #define KRAF_SAVEBADREQUESTKEY 0x00000002 // save failed request w/archived key
  285. #define KRAF_ENABLEARCHIVEALL 0x00000004
  286. // Values for wszREGINTERFACEFLAGS:
  287. #define IF_LOCKICERTREQUEST 0x00000001
  288. #define IF_NOREMOTEICERTREQUEST 0x00000002
  289. #define IF_NOLOCALICERTREQUEST 0x00000004
  290. #define IF_NORPCICERTREQUEST 0x00000008
  291. #define IF_NOREMOTEICERTADMIN 0x00000010
  292. #define IF_NOLOCALICERTADMIN 0x00000020
  293. #define IF_NOREMOTEICERTADMINBACKUP 0x00000040
  294. #define IF_NOLOCALICERTADMINBACKUP 0x00000080
  295. #define IF_NOSNAPSHOTBACKUP 0x00000100
  296. #define IF_ENFORCEENCRYPTICERTREQUEST 0x00000200
  297. #define IF_ENFORCEENCRYPTICERTADMIN 0x00000400
  298. #define IF_DEFAULT (IF_NOREMOTEICERTADMINBACKUP)
  299. // Values for numeric prefixes for
  300. // wszREGCRLPUBLICATIONURLS and wszREGCACERTPUBLICATIONURLS:
  301. //
  302. // URL publication template Flags values, encoded as a decimal prefix for URL
  303. // publication templates in the registry:
  304. // "1:c:\winnt\System32\CertSrv\CertEnroll\MyCA.crl"
  305. // "2:http:\//MyServer.MyDomain.com/CertEnroll\MyCA.crl"
  306. #define CSURL_SERVERPUBLISH 0x00000001
  307. #define CSURL_ADDTOCERTCDP 0x00000002
  308. #define CSURL_ADDTOFRESHESTCRL 0x00000004
  309. #define CSURL_ADDTOCRLCDP 0x00000008
  310. #define CSURL_PUBLISHRETRY 0x00000010
  311. #define CSURL_ADDTOCERTOCSP 0x00000020
  312. #define CSURL_SERVERPUBLISHDELTA 0x00000040
  313. // end_certsrv
  314. // Initialization internal definitions -- not written to the registry:
  315. #define CSURL_ADDSYSTEM32DIR 0x20000000
  316. #define CSURL_NODS 0x40000000
  317. #define CSURL_DSONLY 0x80000000
  318. #define CSURL_INITMASK 0xf0000000
  319. // begin_certsrv
  320. //======================================================================
  321. // Keys Under "CertSvc\Configuration\<CAName>":
  322. #define wszREGKEYCSP TEXT("CSP")
  323. #define wszREGKEYENCRYPTIONCSP TEXT("EncryptionCSP")
  324. #define wszREGKEYEXITMODULES TEXT("ExitModules")
  325. #define wszREGKEYPOLICYMODULES TEXT("PolicyModules")
  326. #define wszSECUREDATTRIBUTES TEXT("SignedAttributes")
  327. #define wszzDEFAULTSIGNEDATTRIBUTES TEXT("RequesterName\0")
  328. //======================================================================
  329. // Values Under "CertSvc\Configuration\RestoreInProgress":
  330. #define wszREGBACKUPLOGDIRECTORY TEXT("BackupLogDirectory")
  331. #define wszREGCHECKPOINTFILE TEXT("CheckPointFile")
  332. #define wszREGHIGHLOGNUMBER TEXT("HighLogNumber")
  333. #define wszREGLOWLOGNUMBER TEXT("LowLogNumber")
  334. #define wszREGLOGPATH TEXT("LogPath")
  335. #define wszREGRESTOREMAPCOUNT TEXT("RestoreMapCount")
  336. #define wszREGRESTOREMAP TEXT("RestoreMap")
  337. #define wszREGDATABASERECOVERED TEXT("DatabaseRecovered")
  338. #define wszREGRESTORESTATUS TEXT("RestoreStatus")
  339. // values under \Configuration\PolicyModules in nt5 beta 2
  340. #define wszREGB2ICERTMANAGEMODULE TEXT("ICertManageModule")
  341. // values under \Configuration in nt4 sp4
  342. #define wszREGSP4DEFAULTCONFIGURATION TEXT("DefaultConfiguration")
  343. // values under ca in nt4 sp4
  344. #define wszREGSP4KEYSETNAME TEXT("KeySetName")
  345. #define wszREGSP4SUBJECTNAMESEPARATOR TEXT("SubjectNameSeparator")
  346. #define wszREGSP4NAMES TEXT("Names")
  347. #define wszREGSP4QUERIES TEXT("Queries")
  348. // both nt4 sp4 and nt5 beta 2
  349. #define wszREGNETSCAPECERTTYPE TEXT("NetscapeCertType")
  350. #define wszNETSCAPEREVOCATIONTYPE TEXT("Netscape")
  351. // end_certsrv
  352. // CSPs
  353. #define wszBASECSP MS_STRONG_PROV_W
  354. #define wszENHCSP TEXT("Microsoft Enhanced Cryptographic Provider v1.0")
  355. #define wszMITVCSP TEXT("MITV Smart Card Crypto Provider V0.2")
  356. #define wszBBNCSP TEXT("BBN SafeKeyer Crypto Provider V0.1")
  357. #define wszSLBCSP TEXT("Schlumberger Cryptographic Service Provider v0.1")
  358. #define wszSLBCSP2 TEXT("Schlumberger Cryptographic Service Provider")
  359. #define wszGEMPLUS TEXT("Gemplus GemPASS Card CSP v1.0")
  360. #define wszGEMPLUS2 TEXT("Gemplus GemSAFE Card CSP v1.0")
  361. #define wszDDSCSP TEXT("Microsoft Base DSS Cryptographic Provider")
  362. // Hash Algorithms
  363. #define wszHashMD5 TEXT("MD5")
  364. #define wszHashMD4 TEXT("MD4")
  365. #define wszHashMD2 TEXT("MD2")
  366. #define wszHashSHA1 TEXT("SHA-1")
  367. // begin_certsrv
  368. //======================================================================
  369. // Values Under "CertSvc\Configuration\<CAName>\CSP":
  370. // and "CertSvc\Configuration\<CAName>\EncryptionCSP":
  371. #define wszREGPROVIDERTYPE TEXT("ProviderType")
  372. #define wszREGPROVIDER TEXT("Provider")
  373. #define wszHASHALGORITHM TEXT("HashAlgorithm")
  374. #define wszENCRYPTIONALGORITHM TEXT("EncryptionAlgorithm")
  375. #define wszMACHINEKEYSET TEXT("MachineKeyset")
  376. #define wszREGKEYSIZE TEXT("KeySize")
  377. //======================================================================
  378. // Value strings for "CertSvc\Configuration\<CAName>\SubjectNameSeparator":
  379. #define szNAMESEPARATORDEFAULT "\n"
  380. #define wszNAMESEPARATORDEFAULT TEXT(szNAMESEPARATORDEFAULT)
  381. //======================================================================
  382. // Value strings for "CertSvc\Configuration\<CAName>\ValidityPeriod", etc.:
  383. #define wszPERIODYEARS TEXT("Years")
  384. #define wszPERIODMONTHS TEXT("Months")
  385. #define wszPERIODWEEKS TEXT("Weeks")
  386. #define wszPERIODDAYS TEXT("Days")
  387. #define wszPERIODHOURS TEXT("Hours")
  388. #define wszPERIODMINUTES TEXT("Minutes")
  389. #define wszPERIODSECONDS TEXT("Seconds")
  390. //======================================================================
  391. // Values Under "CertSvc\Configuration\<CAName>\PolicyModules\<ProgId>":
  392. #define wszREGISSUERCERTURLFLAGS TEXT("IssuerCertURLFlags")
  393. #define wszREGEDITFLAGS TEXT("EditFlags")
  394. #define wszREGSUBJECTALTNAME TEXT("SubjectAltName")
  395. #define wszREGSUBJECTALTNAME2 TEXT("SubjectAltName2")
  396. #define wszREGREQUESTDISPOSITION TEXT("RequestDisposition")
  397. #define wszREGCAPATHLENGTH TEXT("CAPathLength")
  398. #define wszREGREVOCATIONTYPE TEXT("RevocationType")
  399. #define wszREGLDAPREVOCATIONCRLURL_OLD TEXT("LDAPRevocationCRLURL")
  400. #define wszREGREVOCATIONCRLURL_OLD TEXT("RevocationCRLURL")
  401. #define wszREGFTPREVOCATIONCRLURL_OLD TEXT("FTPRevocationCRLURL")
  402. #define wszREGFILEREVOCATIONCRLURL_OLD TEXT("FileRevocationCRLURL")
  403. #define wszREGREVOCATIONURL TEXT("RevocationURL")
  404. #define wszREGLDAPISSUERCERTURL_OLD TEXT("LDAPIssuerCertURL")
  405. #define wszREGISSUERCERTURL_OLD TEXT("IssuerCertURL")
  406. #define wszREGFTPISSUERCERTURL_OLD TEXT("FTPIssuerCertURL")
  407. #define wszREGFILEISSUERCERTURL_OLD TEXT("FileIssuerCertURL")
  408. #define wszREGENABLEREQUESTEXTENSIONLIST TEXT("EnableRequestExtensionList")
  409. #define wszREGENABLEENROLLEEREQUESTEXTENSIONLIST TEXT("EnableEnrolleeRequestExtensionList")
  410. #define wszREGDISABLEEXTENSIONLIST TEXT("DisableExtensionList")
  411. #define wszREGDEFAULTSMIME TEXT("DefaultSMIME")
  412. // wszREGCAPATHLENGTH Values:
  413. #define CAPATHLENGTH_INFINITE 0xffffffff
  414. // wszREGREQUESTDISPOSITION Values:
  415. #define REQDISP_PENDING 0x00000000
  416. #define REQDISP_ISSUE 0x00000001
  417. #define REQDISP_DENY 0x00000002
  418. #define REQDISP_USEREQUESTATTRIBUTE 0x00000003
  419. #define REQDISP_MASK 0x000000ff
  420. #define REQDISP_PENDINGFIRST 0x00000100
  421. #define REQDISP_DEFAULT_STANDALONE (REQDISP_PENDINGFIRST | REQDISP_ISSUE)
  422. #define REQDISP_DEFAULT_ENTERPRISE (REQDISP_ISSUE)
  423. // wszREGREVOCATIONTYPE Values:
  424. #define REVEXT_CDPLDAPURL_OLD 0x00000001
  425. #define REVEXT_CDPHTTPURL_OLD 0x00000002
  426. #define REVEXT_CDPFTPURL_OLD 0x00000004
  427. #define REVEXT_CDPFILEURL_OLD 0x00000008
  428. #define REVEXT_CDPURLMASK_OLD 0x000000ff
  429. #define REVEXT_CDPENABLE 0x00000100
  430. #define REVEXT_ASPENABLE 0x00000200
  431. #define REVEXT_DEFAULT_NODS (REVEXT_CDPENABLE)
  432. #define REVEXT_DEFAULT_DS (REVEXT_CDPENABLE)
  433. // wszREGISSUERCERTURLFLAGS Values:
  434. #define ISSCERT_LDAPURL_OLD 0x00000001
  435. #define ISSCERT_HTTPURL_OLD 0x00000002
  436. #define ISSCERT_FTPURL_OLD 0x00000004
  437. #define ISSCERT_FILEURL_OLD 0x00000008
  438. #define ISSCERT_URLMASK_OLD 0x000000ff
  439. #define ISSCERT_ENABLE 0x00000100
  440. #define ISSCERT_DEFAULT_NODS (ISSCERT_ENABLE)
  441. #define ISSCERT_DEFAULT_DS (ISSCERT_ENABLE)
  442. // wszREGEDITFLAGS Values: Defaults:
  443. // Under CA key: wszREGCRLEDITFLAGS Values (EDITF_ENABLEAKI* only):
  444. #define EDITF_ENABLEREQUESTEXTENSIONS 0x00000001 // neither
  445. #define EDITF_REQUESTEXTENSIONLIST 0x00000002 // both
  446. #define EDITF_DISABLEEXTENSIONLIST 0x00000004 // both
  447. #define EDITF_ADDOLDKEYUSAGE 0x00000008 // both
  448. #define EDITF_ADDOLDCERTTYPE 0x00000010 // neither
  449. #define EDITF_ATTRIBUTEENDDATE 0x00000020 // Standalone
  450. #define EDITF_BASICCONSTRAINTSCRITICAL 0x00000040 // both
  451. #define EDITF_BASICCONSTRAINTSCA 0x00000080 // Standalone
  452. #define EDITF_ENABLEAKIKEYID 0x00000100 // both
  453. #define EDITF_ATTRIBUTECA 0x00000200 // Standalone
  454. #define EDITF_IGNOREREQUESTERGROUP 0x00000400 // neither
  455. #define EDITF_ENABLEAKIISSUERNAME 0x00000800 // neither
  456. #define EDITF_ENABLEAKIISSUERSERIAL 0x00001000 // neither
  457. #define EDITF_ENABLEAKICRITICAL 0x00002000 // neither
  458. #define EDITF_SERVERUPGRADED 0x00004000 // neither
  459. #define EDITF_ATTRIBUTEEKU 0x00008000 // Standalone
  460. #define EDITF_ENABLEDEFAULTSMIME 0x00010000 // Enterprise
  461. #define EDITF_EMAILOPTIONAL 0x00020000 // neither
  462. #define EDITF_ATTRIBUTESUBJECTALTNAME2 0x00040000 // neither
  463. #define EDITF_ENABLELDAPREFERRALS 0x00080000 // neither
  464. #define EDITF_ENABLECHASECLIENTDC 0x00100000 // Enterprise
  465. #define EDITF_DEFAULT_STANDALONE (EDITF_REQUESTEXTENSIONLIST | \
  466. EDITF_DISABLEEXTENSIONLIST | \
  467. EDITF_ADDOLDKEYUSAGE | \
  468. EDITF_ATTRIBUTEENDDATE | \
  469. EDITF_BASICCONSTRAINTSCRITICAL | \
  470. EDITF_BASICCONSTRAINTSCA | \
  471. EDITF_ENABLEAKIKEYID | \
  472. EDITF_ATTRIBUTECA | \
  473. EDITF_ATTRIBUTEEKU)
  474. #define EDITF_DEFAULT_ENTERPRISE (EDITF_REQUESTEXTENSIONLIST | \
  475. EDITF_DISABLEEXTENSIONLIST | \
  476. EDITF_ADDOLDKEYUSAGE | \
  477. EDITF_BASICCONSTRAINTSCRITICAL | \
  478. EDITF_ENABLEAKIKEYID | \
  479. EDITF_ENABLEDEFAULTSMIME | \
  480. EDITF_ENABLECHASECLIENTDC)
  481. //======================================================================
  482. // Values Under "CertSvc\Configuration\<CAName>\ExitModules\<ProgId>":
  483. // LDAP based CRL and URL issuance
  484. #define wszREGLDAPREVOCATIONDN_OLD TEXT("LDAPRevocationDN")
  485. #define wszREGLDAPREVOCATIONDNTEMPLATE_OLD TEXT("LDAPRevocationDNTemplate")
  486. #define wszCRLPUBLISHRETRYCOUNT TEXT("CRLPublishRetryCount")
  487. #define wszREGCERTPUBLISHFLAGS TEXT("PublishCertFlags")
  488. // wszREGCERTPUBLISHFLAGS Values:
  489. #define EXITPUB_FILE 0x00000001
  490. #define EXITPUB_ACTIVEDIRECTORY 0x00000002
  491. #define EXITPUB_REMOVEOLDCERTS 0x00000010
  492. #define EXITPUB_DEFAULT_ENTERPRISE EXITPUB_ACTIVEDIRECTORY
  493. #define EXITPUB_DEFAULT_STANDALONE EXITPUB_FILE
  494. // end_certsrv
  495. //======================================================================
  496. // KeysNotToRestore Registry Key:
  497. #define wszREGKEYKEYSNOTTORESTORE TEXT("SYSTEM\\CurrentControlSet\\Control\\BackupRestore\\KeysNotToRestore")
  498. // Certificate Authority = REG_MULTI_SZ "CurrentControlSet\Control\Services\CertSvc\Configuration\RestoreInProgress\\0"
  499. #define wszREGRESTORECERTIFICATEAUTHORITY TEXT("Certificate Authority")
  500. #define wszzREGVALUERESTORECERTIFICATEAUTHORITY \
  501. wszREGKEYNOSYSTEMCERTSVCPATH \
  502. TEXT("\\") \
  503. wszREGKEYCONFIG \
  504. TEXT("\\") \
  505. wszREGKEYRESTOREINPROGRESS \
  506. TEXT("\\\0")
  507. //======================================================================
  508. // FilesNotToRestore Registry Key:
  509. #define wszREGKEYFILESNOTTOBACKUP TEXT("SYSTEM\\CurrentControlSet\\Control\\BackupRestore\\FilesNotToBackup")
  510. // Certificate Authority = REG_MULTI_SZ DBFile DBLogDir DBSysDir DBTempDir
  511. //#define wszREGRESTORECERTIFICATEAUTHORITY TEXT("Certificate Authority")
  512. //======================================================================
  513. // Key Manager Base Registry Key, value name and value string:
  514. #define wszREGKEYKEYRING TEXT("SOFTWARE\\Microsoft\\KeyRing\\Parameters\\Certificate Authorities\\Microsoft Certificate Server")
  515. #define wszREGCERTGETCONFIG TEXT("CertGetConfig")
  516. #define wszREGCERTREQUEST TEXT("CertRequest")
  517. // begin_certsrv
  518. #define wszCLASS_CERTADMIN TEXT("CertificateAuthority.Admin")
  519. #define wszCLASS_CERTCONFIG TEXT("CertificateAuthority.Config")
  520. #define wszCLASS_CERTGETCONFIG TEXT("CertificateAuthority.GetConfig")
  521. #define wszCLASS_CERTENCODE TEXT("CertificateAuthority.Encode")
  522. #define wszCLASS_CERTDB TEXT("CertificateAuthority.DB") // no_certsrv
  523. #define wszCLASS_CERTDBRESTORE TEXT("CertificateAuthority.DBRestore") // no_certsrv
  524. #define wszCLASS_CERTREQUEST TEXT("CertificateAuthority.Request")
  525. #define wszCLASS_CERTSERVEREXIT TEXT("CertificateAuthority.ServerExit")
  526. #define wszCLASS_CERTSERVERPOLICY TEXT("CertificateAuthority.ServerPolicy")
  527. #define wszCLASS_CERTVIEW TEXT("CertificateAuthority.View")
  528. // class name templates
  529. #define wszMICROSOFTCERTMODULE_PREFIX TEXT("CertificateAuthority_MicrosoftDefault")
  530. #define wszCERTMANAGE_SUFFIX TEXT("Manage")
  531. #define wszCERTEXITMODULE_POSTFIX TEXT(".Exit")
  532. #define wszCERTMANAGEEXIT_POSTFIX wszCERTEXITMODULE_POSTFIX wszCERTMANAGE_SUFFIX
  533. #define wszCERTPOLICYMODULE_POSTFIX TEXT(".Policy")
  534. #define wszCERTMANAGEPOLICY_POSTFIX wszCERTPOLICYMODULE_POSTFIX wszCERTMANAGE_SUFFIX
  535. // actual policy/exit manage class names
  536. #define wszCLASS_CERTMANAGEEXITMODULE wszMICROSOFTCERTMODULE_PREFIX wszCERTMANAGEEXIT_POSTFIX
  537. #define wszCLASS_CERTMANAGEPOLICYMODULE wszMICROSOFTCERTMODULE_PREFIX wszCERTMANAGEPOLICY_POSTFIX
  538. // actual policy/exit class names
  539. #define wszCLASS_CERTEXIT wszMICROSOFTCERTMODULE_PREFIX wszCERTEXITMODULE_POSTFIX
  540. #define wszCLASS_CERTPOLICY wszMICROSOFTCERTMODULE_PREFIX wszCERTPOLICYMODULE_POSTFIX
  541. #define wszCAPOLICYFILE L"CAPolicy.inf"
  542. #define wszINFSECTION_CDP L"CRLDistributionPoint"
  543. #define wszINFSECTION_AIA L"AuthorityInformationAccess"
  544. #define wszINFSECTION_EKU L"EnhancedKeyUsageExtension"
  545. #define wszINFSECTION_CCDP L"CrossCertificateDistributionPointsExtension"
  546. #define wszINFSECTION_CERTSERVER L"certsrv_server"
  547. #define wszINFKEY_RENEWALKEYLENGTH L"RenewalKeyLength"
  548. #define wszINFKEY_RENEWALVALIDITYPERIODSTRING L"RenewalValidityPeriod"
  549. #define wszINFKEY_RENEWALVALIDITYPERIODCOUNT L"RenewalValidityPeriodUnits"
  550. #define wszINFKEY_UTF8 L"UTF8"
  551. #define wszINFKEY_CRLPERIODSTRING wszREGCRLPERIODSTRING
  552. #define wszINFKEY_CRLPERIODCOUNT wszREGCRLPERIODCOUNT
  553. #define wszINFKEY_CRLDELTAPERIODSTRING wszREGCRLDELTAPERIODSTRING
  554. #define wszINFKEY_CRLDELTAPERIODCOUNT wszREGCRLDELTAPERIODCOUNT
  555. #define wszINFKEY_LOADDEFAULTTEMPLATES L"LoadDefaultTemplates"
  556. #define wszINFKEY_ENABLEKEYCOUNTING L"EnableKeyCounting"
  557. #define wszINFKEY_CRITICAL L"Critical"
  558. #define wszINFKEY_EMPTY L"Empty"
  559. #define wszINFKEY_CCDPSYNCDELTATIME L"SyncDeltaTime"
  560. #define wszINFSECTION_CAPOLICY L"CAPolicy"
  561. #define wszINFSECTION_POLICYSTATEMENT L"PolicyStatementExtension"
  562. #define wszINFSECTION_APPLICATIONPOLICYSTATEMENT L"ApplicationPolicyStatementExtension"
  563. #define wszINFKEY_POLICIES L"Policies"
  564. #define wszINFKEY_OID L"OID"
  565. #define wszINFKEY_NOTICE L"Notice"
  566. #define wszINFSECTION_REQUESTATTRIBUTES L"RequestAttributes"
  567. #define wszINFSECTION_NAMECONSTRAINTS L"NameConstraintsExtension"
  568. #define wszINFKEY_INCLUDE L"Include"
  569. #define wszINFKEY_EXCLUDE L"Exclude"
  570. #define wszINFKEY_UPN L"UPN"
  571. #define wszINFKEY_EMAIL L"EMail"
  572. #define wszINFKEY_DNS L"DNS"
  573. #define wszINFKEY_DIRECTORYNAME L"DirectoryName"
  574. #define wszINFKEY_URL L"URL"
  575. #define wszINFKEY_IPADDRESS L"IPAddress"
  576. #define wszINFKEY_REGISTEREDID L"RegisteredId"
  577. #define wszINFKEY_OTHERNAME L"OtherName"
  578. #define wszINFSECTION_POLICYMAPPINGS L"PolicyMappingsExtension"
  579. #define wszINFSECTION_APPLICATIONPOLICYMAPPINGS L"ApplicationPolicyMappingsExtension"
  580. #define wszINFSECTION_POLICYCONSTRAINTS L"PolicyConstraintsExtension"
  581. #define wszINFSECTION_APPLICATIONPOLICYCONSTRAINTS L"ApplicationPolicyConstraintsExtension"
  582. #define wszINFKEY_REQUIREEXPLICITPOLICY L"RequireExplicitPolicy"
  583. #define wszINFKEY_INHIBITPOLICYMAPPING L"InhibitPolicyMapping"
  584. #define wszINFSECTION_BASICCONSTRAINTS L"BasicConstraintsExtension"
  585. #define wszINFKEY_PATHLENGTH L"PathLength"
  586. //======================================================================
  587. // Values Under "CertSvc\Configuration\<CAName>\ExitModules\CertificateAuthority_MicrosoftDefault.Exit\SMTP":
  588. //
  589. // exit module mail support
  590. //
  591. #define wszREGEXITSMTPKEY L"SMTP"
  592. #define wszREGEXITSMTPTEMPLATES L"Templates"
  593. #define wszREGEXITSMTPEVENTFILTER L"EventFilter"
  594. #define wszREGEXITSMTPSERVER L"SMTPServer"
  595. #define wszREGEXITSMTPAUTHENTICATE L"SMTPAuthenticate"
  596. // Subkeys:
  597. #define wszREGEXITDENIEDKEY L"Denied"
  598. #define wszREGEXITISSUEDKEY L"Issued"
  599. #define wszREGEXITPENDINGKEY L"Pending"
  600. #define wszREGEXITREVOKEDKEY L"Revoked"
  601. #define wszREGEXITCRLISSUEDKEY L"CRLIssued"
  602. #define wszREGEXITSHUTDOWNKEY L"Shutdown"
  603. #define wszREGEXITSTARTUPKEY L"Startup"
  604. //======================================================================
  605. // Values Under
  606. // "CertSvc\Configuration\<CAName>\ExitModules\CertificateAuthority_MicrosoftDefault.Exit\SMTP\Issued|
  607. // Pending|Denied|Revoked|CRLIssued|Shutdown":
  608. #define wszREGEXITSMTPFROM L"From"
  609. #define wszREGEXITSMTPTO L"To"
  610. #define wszREGEXITSMTPCC L"Cc"
  611. #define wszREGEXITTITLEFORMAT L"TitleFormat"
  612. #define wszREGEXITTITLEARG L"TitleArg"
  613. #define wszREGEXITBODYFORMAT L"BodyFormat"
  614. #define wszREGEXITBODYARG L"BodyArg"
  615. #define wszREGEXITPROPNOTFOUND L"???"
  616. // end_certsrv
  617. // begin CertSrv MMC Snapin
  618. #define wszREGKEYMGMT L"Software\\Microsoft\\MMC"
  619. #define wszREGKEYMGMTSNAPIN wszREGKEYMGMT L"\\SnapIns"
  620. #define wszREGKEYMGMTNODETYPES wszREGKEYMGMT L"\\NodeTypes"
  621. #define wszSNAPINNAMESTRING L"NameString"
  622. #define wszSNAPINNAMESTRINGINDIRECT L"NameStringIndirect"
  623. #define wszSNAPINABOUT L"About"
  624. #define wszSNAPINSTANDALONE L"StandAlone"
  625. #define wszSNAPINNODETYPES L"NodeTypes"
  626. #define wszSNAPINEXTENSIONS L"Extensions"
  627. #define wszSNAPINNAMESPACE L"NameSpace"
  628. #define wszSNAPINPROPERTYSHEET L"PropertySheet"
  629. #define wszSNAPINNAMESTRINGINDIRECT_TEMPLATE L"@%ws,-%d" // "@dllname, -<resource id>"
  630. // main snapin uuid
  631. #define wszSNAPINNODETYPE_UUID1 L"{de751566-4cc6-11d1-8ca0-00c04fc297eb}"
  632. #define wszREGKEYMGMTSNAPINUUID1 wszREGKEYMGMTSNAPIN L"\\" wszSNAPINNODETYPE_UUID1
  633. #define wszSNAPINNODETYPE_ABOUT L"{4653e860-4cc7-11d1-8ca0-00c04fc297eb}"
  634. #define wszREGKEYMGMTSNAPINUUID1_STANDALONE wszREGKEYMGMTSNAPINUUID1 L"\\" wszSNAPINSTANDALONE
  635. #define wszREGKEYMGMTSNAPINUUID1_NODETYPES wszREGKEYMGMTSNAPINUUID1 L"\\" wszSNAPINNODETYPES
  636. #define wszSNAPINNODETYPE_1 L"{89b31b94-4cc7-11d1-8ca0-00c04fc297eb}" // cNODETYPEMACHINEINSTANCE
  637. #define wszSNAPINNODETYPE_2 L"{5d972ee4-7576-11d1-8cbe-00c04fc297eb}" // cNODETYPESERVERINSTANCE
  638. #define wszSNAPINNODETYPE_3 L"{5946E36C-757C-11d1-8CBE-00C04FC297EB}" // cNODETYPECRLPUBLICATION
  639. #define wszSNAPINNODETYPE_4 L"{783E4E5F-757C-11d1-8CBE-00C04FC297EB}" // cNODETYPEISSUEDCERTS
  640. #define wszSNAPINNODETYPE_5 L"{783E4E63-757C-11d1-8CBE-00C04FC297EB}" // cNODETYPEPENDINGCERTS
  641. #define wszREGKEYMGMTSNAPINUUID1_NODETYPES_1 wszREGKEYMGMTSNAPINUUID1_NODETYPES L"\\" wszSNAPINNODETYPE_1
  642. #define wszREGKEYMGMTSNAPINUUID1_NODETYPES_2 wszREGKEYMGMTSNAPINUUID1_NODETYPES L"\\" wszSNAPINNODETYPE_2
  643. #define wszREGKEYMGMTSNAPINUUID1_NODETYPES_3 wszREGKEYMGMTSNAPINUUID1_NODETYPES L"\\" wszSNAPINNODETYPE_3
  644. #define wszREGKEYMGMTSNAPINUUID1_NODETYPES_4 wszREGKEYMGMTSNAPINUUID1_NODETYPES L"\\" wszSNAPINNODETYPE_4
  645. #define wszREGKEYMGMTSNAPINUUID1_NODETYPES_5 wszREGKEYMGMTSNAPINUUID1_NODETYPES L"\\" wszSNAPINNODETYPE_5
  646. // register snapin nodetypes
  647. #define wszREGKEYMGMTSNAPIN_NODETYPES_1 wszREGKEYMGMTNODETYPES L"\\" wszSNAPINNODETYPE_1
  648. #define wszREGKEYMGMTSNAPIN_NODETYPES_2 wszREGKEYMGMTNODETYPES L"\\" wszSNAPINNODETYPE_2
  649. #define wszREGKEYMGMTSNAPIN_NODETYPES_3 wszREGKEYMGMTNODETYPES L"\\" wszSNAPINNODETYPE_3
  650. #define wszREGKEYMGMTSNAPIN_NODETYPES_4 wszREGKEYMGMTNODETYPES L"\\" wszSNAPINNODETYPE_4
  651. #define wszREGKEYMGMTSNAPIN_NODETYPES_5 wszREGKEYMGMTNODETYPES L"\\" wszSNAPINNODETYPE_5
  652. #define wszREGCERTSNAPIN_NODETYPES_1 L"CertSvr MMC Machine Instance"
  653. #define wszREGCERTSNAPIN_NODETYPES_2 L"CertSvr MMC Server Instance"
  654. #define wszREGCERTSNAPIN_NODETYPES_3 L"CertSvr MMC CRL Publication"
  655. #define wszREGCERTSNAPIN_NODETYPES_4 L"CertSvr MMC Issued Certificates"
  656. #define wszREGCERTSNAPIN_NODETYPES_5 L"CertSvr MMC Pending Certificates"
  657. // restore through ini file
  658. #define wszRESTORE_FILENAME L"CertsrvRestore"
  659. #define wszRESTORE_SECTION L"Restore"
  660. #define wszRESTORE_NEWLOGSUFFIX L"New"
  661. #endif // __CSREGSTR_H__