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.

229 lines
9.1 KiB

  1. // Resources constant definitions
  2. // Used by SignTool.rc
  3. //
  4. // 0 - 99 Top level usage
  5. // 100 - 199 Sign command usage
  6. // 200 - 299 Verify command usage
  7. // 300 - 399 Timestamp command usage
  8. // 400 - 499 CatDb command usage
  9. // 500 - 999 Reserved for other command usages
  10. // 1000 - 1099 Top level or generic warnings, info and errors
  11. // 1100 - 1199 Sign command parsing warnings, info and errors
  12. // 1200 - 1299 Verify command parsing warnings, info and errors
  13. // 1300 - 1399 Timestamp command parsing warnings, info and errors
  14. // 1400 - 1499 CatDb command parsing warnings, info and errors
  15. // 1500 - 1999 Reserved for other command parsing warnings, info and errors
  16. // 2000 - 2099 Generic action warnings, info and errors
  17. // 2100 - 2199 Sign command action warnings, info and errors
  18. // 2200 - 2299 Verify command action warnings, info and errors
  19. // 2300 - 2399 Timestamp command action warnings, info and errors
  20. // 2400 - 2499 CatDb command action warnings, info and errors
  21. // 2500 - 2999 Reserved for other command action warnings, info and errors
  22. // Top level Usage:
  23. #define IDS_LOCALE 0
  24. #define IDS_SIGNTOOL_USAGE 10
  25. // SIGN Command Usage:
  26. #define IDS_SIGN_USAGE 100
  27. #define IDS_SIGN_CERT_OPTIONS 101
  28. #define IDS_SIGN_SIGNING_OPTIONS 102
  29. #define IDS_SIGN_PRIV_KEY_OPTIONS 103
  30. #define IDS_SIGN_OTHER_OPTIONS 104
  31. #define IDS_SIGN_ 105
  32. #define IDS_SIGN_A 106
  33. #define IDS_SIGN_C 107
  34. #define IDS_SIGN_CSP 108
  35. #define IDS_SIGN_D 109
  36. #define IDS_SIGN_DU 110
  37. #define IDS_SIGN_F 111
  38. #define IDS_SIGN_I 112
  39. #define IDS_SIGN_K 113
  40. #define IDS_SIGN_N 114
  41. #define IDS_SIGN_P 115
  42. #define IDS_SIGN_Q 116
  43. #define IDS_SIGN_R 117
  44. #define IDS_SIGN_S 118
  45. #define IDS_SIGN_SM 119
  46. #define IDS_SIGN_SHA1 120
  47. #define IDS_SIGN_T 121
  48. #define IDS_SIGN_U 122
  49. #define IDS_SIGN_UW 123
  50. #define IDS_SIGN_V 124
  51. // VERIFY Command Usage:
  52. #define IDS_VERIFY_USAGE 200
  53. #define IDS_VERIFY_CATALOG_OPTIONS 201
  54. #define IDS_VERIFY_OTHER_OPTIONS 202
  55. #define IDS_VERIFY_POLICY_OPTIONS 203
  56. #define IDS_VERIFY_SIG_OPTIONS 204
  57. #define IDS_VERIFY_A 205
  58. #define IDS_VERIFY_AD 206
  59. #define IDS_VERIFY_AS 207
  60. #define IDS_VERIFY_AG 208
  61. #define IDS_VERIFY_C 209
  62. #define IDS_VERIFY_O 210
  63. #define IDS_VERIFY_PD 211
  64. #define IDS_VERIFY_PG 212
  65. #define IDS_VERIFY_Q 213
  66. #define IDS_VERIFY_R 214
  67. #define IDS_VERIFY_TW 215
  68. #define IDS_VERIFY_V 216
  69. // TIMESTAMP Command Usage:
  70. #define IDS_TIMESTAMP_USAGE 300
  71. #define IDS_TIMESTAMP_Q 301
  72. #define IDS_TIMESTAMP_T 302
  73. #define IDS_TIMESTAMP_V 303
  74. // CATDB Command Usage:
  75. #define IDS_CATDB_USAGE 400
  76. #define IDS_CATDB_DB_SELECT_OPTIONS 401
  77. #define IDS_CATDB_OTHER_OPTIONS 402
  78. #define IDS_CATDB_D 403
  79. #define IDS_CATDB_G 404
  80. #define IDS_CATDB_Q 405
  81. #define IDS_CATDB_R 406
  82. #define IDS_CATDB_U 407
  83. #define IDS_CATDB_V 408
  84. // SIGNWIZARD Command Usage:
  85. #define IDS_SIGNWIZARD_USAGE 500
  86. #define IDS_SIGNWIZARD_OPTIONS 501
  87. #define IDS_SIGNWIZARD_Q 502
  88. #define IDS_SIGNWIZARD_V 503
  89. // Generic Parsing Warnings, Info and Errors
  90. #define IDS_ERR_NO_PARAMS 1001
  91. #define IDS_ERR_INVALID_COMMAND 1002
  92. #define IDS_ERR_MISSING_FILENAME 1003
  93. #define IDS_ERR_FILE_NOT_FOUND 1004
  94. #define IDS_ERR_DUP_SWITCH 1005
  95. #define IDS_ERR_NO_PARAM 1006
  96. #define IDS_ERR_INVALID_SWITCH 1007
  97. #define IDS_ERR_UNEXPECTED 1008
  98. #define IDS_ERR_PARAM_DEPENDENCY 1009
  99. #define IDS_ERR_PARAM_MULTI_DEP 1010
  100. #define IDS_ERR_PARAM_INCOMPATIBLE 1011
  101. #define IDS_ERR_PARAM_MULTI_INCOMP 1012
  102. #define IDS_ERR_PARAM_REQUIRED 1013
  103. #define IDS_ERR_OPENING_FILE_LIST 1014
  104. #define IDS_ERR_INVALID_GUID 1015
  105. // SIGN Parsing Warnings, Info and Errors
  106. #define IDS_ERR_INVALID_SHA1 1100
  107. #define IDS_ERR_INVALID_EKU 1101
  108. #define IDS_ERR_EKU_LENGTH 1102
  109. #define IDS_ERR_BAD_TIMESTAMP_URL 1103
  110. // VERIFY Parsing Warnings, Info and Errors
  111. #define IDS_ERR_INVALID_VERSION 1200
  112. // TIMESTAMP Parsing Warnings, Info and Errors
  113. // none defined
  114. // #define IDS_ERR_blah 1300
  115. // CATDB Parsing Warnings, Info and Errors
  116. // none defined
  117. // #define IDS_ERR_blah 1400
  118. // Generic Action Warnings, Info and Errors
  119. #define IDS_INFO_WARNINGS 2000
  120. #define IDS_INFO_ERRORS 2001
  121. #define IDS_WARN_UNSUPPORTED 2002
  122. #define IDS_ERR_NO_FILES_DONE 2003
  123. #define IDS_ERR_FUNCTION 2004
  124. #define IDS_ERR_CAPICOM_NOT_REG 2005
  125. #define IDS_ERR_ACCESS_DENIED 2006
  126. #define IDS_ERR_SHARING_VIOLATION 2007
  127. #define IDS_ERR_FILE_SIZE_ZERO 2008
  128. // SIGN Action Warnings, Info and Errors
  129. #define IDS_INFO_SIGNED 2100
  130. #define IDS_INFO_CERT_SELECTED 2101
  131. #define IDS_INFO_CERT_NAME 2102
  132. #define IDS_INFO_CERT_ISSUER 2103
  133. #define IDS_INFO_CERT_EXPIRE 2104
  134. #define IDS_INFO_CERT_SHA1 2105
  135. #define IDS_INFO_SIGN_SUCCESS 2106
  136. #define IDS_INFO_SIGN_SUCCESS_T 2107
  137. #define IDS_INFO_SIGN_ATTEMPT 2108
  138. #define IDS_WARN_SIGN_NO_TIMESTAMP 2109
  139. #define IDS_ERR_PFX_BAD_PASSWORD 2110
  140. #define IDS_ERR_NO_CERT 2111
  141. #define IDS_ERR_BAD_CSP 2112
  142. #define IDS_ERR_CERT_NO_PRIV_KEY 2113
  143. #define IDS_ERR_CERT_FILE 2114
  144. #define IDS_ERR_CERT_HASH 2115
  145. #define IDS_ERR_CERT_ISSUER 2116
  146. #define IDS_ERR_CERT_MULTIPLE 2117
  147. #define IDS_ERR_STORE 2118
  148. #define IDS_ERR_SIGN 2119
  149. #define IDS_ERR_SIGN_FILE_FORMAT 2120
  150. #define IDS_ERR_PRIV_KEY_MISMATCH 2121
  151. #define IDS_ERR_STORE_NOT_FOUND 2122
  152. #define IDS_ERR_BAD_KEY_CONTAINER 2123
  153. #define IDS_ERR_PRIV_KEY 2124
  154. // VERIFY Action Warnings, Info and Errors
  155. #define IDS_INFO_VERIFIED 2200
  156. #define IDS_INFO_INVALIDS 2201
  157. #define IDS_INFO_VERIFY_ATTEMPT 2202
  158. #define IDS_INFO_VERIFY_SUCCESS 2203
  159. #define IDS_INFO_VERIFY_CAT 2204
  160. #define IDS_INFO_VERIFY_BADCAT 2205
  161. #define IDS_INFO_VERIFY_SIGNER 2206
  162. #define IDS_INFO_VERIFY_COUNTER 2207
  163. #define IDS_INFO_VERIFY_TIMESTAMP 2208
  164. #define IDS_INFO_VERIFY_NO_TIMESTAMP 2209
  165. #define IDS_INFO_VERIFY_TIME 2210
  166. #define IDS_INFO_VERIFY_CACHED_CAT 2211
  167. #define IDS_WARN_VERIFY_NO_TS 2212
  168. #define IDS_ERR_VERIFY 2213
  169. #define IDS_ERR_VERIFY_INVALID 2214
  170. #define IDS_ERR_VERIFY_ROOT 2215
  171. #define IDS_ERR_VERIFY_CAT_OPEN 2216
  172. #define IDS_ERR_VERIFY_NOT_IN_CAT 2217
  173. #define IDS_ERR_VERIFY_VERSION 2218
  174. #define IDS_ERR_VERIFY_CUR_VERSION 2219
  175. #define IDS_ERR_VERIFY_FILE_FORMAT 2220
  176. #define IDS_ERR_BAD_USAGE 2221
  177. #define IDS_ERR_TRY_OTHER_POLICY 2222
  178. #define IDS_ERR_NOT_SIGNED 2223
  179. #define IDS_ERR_UNTRUSTED_ROOT 2224
  180. // TIMESTAMP Action Warnings, Info and Errors
  181. #define IDS_INFO_TIMESTAMPED 2300
  182. #define IDS_INFO_TIMESTAMP_ATTEMPT 2301
  183. #define IDS_INFO_TIMESTAMP_SUCCESS 2302
  184. #define IDS_ERR_TIMESTAMP 2303
  185. #define IDS_ERR_TIMESTAMP_NO_SIG 2304
  186. #define IDS_ERR_TIMESTAMP_BAD_URL 2305
  187. // CATDB Action Warnings, Info and Errors
  188. #define IDS_INFO_ADDING_CAT 2400
  189. #define IDS_INFO_REMOVING_CAT 2401
  190. #define IDS_INFO_ADDED_CAT 2402
  191. #define IDS_INFO_ADDED_CAT_AS 2403
  192. #define IDS_INFO_REMOVED_CAT 2404
  193. #define IDS_INFO_CATS_ADDED 2405
  194. #define IDS_INFO_CATS_REMOVED 2406
  195. #define IDS_ERR_ADDING_CAT 2407
  196. #define IDS_ERR_REMOVING_CAT 2408
  197. #define IDS_ERR_REM_CAT_PLATFORM 2409
  198. #define IDS_ERR_CATALOG_NAME 2410
  199. #define IDS_ERR_CAT_NOT_FOUND 2411
  200. // SIGNWIZARD Action Warnings, Info and Errors
  201. #define IDS_INFO_SIGNWIZARD_ATTEMPT 2500
  202. #define IDS_INFO_SIGNWIZARD_SUCCESS 2501
  203. #define IDS_INFO_WIZARDSIGNED 2502
  204. #define IDS_ERR_SIGNWIZARD 2503