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.

166 lines
6.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: xenroll.rc
  8. //
  9. //--------------------------------------------------------------------------
  10. //Microsoft Developer Studio generated resource script.
  11. //
  12. #include "resource.h"
  13. #include "..\..\certstor\oidinfo.h"
  14. #define APSTUDIO_READONLY_SYMBOLS
  15. /////////////////////////////////////////////////////////////////////////////
  16. //
  17. // Generated from the TEXTINCLUDE 2 resource.
  18. //
  19. #include "windows.h"
  20. #include "pvkdlgs.h"
  21. /////////////////////////////////////////////////////////////////////////////
  22. #undef APSTUDIO_READONLY_SYMBOLS
  23. /////////////////////////////////////////////////////////////////////////////
  24. // English (U.S.) resources
  25. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  26. #ifdef _WIN32
  27. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  28. #pragma code_page(1252)
  29. #endif //_WIN32
  30. /////////////////////////////////////////////////////////////////////////////
  31. //
  32. // Dialog
  33. //
  34. IDD_ENTERKEYPASSWORD DIALOG DISCARDABLE 111, 98, 207, 112
  35. STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  36. WS_SYSMENU
  37. CAPTION "Enter Private Key Password"
  38. FONT 8, "MS Shell Dlg"
  39. BEGIN
  40. LTEXT "Key:",-1,14,19,39,9
  41. LTEXT "xxxxxxxxxxxxxxxxxxx",IDC_KEY,63,19,124,9
  42. LTEXT "&Password:",-1,14,36,41,9
  43. EDITTEXT IDC_PASSWORD0,63,34,124,12,ES_PASSWORD | ES_AUTOHSCROLL
  44. DEFPUSHBUTTON "OK",IDOK,55,92,40,14
  45. PUSHBUTTON "Cancel",IDCANCEL,111,92,40,14
  46. END
  47. IDD_CREATEKEYPASSWORD DIALOG DISCARDABLE 57, 58, 227, 131
  48. STYLE DS_MODALFRAME | DS_NOIDLEMSG | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  49. WS_SYSMENU
  50. CAPTION "Create Private Key Password"
  51. FONT 8, "MS Shell Dlg"
  52. BEGIN
  53. LTEXT "Key:",-1,14,19,39,9
  54. LTEXT "xxxxxxxxxxxxxxxxxxx",IDC_KEY,81,19,124,9
  55. LTEXT "&Password:",-1,15,38,41,9
  56. EDITTEXT IDC_PASSWORD0,81,36,124,12,ES_PASSWORD | ES_AUTOHSCROLL
  57. LTEXT "&Confirm Password:",-1,14,58,61,9
  58. EDITTEXT IDC_PASSWORD1,81,56,124,12,ES_PASSWORD | ES_AUTOHSCROLL
  59. DEFPUSHBUTTON "OK",IDOK,33,111,40,14
  60. PUSHBUTTON "None",IDC_NONE,94,111,40,14
  61. PUSHBUTTON "Cancel",IDCANCEL,155,111,40,14
  62. END
  63. #ifdef APSTUDIO_INVOKED
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // TEXTINCLUDE
  67. //
  68. 1 TEXTINCLUDE DISCARDABLE
  69. BEGIN
  70. "resource.h\0"
  71. END
  72. 2 TEXTINCLUDE DISCARDABLE
  73. BEGIN
  74. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  75. "#include ""windows.h""\r\n"
  76. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  77. "#include ""pvkdlgs.h""\r\n"
  78. "\0"
  79. END
  80. 3 TEXTINCLUDE DISCARDABLE
  81. BEGIN
  82. "1 TYPELIB ""xenroll.tlb""\r\n"
  83. "\0"
  84. END
  85. #endif // APSTUDIO_INVOKED
  86. /////////////////////////////////////////////////////////////////////////////
  87. //
  88. // REGISTRY
  89. //
  90. IDR_CENROLL REGISTRY DISCARDABLE "CEnroll.rgs"
  91. /////////////////////////////////////////////////////////////////////////////
  92. //
  93. // String Table
  94. //
  95. STRINGTABLE DISCARDABLE
  96. BEGIN
  97. IDS_PROJNAME "Xenroll"
  98. IDS_NOTSAFEACTION "Potential Scripting Violation"
  99. IDS_SPC_C "%1!s!\nDo you want to create a software publisher certificate %2!s!?"
  100. IDS_SPC_O "%1!s!\nDo you want to overwrite the software publisher certificate %2!s!?"
  101. IDS_PVK_C "%1!s!\nDo you want to create a private key %2!s!?"
  102. IDS_PVK_O "%1!s!\nDo you want to overwrite the private key %2!s!?"
  103. IDS_REQ_STORE_FULL "An excessive number of certificate requests have been detected. Click Yes if you are making a certificate request to a certification authority."
  104. IDS_WITHOUTPASSWORD "Without password protection?"
  105. IDS_CONFIRMPASSWORD "Confirm password doesn't match"
  106. IDS_NOTSAFE_WRITE_FORMAT "This saves a certificate request file to your local file system as %1!s!.\nIf the certificate request is not created from a trusted source,\nthis action might compromise scripting safety. Do you want to continue?"
  107. IDS_NOTSAFE_OPEN_FORMAT "This opens %1!s!, a certificate request file.\nIf the original source of this file is not trusted,\nthis action might compromise scripting safety. Do you want to continue?"
  108. IDS_NOTSAFE_WRITE_PREFIX "Saving a file into your local system could potentially violate scripting safety."
  109. IDS_NOTSAFE_OPEN_PREFIX "Opening a file from your local system could potentially violate scripting safety."
  110. IDS_NOTSAFE_OPEN "%1!s!\nDo you want to open the file %2!s!?"
  111. IDS_CERTENROLL "Certificate Enrollment"
  112. IDS_OVERWRITE_FORMAT "%1!s! exists. Do you want to overwrite the file?"
  113. IDS_NOTSAFE_REQUESTING_CERT "This Web site is requesting a new certificate on your behalf. You should allow only trusted Web sites to request a certificate for you.\nDo you want to request a certificate now?"
  114. IDS_NOTSAFE_ACCEPTING_CERT "This Web site is adding one or more certificates to this computer. Allowing an untrusted Web site to update your certificates is a security risk. The Web site could install certificates you do not trust, which could allow programs that you do not trust to run on this computer and gain access to your data.\n\nDo you want this program to add the certificates now? Click Yes if you trust this Web site. Otherwise, click No."
  115. END
  116. #endif // English (U.S.) resources
  117. /////////////////////////////////////////////////////////////////////////////
  118. #ifndef APSTUDIO_INVOKED
  119. /////////////////////////////////////////////////////////////////////////////
  120. //
  121. // Generated from the TEXTINCLUDE 3 resource.
  122. //
  123. 1 TYPELIB "xenroll.tlb"
  124. /////////////////////////////////////////////////////////////////////////////
  125. #endif // not APSTUDIO_INVOKED
  126. #include <ntverp.h>
  127. #include "..\..\..\..\inc\cryptver.h"
  128. #define VER_FILETYPE VFT_APP
  129. #define VER_FILESUBTYPE VFT2_UNKNOWN
  130. #define VER_FILEDESCRIPTION_STR "XEnroll"
  131. #define VER_INTERNALNAME_STR "XEnroll"
  132. #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
  133. #define VER_OLESELFREGISTER
  134. #include <common.ver>
  135. #ifndef APSTUDIO_INVOKED
  136. #include "..\..\crypt32\oidinfo.rc"
  137. #endif