psm_ui.properties.in
上传用户:lyxiangda
上传日期:2007-01-12
资源大小:3042k
文件大小:205k
源码类别:

CA认证

开发平台:

WINDOWS

  1. </tr>
  2. </table>
  3. <table>
  4. <div>
  5. {choose_list choose_list_item}
  6. </div>
  7. </table>
  8. </form>
  9. </body>
  10. </html>
  11. :choose_cert_usage_main_content
  12. choose_list_item:
  13. <tr>
  14. <td></td>
  15. <td><div>
  16. <input type=radio name=selectItem value=%1$s:%6$s %5$s > {cert_select_info}
  17. </div></td>
  18. </tr>
  19. :choose_list_item
  20. choose_cert_usage_buttons_type="text/html"
  21. choose_cert_usage_buttons_hdrs=""
  22. choose_cert_usage_buttons_content:
  23. <html>
  24. <head>
  25. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  26. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  27. {disable_right_click_js}
  28. </head>
  29. <body class=foot alink="#333399" 
  30. onLoad="parent.SetHelpURL('help.htm#Choose Security Certificate')">
  31. <form method="get" action="check_for_cancel">
  32. <input type=hidden name="baseRef" value="formsubmit_dosubmit_js">
  33. <input type=hidden name=target value="%1$d">
  34. <input type=hidden name=nick value="%2$d">
  35. <input type=hidden name=formName value=choose_cert_by_usage>
  36. {buttons_only {text_ok}}
  37. </table>
  38. </form>
  39. </body>
  40. </html>
  41. :choose_cert_usage_buttons_content
  42. ldap_server_list_prefix=<select size=1 name=ldapServer>
  43. ldap_server_list_item=<option value=%1$s> %2$s 
  44. ldap_server_list_suffix=</select>
  45. ldap_request_width=500
  46. ldap_request_height=350
  47. ldap_request_type="text/html"
  48. ldap_request_hdrs=""
  49. ldap_request_content:
  50. {frame_set_pass_var ldap_request_dialog,formsubmit,emailAddresses}
  51. :ldap_request_content
  52. ldap_request_dialog_top_type="text/html"
  53. ldap_request_dialog_top_hdrs=""
  54. ldap_request_dialog_top_content:
  55. {top_frame_no_image ldap_request_dialog_title}
  56. :ldap_request_dialog_top_content
  57. ldap_request_dialog_main_type="text/html"
  58. ldap_request_dialog_main_hdrs=""
  59. ldap_request_dialog_main_content:
  60. <html>
  61. <head>
  62. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  63. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvmodalstyle">
  64. {disable_right_click_js}
  65. </head>
  66. <body class=content alink="#333399">
  67. &nbsp;
  68. <script language=javascript>
  69. function doNotSubmit()
  70. {
  71.   return false;
  72. }
  73. </script>
  74. <form method="get" action="formsubmit_handler" 
  75.       onSubmit="return doNotSubmit();"> 
  76. <input type=hidden name="formName" value="ldap_request_others">
  77. <input type=hidden name="target" value="%1$d">
  78. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  79. <table BORDER=0 CELLSPACING=0>
  80. <tr VALIGN=CENTER>
  81. <td WIDTH="10"></td>
  82. <td align=right>
  83. <p>{directory_to_search}</p></div>
  84. </td>
  85. <td>
  86. {ldap_server_list}
  87. </td>
  88. </tr>
  89. <tr VALIGN=CENTER>
  90. <td></td>
  91. <td align=right>
  92. <p>{cert_owners_email}</p>
  93. </td>
  94. <td><input type="text" name="emailaddress" size="30" value="{_emailAddresses}"></td>
  95. </tr>
  96. <tr>
  97. <td></td>
  98. <td></td>
  99. <td></td>
  100. </tr>
  101. <tr>
  102. <td COLSPAN="3">
  103. <hr SIZE=3 NOSHADE WIDTH="100%%"></td>
  104. <td COLSPAN="2"></td>
  105. <td COLSPAN="2"></td>
  106. </tr>
  107. <tr>
  108. <td></td>
  109. <td COLSPAN="2"></form>
  110. <p>
  111. {enter_email_of_person}
  112. <p>
  113. <p>
  114. {psm_will_search_for_persons_cert}
  115. </p></td>
  116. <td></td>
  117. </tr>
  118. </table>
  119. </body>
  120. </html>
  121. :ldap_request_dialog_main_content
  122. ldap_request_dialog_buttons_type="text/html"
  123. ldap_request_dialog_buttons_hdrs=""
  124. ldap_request_dialog_buttons_content:
  125. <html>
  126. <head>
  127. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  128. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  129. {disable_right_click_js}
  130. </head>
  131. <body class=foot alink="#333399" 
  132. onLoad="parent.SetHelpURL('help.htm#1031501')">
  133. <script language=javascript>
  134. <!--
  135. {pop_up_alert}
  136. var cancel = false;
  137. function beforeSubmit()
  138. {
  139.    var input = window.parent.DialogContent.document.forms[0].emailaddress.value;
  140.    if (cancel == true) {
  141.      return true;
  142.    }
  143.    if (input == "") {
  144.      PopUpAlert('{must_supply_valid_email}');
  145.      return false;
  146.    }
  147. //   if (!input.match(/^(\w+)@((\w+)\.)+(\w+)$/)) {
  148. //     PopUpAlert('"' + input + '" is not a valid email address!');
  149. //     window.parent.DialogContent.document.forms[0].emailaddress.value="";
  150. //     return false;
  151. //   }
  152.    
  153.    return true;
  154. }
  155. function setEmailAddr() 
  156. {
  157.   var main = window.parent.DialogContent.document.forms[0];
  158.  document.forms[0].emailaddress.value = main.emailaddress.value;
  159.  document.forms[0].ldapServer.value = main.ldapServer[main.ldapServer.selectedIndex].value;
  160. }
  161. //-->
  162. </script>
  163. <form method="get" action="ldap_request_others" onSubmit="return beforeSubmit();">
  164. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  165. <input type=hidden name=target value="%1$d">
  166. <input type=hidden name=formName value="ldap_request_others">
  167. <div align=right>
  168. <table border=0 cellspacing=0 cellpadding=0 height=100%%>
  169. <tr align=right valign=center>
  170. <td width=50%%>
  171. <div class=buttonspace>
  172. <input type="submit" name="do_ok" value="{text_ok}" width="72" 
  173.        onClick="setEmailAddr()">
  174. <input type="hidden" name="emailaddress" >
  175. <input type="hidden" name="ldapServer"   >
  176. </div>
  177. </td>
  178. <td>
  179. <div class=buttonspace>
  180. <input type="submit" name="do_cancel" value="{text_cancel}" width="72" 
  181.        onClick="cancel=true;">
  182. </div>
  183. </td>
  184. <td width=30%%>
  185. <div class=BUTTONSPACE>
  186. <input type="button" name="do_help" value="{text_help}" width="72" 
  187. onClick="parent.OpenHelp()">
  188. </div>
  189. </td>
  190. </tr>
  191. </table>
  192. </div>
  193. </form>
  194. </body>
  195. </html>
  196. :ldap_request_dialog_buttons_content
  197. cert_edit_type="text/html"
  198. cert_edit_hdrs=""
  199. cert_edit_content:
  200. {frame_set cert_edit_trust,formsubmit}
  201. :cert_edit_content
  202. cert_edit_trust_top_type="text/html"
  203. cert_edit_trust_top_hdrs=""
  204. cert_edit_trust_top_content:
  205. {top_frame_no_image edit_cert_title}
  206. :cert_edit_trust_top_content
  207. ; Take out verify cert from the Edit box to save space.
  208. ;
  209. ;<table>
  210. ;<td width="10"></td>
  211. ;<tr></tr>
  212. ;<tr>
  213. ;<td>
  214. ;{verify_cert cert_usage_wrapper}
  215. ;</td>
  216. ;</tr>
  217. ;</table>
  218. cert_edit_trust_main_type="text/html"
  219. cert_edit_trust_main_hdrs=""
  220. cert_edit_trust_main_content:
  221. <html>
  222. <head>
  223. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  224. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  225. {disable_right_click_js}
  226. </head>
  227. <body bgcolor=white>
  228. {formsubmit document.forms[0]}
  229. <form method="get" action="formsubmit_handler" name="edit_cert">
  230. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  231. <input type=hidden name="target" value="%1$d">
  232. {edit_cert}
  233. </form>
  234. </body>
  235. </html>
  236. :cert_edit_trust_main_content
  237. cert_edit_trust_buttons_type="text/html"
  238. cert_edit_trust_buttons_hdrs=""
  239. cert_edit_trust_buttons_content:
  240. <html>
  241. <head>
  242. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  243. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  244. {disable_right_click_js}
  245. </head>
  246. <body class=foot alink="#333399" >
  247. <form method="get" action="check_for_cancel_and_free_target">
  248. <input type=hidden name="baseRef" value="formsubmit_dosubmit_js">
  249. <input type=hidden name="target" value="%1$d">
  250. <input type=hidden name="formName" value="cert_edit">
  251. {buttons_only {text_ok}}
  252. </form>
  253. </body>
  254. </html>
  255. :cert_edit_trust_buttons_content
  256. edit_cert_authority:
  257. <script language=javascript>
  258. parent.SetHelpURL('help.htm#%5$s');
  259. </script>
  260. <table cellspacing=0 cellpadding=0 >
  261. <tr>
  262. <td width="10"></td>
  263. <td>
  264. <table border=0 cellspacing=0>
  265. <tr>
  266. <td>
  267. <p> {this_certificate} </p>
  268. </td>
  269. <td></td>
  270. </tr>
  271. <tr>
  272. <td>
  273. <p><strong> %4$s </strong></p>
  274. </td>
  275. <td> &nbsp;</td>
  276. </tr>
  277. <tr> 
  278. <td colspan="3">
  279. <p>{rep_for_ca}</p>
  280. </td>
  281. <td>&nbsp;</td>
  282. </tr>
  283. </table>
  284. &nbsp;
  285. <table border=0 cellspacing=0> 
  286. <tr>
  287. <td colspan=3>
  288. <p>{edit_trust_settings}</p>
  289. </td>
  290. </tr>
  291. <td>
  292. <input type="checkbox" name="networksite" value="networksite" %1$s >
  293. </td>
  294. <td>
  295. <p>{cert_idents_web_sites}</p>
  296. </td>
  297. </tr>
  298. <tr align=top><td>
  299. <input type="checkbox" name="emailuser" value="emailuser" %2$s ></td>
  300. <td>
  301. <p>{cert_idents_mail_user}</p>
  302. </td>
  303. </tr>
  304. <tr align=top><td>
  305. <input type="checkbox" name="software" value="software" %3$s ></td>
  306. <td>
  307. <p>{cert_idents_sftwr_makers}</p>
  308. </td>
  309. </tr>
  310. </table>
  311. <hr size=3 noshade></td>
  312. </tr>
  313. <td></td>
  314. <td><p class=bold>
  315. {help_for_ca_trust_settings}
  316. </p>
  317. </td>
  318. </tr>
  319. </table>
  320. :edit_cert_authority
  321. edit_cert_website:
  322. <script language=javascript>
  323. parent.SetHelpURL('help.htm#%6$s');
  324. </script>
  325. <table cellspacing=0 cellpadding=0 border=0>
  326. <tr>
  327. <td width="10"></td>
  328. <td>
  329. <table border=0 cellspacing=0 cellpadding=0>
  330. <tr>
  331. <td colspan=3>
  332. <p class=bold> {cert_issued_by}
  333. </p>
  334. </td>
  335. </tr>
  336. </table>
  337. {trust_options_list}
  338. &nbsp;
  339. {edit_trust_issuing_ca}
  340. </td>
  341. </tr>
  342. </table>
  343. :edit_cert_website
  344. edit_trust_issuing_ca:
  345. <script language=javascript>
  346. <!-- 
  347. {pop_up_alert}
  348. function editTrustCA()
  349. {
  350.   var target = document.forms[0].target.value;
  351.   var url='cert?baseRef=cert_action&action=cert_edit&target='+target;
  352.   var nick='%3$s';
  353.   url = url + '&formName=edit_cert&nick='+nick;
  354.   var size = 'width=520,height=350,status=no,toolbar=no,menubar=no,screenX=100,screenY=100';
  355.   if (nick == 'NotInTheDatabase')
  356.      PopUpAlert('{issuer_cert_not_in_db}');
  357.   else 
  358.      window.open(url, 'popup', size);
  359. }
  360. //-->
  361. </script>
  362. <div class=plainbox>
  363. <table border=0 cellspacing=0 cellpadding=0>
  364. <td colspan=2><div>
  365. <input type=button name=edittrustca value='{text_edit_dots}' size='72' onClick='editTrustCA()'>
  366. </div></td>
  367. <td width=10></td>
  368. <td>
  369. <p>{edit_ca_trust}</p>
  370. </td>
  371. </tr>
  372. </table>
  373. </div>
  374. :edit_trust_issuing_ca
  375. trust_options_list:
  376. <table>
  377. <tr>
  378. <td colspan=3>
  379. <div class=plain><p>
  380. {trusted_issuer_explanation}
  381. </p> </div>
  382. </td>
  383. </tr>
  384. <tr></tr>
  385. </table>
  386. <div class=plainbox>
  387. <table border=0 cellspacing=1 cellpadding=0>
  388. <tr> 
  389. <td colspan=3>
  390. <p>{edit_cert_trust}</p>
  391. </td>
  392. </tr>
  393. <tr>
  394. <td>
  395. <input type='radio' name='trustoption' value='trust' %4$s > </td>
  396. <td> <p>{trust_this_cert}</p></td>
  397. </tr>
  398. <tr>
  399. <td><input type='radio' name='trustoption' value='donottrust' %5$s > </td>
  400. <td> <p>{dont_trust_this_cert}</p></td>
  401. </tr>
  402. <tr>
  403. <td></td>
  404. <td></td>
  405. </tr>
  406. </table>
  407. </div>
  408. :trust_options_list
  409. edit_cert_others:
  410. <script language=javascript>
  411. parent.SetHelpURL('help.htm#%6$s');
  412. </script>
  413. <table cellspacing=1 cellpadding=0 border=0>
  414. <tr>
  415. <td width=10></td>
  416. <td>
  417. <table border=0 cellspacing=5 cellpadding=0>
  418. <tr>
  419. <td colspan=3>
  420. <p class=bold>{this_cert_issued_by}
  421. </p>
  422. </td>
  423. </tr>
  424. </table>
  425. {trust_options_list}
  426. &nbsp;
  427. {edit_trust_issuing_ca}
  428. </td>
  429. </tr>
  430. </table>
  431. :edit_cert_others
  432. ;
  433. ; Since UIEvent is called for cert_action need to set these
  434. ;
  435. cert_action_width=520
  436. cert_action_height=350
  437. cert_view_width=520
  438. cert_view_height=350
  439. cert_view_type="text/html"
  440. cert_view_hdrs=""
  441. cert_view_content:
  442. {frame_set_pass_var cert_view_detail,windowclose,windowOffset}
  443. :cert_view_content
  444. cert_view_detail_top_type="text/html"
  445. cert_view_detail_top_hdrs=""
  446. cert_view_detail_top_content:
  447. {top_frame_no_image view_cert_title}
  448. :cert_view_detail_top_content
  449. showIssuerAndContents:
  450. <script language=javascript>
  451. <!---
  452. var uniqueName = '{_certIssuerWindowName}';
  453. function openIssuerWindow()
  454. {
  455.   var offset = {_windowOffset};
  456.   var issuer = window.open('showIssuer?target=%1$d&windowOffset='+offset, uniqueName,'width=520,height=350,status=no,toolbar=no,menubar=no,screenX=100,screenY=100');
  457.   issuer.moveBy(offset,offset);
  458. }
  459. function showCertContents()
  460. {
  461.    window.open('get?baseRef=certPrettyPrint&target=%1$d', 'dump'+uniqueName,'width=760,height=625,scrollbars=yes,resizable=yes,toolbar=no,menubar=no');
  462. }
  463. //-->
  464. </script>
  465. :showIssuerAndContents
  466. cert_view_detail_main_type="text/html"
  467. cert_view_detail_main_hdrs=""
  468. cert_view_detail_main_content:
  469. <html>
  470. <head>
  471. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  472. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  473. {disable_right_click_js}
  474. {showIssuerAndContents}
  475. </head>
  476. <body class=CONTENT onLoad="parent.SetHelpURL('help.htm#1049021')">
  477. <p>
  478. <table WIDTH="100%%">
  479. <tr>
  480. <td align=right><div><a href="javascript:showCertContents();">
  481. {show_more_cert_info}
  482. </a></div></td>
  483. </tr>
  484. <tr>
  485. <td><div>
  486. {verify_cert cert_usage_wrapper}
  487. </div></td>
  488. </tr>
  489. </table>
  490. <table CELLSPACING=0 CELLPADDING=0 WIDTH="100%%" >
  491. <tr>
  492. <td WIDTH="10"></td>
  493. <td>
  494. <table BORDER=0 CELLSPACING=0 >
  495. <tr>
  496. <td colspan="3"> &nbsp;
  497. <div>
  498. {view_cert_info pretty,view_cert_wrapper,view_cert_wrapper_no_comment}
  499. </table>
  500. </tr>
  501. </body>
  502. </html>
  503. :cert_view_detail_main_content
  504. cert_view_detail_buttons_type="text/html"
  505. cert_view_detail_buttons_hdrs=""
  506. cert_view_detail_buttons_content:
  507. <html>
  508. <head>
  509. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  510. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  511. {disable_right_click_js}
  512. </head>
  513. <body bgcolor="#CCCCCC" link="#6666CC" vlink="#6666CC" alink="#333399">
  514. <form method="get" action="get">
  515. <input type=hidden name="baseRef" value="free_target_page">
  516. <div align=right>
  517. <table border=0 cellspacing=0 cellpadding=0 height=100%%>
  518. <tr align=right valign=center>
  519. <td width=50%%>
  520. <div class=buttonspace>
  521. <input type="submit" name="do_ok" value="{text_ok}" width="72">
  522. </div>
  523. </td>
  524. <td width=30%%>
  525. <div class=BUTTONSPACE>
  526. <input type="button" name="do_help" value="{text_help}" width="72" 
  527. onClick="parent.OpenHelp()">
  528. </div>
  529. </td>
  530. </tr>
  531. </table>
  532. </div>
  533. </form>
  534. </body>
  535. </html>
  536. :cert_view_detail_buttons_content
  537. delete_cert_type="text/html"
  538. delete_cert_height=350
  539. delete_cert_width=520
  540. delete_cert_hdrs=""
  541. delete_cert_content:
  542. {frame_set delete_cert_perm,windowclose}
  543. :delete_cert_content
  544. delete_cert_perm_top_type="text/html"
  545. delete_cert_perm_top_hdrs=""
  546. delete_cert_perm_top_content:
  547. {top_frame_no_image delete_cert_title}
  548. :delete_cert_perm_top_content
  549. delete_cert_perm_main_type="text/html"
  550. delete_cert_perm_main_hdrs=""
  551. delete_cert_perm_main_content:
  552. <html>
  553. <head>
  554. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  555. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  556. {disable_right_click_js}
  557. {showIssuerAndContents}
  558. </head>
  559. <body bgcolor="#FFFFFF" link="#6666CC" vlink="#6666CC" alink="#333399" 
  560. onLoad="parent.SetHelpURL('help.htm#{delete_cert_help}')">
  561. <table CELLSPACING=0 CELLPADDING=0 WIDTH="100%%" >
  562. <tr>
  563. <td WIDTH="10"></td>
  564. <td>
  565. <table BORDER=0 CELLSPACING=0 >
  566. <tr>
  567. <td colspan="3">&nbsp;
  568. <div class=bold>{delete_cert_question}<br>&nbsp;</div>
  569. {view_cert_info pretty,view_cert_wrapper,view_cert_wrapper_no_comment}
  570. </td>
  571. </tr>
  572. </table>
  573. <hr size=3 noshade>
  574. <p><b>{delete_cert_warning}</b></p>
  575. </body>
  576. </html>
  577. :delete_cert_perm_main_content
  578. delete_cert_perm_buttons_type="text/html"
  579. delete_cert_perm_buttons_hdrs=""
  580. delete_cert_perm_buttons_content:
  581. <html>
  582. <head>
  583. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  584. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  585. {disable_right_click_js}
  586. </head>
  587. <body class=foot alink="#333399">
  588. <form method="get" action="delete_certificate">
  589. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  590. <input type=hidden name="target" value="%1$d">
  591. {buttons_only {text_delete}}
  592. </form>
  593. </body>
  594. </html>
  595. :delete_cert_perm_buttons_content
  596. ;
  597. ; Set password dialog 
  598. ;
  599. set_password_width=500
  600. set_password_height=450
  601. set_password_type="text/html"
  602. set_password_hdrs=""
  603. set_password_content:
  604. {frame_set_param set_token_password,formsubmit}
  605. :set_password_content
  606. set_token_password_top_type="text/html"
  607. set_token_password_top_hdrs=""
  608. set_token_password_top_content:
  609. {top_frame_no_image set_token_password_title}
  610. :set_token_password_top_content
  611. set_token_password_main_type="text/html"
  612. set_token_password_main_hdrs=""
  613. set_token_password_main_content:
  614. <html>
  615. <head>
  616. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  617. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvmodalstyle">
  618. {disable_right_click_js}
  619. </head>
  620. <body class=content alink="#333399">
  621. {formsubmit document.forms[0]}
  622. <div>
  623. <form method="get" action="formsubmit_handler">
  624. <input type=hidden name="formName" value="set_db_password">
  625. <input type=hidden name="target" value="%1$d">
  626. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  627. <table CELLSPACING=0 CELLPADDING=0 WIDTH="100%%" >
  628. <td WIDTH="10"></td>
  629. <tr>
  630. <td>&nbsp;
  631. <table BORDER=0 CELLSPACING=5 >
  632. <tr>
  633. <td COLSPAN="3"><div>
  634. {set_or_reset_password}
  635. <tr VALIGN=CENTER>
  636. <td align=right>
  637. <p>{new_passwd}
  638. </p>
  639. </div></td>
  640. <td></td>
  641. <td><div><input type="password"  NAME="newpassword"  SIZE="16"></div></td>
  642. </tr>
  643. <tr VALIGN=CENTER>
  644. <td align=right><p>
  645. {new_passwd_again}
  646. </p></td>
  647. <td></td>
  648. <td><div><input type="password" NAME="repeatpassword" SIZE="16"></div></td>
  649. </tr>
  650. </table>
  651. <spacer type="vertical" size="12"></td>
  652. <td></td>
  653. </tr>
  654. </table>
  655. </td>
  656. </tr>
  657. </table>
  658. {password_lifetime_pref}
  659. <p class=alert>
  660. {new_passwd_warning}
  661. </p></td>
  662. </form>
  663. </div>
  664. </body>
  665. </html>
  666. :set_token_password_main_content
  667. curr_slot_name:
  668. <script language=javascript>
  669. document.write(document.forms[0].slot.value);
  670. </script>
  671. :curr_slot_name
  672. password_lifetime:
  673. <div class=plainbox>
  674. <table border=0 cellspacing=2 cellpadding=0 width=100%%%%>
  675. <tr valign=center>
  676. <td></td>
  677. <td colspan="3">
  678. <p>{require_passwd}</p>
  679. </td>
  680. </tr>
  681. <tr valign=center>
  682. <td></td>
  683. <td><input type="radio" name="passwordlife" value="firsttime" %1$s></td>
  684. <td>
  685. <p>{first_time_cert_requested}</p>
  686. </td>
  687. </tr>
  688. <tr valign=center>
  689. <td></td>
  690. <td>
  691. <p><input type="radio" name="passwordlife" value="everytime" %2$s></p></td>
  692. <td>
  693. <p>{every_time_cert_requested}
  694. </td>
  695. </tr>
  696. <tr valign=center>
  697. <td></td>
  698. <td><input type="radio" name="passwordlife" value="expiretime" %3$s></td>
  699. <td><div class=plain>
  700. {passwd_timeout_entry}
  701. </div>
  702. </td>
  703. </tr>
  704. </table>
  705. </div>
  706. </td>
  707. <td></td>
  708. </tr>
  709. :password_lifetime
  710. select_slot_password_head=&nbsp;{please_select_token} <select name=slotname size=1>
  711. select_slot_password_item=<!---unused %1$d %2$d %3$d---><option value="%4$s">%4$s
  712. select_slot_password_end=</select>
  713. internal_slot_only=<input type=hidden name=slotname value="%1$s">
  714. set_new_password:
  715. <input type=hidden name="slot" value="%1$s">
  716. <div>
  717. {choose_password_to_prevent_access}
  718. </div>
  719. <table BORDER=0 CELLSPACING=0 WIDTH="100%%%%" >
  720. :set_new_password
  721. reset_password:
  722. <input type=hidden name="slot" value="%1$s">
  723. <p>
  724. {change_passwd}
  725. </p>
  726. <table BORDER=0 CELLSPACING=0 WIDTH="100%%%%" >
  727. <tr VALIGN=CENTER>
  728. <td align=right>
  729. <p>{old_passwd}
  730. </p>
  731. </td>
  732. <td></td>
  733. <td><div><input type="password"  NAME="oldpassword"  SIZE="16"></div></td>
  734. </tr>
  735. <tr>
  736. <td COLSPAN="3">
  737. </tr>
  738. :reset_password
  739. set_token_password_buttons_type="text/html"
  740. set_token_password_buttons_hdrs=""
  741. set_token_password_buttons_content:
  742. <html>
  743. <head>
  744. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  745. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  746. {disable_right_click_js}
  747. </head>
  748. <body class=foot alink="#333399" 
  749. onLoad="parent.SetHelpURL('help.htm#1051739')">
  750. <script language=javascript>
  751. {pop_up_alert}
  752. function resetForm(f)
  753. {
  754.   if (f.oldpassword) {
  755.     f.oldpassword.focus();
  756.   } else {
  757.     f.newpassword.focus();
  758.   }
  759.   f.reset();
  760. }
  761. function checknewpasswordfield()
  762. {
  763.   var passwordform = window.parent.DialogContent.document.forms[0];
  764.   if (doCancel) {
  765.     return true;
  766.   }
  767.   if (passwordform.oldpassword && passwordform.oldpassword.value == '') {
  768.     PopUpAlert('{supply_current_password}');
  769.     resetForm(passwordform);
  770.     return false;
  771.   }
  772.   if (passwordform.newpassword.value != 
  773.     passwordform.repeatpassword.value) {
  774.     PopUpAlert('{invalid_new_password}');
  775.     resetForm(passwordform);
  776.     return false;
  777.   }
  778.   return true;
  779. }
  780. </script>
  781. <form method="get" action="check_for_cancel" onSubmit="return (checknewpasswordfield())">
  782. <input type=hidden name="baseRef" value="formsubmit_dosubmit_js">
  783. <input type=hidden name=target value="%1$d">
  784. <input type=hidden name=formName value="set_db_password">
  785. {buttons_only {text_ok}}
  786. </form>
  787. </body>
  788. </html>
  789. :set_token_password_buttons_content
  790. show_followup_width=450
  791. show_followup_height=90
  792. show_followup_type="text/html"
  793. show_followup_hdrs=""
  794. show_followup_content:
  795. <html>
  796.   <head>
  797.     <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  798.     <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  799. {disable_right_click_js}
  800.   </head>
  801.   <body>
  802.     <center>
  803.       <div>{show_result}</div>
  804.     <form method=get action=get>
  805.         <div><input type="button" name="do_ok" value="{text_ok}" width="72"
  806.    onClick="window.close();"></div>
  807.         <input type=hidden name="baseRef" value="windowclose_doclose_js">
  808.         <input type=hidden name="target" value="%1$d">
  809.         <input type=hidden name="result" value="%2$s">
  810.     </form>
  811.     </center>
  812.   </body>
  813. </html>
  814. :show_followup_content
  815. ;
  816. ; warning dialog that comes up when RA tries to 
  817. ; escrow the private key.
  818. ;
  819. escrow_warning_type="text/html"
  820. escrow_warning_hdrs=""
  821. escrow_warning_width=520
  822. escrow_warning_height=350
  823. escrow_warning_content:
  824. <html>
  825. <head>
  826. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  827. <title></title>
  828. {disable_right_click_js}
  829. {help_monitor_js}
  830. {windowclose_monitor_js}
  831. <frameset rows="50,*,40" border="0" frameborder="NO">
  832. <frame src=get?baseRef=escrow_top&target=%1$d name="StandTop" scrolling="NO" marginwidth="0" marginheight="0">
  833. <frame src=get?baseRef=escrow_main&target=%1$d name="StandContent" scrolling="Auto" marginwidth="0" marginheight="0">
  834. <frame src=get?baseRef=escrow_bottom&target=%1$d name="StandFoot" scrolling="NO" marginwidth="0" marginheight="0">
  835. </frameset>
  836. </head>
  837. </html>
  838. :escrow_warning_content
  839. escrow_top_type="text/html"
  840. escrow_top_hdrs=""
  841. escrow_top_content:
  842. <html>
  843. <head>
  844. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  845. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  846. {disable_right_click_js}
  847. </head>
  848. <body CLASS=TOP alink="#333399">
  849. <table>
  850. <tr ALIGN="LEFT" VALIGN="TOP">
  851. <!--- <td><img src="get?baseRef=alert1gif" width="35" height="30"></td> --->
  852. <td><H1>{encryption_key_copy}</H1></td>
  853. </tr>
  854. </table>
  855. </body>
  856. </html>
  857. :escrow_top_content
  858. escrow_main_type="text/html"
  859. escrow_main_hdrs=""
  860. escrow_main_content:
  861. <html>
  862. <head>
  863. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  864. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  865. {disable_right_click_js}
  866. </head>
  867. <body class=content>
  868. <!---- unused %1$d  %2$s------>
  869. <p class=alert>
  870. {escrow_alert}
  871. </p>
  872. <BLOCKQUOTE>
  873. {escrow_benefit1}
  874. </BLOCKQUOTE>
  875. <BLOCKQUOTE>
  876. {escrow_alert2}
  877. </BLOCKQUOTE>
  878. <P class=alert>
  879. {only_click_ok_if_trust_for_escrow}
  880. </p>
  881. </form>
  882. </body>
  883. </html>
  884. :escrow_main_content
  885. ok_cancel_content:
  886. <form method="get" action="{$3}" name="ok_cancel_handler_form">
  887. <input type=hidden name="target" value="%1$d">
  888. <input type=hidden name="baseRef" value="{$2}">
  889. <div align=right>
  890. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 HEIGHT="100%%" >
  891. <tr ALIGN=RIGHT VALIGN=CENTER>    
  892. <td width=50%%>
  893. <div class=BUTTONSPACE>
  894. <input type="submit" name="OK" value="{text_ok}" width="72">
  895. </div>
  896. </td>
  897. <td>
  898. <div class=BUTTONSPACE>
  899. <input type="submit" name="Cancel" value="{text_cancel}" width="72">
  900. </div>
  901. <input type="hidden" name="formName" value="{$1}">
  902. </td>
  903. :ok_cancel_content
  904. ok_cancel:
  905. {ok_cancel_content {$1},{$2},{$3}}
  906. </tr>
  907. </table>
  908. </div>
  909. </form>
  910. :ok_cancel
  911. ok_cancel_help:
  912. {ok_cancel_content {$1},{$2},{$3}}
  913. <td width=30%%>
  914. <div class=BUTTONSPACE>
  915. <input CLASS=BUTTON type="button" name="Help" value="{text_help}" width="72" 
  916.    onClick="parent.OpenHelp()">
  917. </div>
  918. </td>
  919. </tr>
  920. </table>
  921. </div>
  922. </form>
  923. :ok_cancel_help
  924. escrow_bottom_type="text/html"
  925. escrow_bottom_hdrs=""
  926. escrow_bottom_content:
  927. <html>
  928. <head>
  929. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  930. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  931. {disable_right_click_js}
  932. </head>
  933. <body bgcolor="#CCCCCC"alink="#333399" 
  934.       onLoad="parent.SetHelpURL('help.htm#1036310')">
  935. {ok_cancel_help escrow_warning,windowclose_doclose_js,ok_cancel_handler}
  936. </body>
  937. </html>
  938. :escrow_bottom_content
  939. pop_up_alert:
  940. function PopUpAlert(s)
  941. {
  942.     if (typeof(crypto) == "undefined" || typeof(crypto.alert) == "undefined") {
  943.         alert(s);
  944.     } else {
  945.         crypto.alert(s);
  946.     }
  947. }
  948. :pop_up_alert
  949. ;
  950. ;
  951. ; Select token dialog text 
  952. ;
  953. select_token_type=text/html
  954. select_token_width=400
  955. select_token_height=300
  956. select_token_content={frame_set_param kgtoken,formsubmit}
  957. kgtoken_top_type=text/html
  958. kgtoken_top_content={top_frame kgtoken_header,lockedgif,30,30}
  959. kgtoken_buttons_type=text/html
  960. kgtoken_buttons_content:
  961. {formsubmit_buttons_frame tokenSelect,help.htm#1035650}
  962. :kgtoken_buttons_content
  963. kgtoken_main_type=text/html
  964. kgtoken_main_content:
  965. <html>
  966. {formsubmit document.forms[0]}
  967. <head>
  968. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  969. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  970. {disable_right_click_js}
  971. </head>
  972. <body class=CONTENT>
  973. <form method=get action="tokenSelect" name="tokenSelectForm">
  974. <p>
  975. {psm_detects_mult_slots}
  976. </P>
  977. <p>
  978. {select_slot_to_use}
  979. </p>
  980. <div class=indent>
  981. <select name="token">
  982. {tokenList kgtoken_popup_wrapper}
  983. </select>
  984. </div>
  985. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  986. <input type=hidden name="target" value="%1$d">
  987. </form>
  988. </body>
  989. </html>
  990. :kgtoken_main_content
  991. kgtoken_popup_wrapper=<!---- unused %1$d -----><option value='%3$d+%2$d'>%4$s
  992. ;select_token_bogus_content:
  993. ;<html>
  994. ;<head>
  995. ;<meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  996. ;<title>{select_token_title}</title>
  997. ;</head>
  998. ;<frameset rows="50, *, 40" border="0" frameborder="NO">
  999. ;<frame src="get?baseRef=tokenSelectTop" name="TokenSelectTop" scrolling="No" marginwidth="0" marginheight="0">
  1000. ;<frame src="get?baseRef=tokenSelectContent" name="TokenSelectContent" scrolling="No" marginwidth="0" marginheight="0">
  1001. ;<frame src="get?baseRef=tokenSelectButtons" name="buttons" scrolling="No" marginwidth="0" marginheight="0">
  1002. ;</frameset>
  1003. ;:select_token_bogus_content
  1004. ;
  1005. ;; top frame of the page
  1006. ;tokenSelectTop_type=text/html
  1007. ;tokenSelectTop_content:
  1008. ;<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  1009. ;<html>
  1010. ;<head>
  1011. ;<meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1012. ;<SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1013. ;</head>
  1014. ;{formsubmit document.forms[0]}
  1015. ;<body class=top alink="#333399">
  1016. ;<table>
  1017. ;<tr align="left" valign="top"><
  1018. ;<td></td>
  1019. ;<td><h1>{choose_security_token}</h1><td>
  1020. ;</tr>
  1021. ;</table>
  1022. ;</body>
  1023. ;</html>
  1024. ;:tokenSelectTop_content
  1025. ;
  1026. ;; middle frame of the page
  1027. ;tokenSelectContent_type=text/html
  1028. ;tokenSelectContent_content:
  1029. ;<html>
  1030. ;<head>
  1031. ;<meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1032. ;<SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1033. ;</head>
  1034. ;<body class=CONTENT>
  1035. ;<form method=get action=tokenSelect name="tokenSelectForm">
  1036. ;<p>Netscape
  1037. ;Personal Security Manager has detected multiple Security
  1038. ;Tokens installed on your
  1039. ;computer.</P>
  1040. ;<p>Please
  1041. ;choose the Security Token which Netscape Personal Security Manager should use.</p>
  1042. ;<div class=indent>
  1043. ;<select name="token">{tokenList tokenListPopupWrapper}</select>
  1044. ;</div>
  1045. ;<input type=hidden name="baseRef" value="windowclose_doclose_js">
  1046. ;<input type=hidden name="target" value="%1$d">
  1047. ;</form>
  1048. ;</body>
  1049. ;</html>
  1050. ;:tokenSelectContent_content
  1051. ;tokenListPopupWrapper=<option>%1$d
  1052. ;
  1053. ;tokenSelectButtons_content:
  1054. ;<html>
  1055. ;<head>
  1056. ;<meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1057. ;<SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1058. ;</head>
  1059. ;<body onLoad="">
  1060. ;<!-- hook up selectToken_help target -->
  1061. ;{ok_cancel_help tokenSelectForm,formsubmit_dosubmit_js,ok_cancel_handler}
  1062. ;</body>
  1063. ;</html>
  1064. ;:tokenSelectButtons_content
  1065. ;
  1066. ; can't import certificate into the DB because it's already exists
  1067. ; top level frame set
  1068. ;
  1069. cert_already_exists_type="text/html"
  1070. cert_already_exists_hdrs=""
  1071. cert_already_exists_width=520
  1072. cert_already_exists_height=350
  1073. cert_already_exists_content:
  1074. {frame_set cert_exists,windowclose}
  1075. :cert_already_exists_content
  1076. ;
  1077. ; can't import certificate into the DB because it's already exists
  1078. ; top frame
  1079. ;
  1080. cert_exists_top_type="text/html"
  1081. cert_exists_top_hdrs=""
  1082. cert_exists_top_content:
  1083. {top_frame cert_cannot_import_in_db,alert1gif,35,30}
  1084. :cert_exists_top_content
  1085. ;
  1086. ; can't import certificate into the DB because it's already exists
  1087. ; middle frame
  1088. ;
  1089. cert_exists_main_type="text/html"
  1090. cert_exists_main_hdrs=""
  1091. cert_exists_main_content:
  1092. <html>
  1093. <head>
  1094. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1095. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1096. {disable_right_click_js}
  1097. </head>
  1098. <body class=content alink="#FF0000">
  1099. <br>
  1100. <p>
  1101. {cert_already_exists_in_db_string}
  1102. </p>
  1103. </body>
  1104. </html>
  1105. :cert_exists_main_content
  1106. ;
  1107. ; can't import certificate into the DB because it's already exists
  1108. ; buttons frame
  1109. ;
  1110. cert_exists_buttons_type="text/html"
  1111. cert_exists_buttons_hdrs=""
  1112. cert_exists_buttons_content:
  1113. {windowclose_buttons_frame OKButton,help.htm}
  1114. :cert_exists_buttons_content
  1115. ; Import CA certificate dialog box 1, 
  1116. ; top level frame set
  1117. ;
  1118. import_ca_cert1_type="text/html"
  1119. import_ca_cert1_hdrs=""
  1120. import_ca_cert1_width=520
  1121. import_ca_cert1_height=350
  1122. import_ca_cert1_content:
  1123. {frame_set_param import_ca_cert_oldstyle1,windowclose}
  1124. :import_ca_cert1_content
  1125. ;
  1126. ; Import CA certificate dialog box 1, 
  1127. ; top frame
  1128. ;
  1129. import_ca_cert_oldstyle1_top_type="text/html"
  1130. import_ca_cert_oldstyle1_top_hdrs=""
  1131. import_ca_cert_oldstyle1_top_content:
  1132. {top_frame import_ca_cert_title1, alert1gif,35,35}
  1133. :import_ca_cert_oldstyle1_top_content
  1134. ;
  1135. ; Import CA certificate dialog box 1,
  1136. ; middle frame
  1137. ;
  1138. import_ca_cert_oldstyle1_main_type="text/html"
  1139. import_ca_cert_oldstyle1_main_hdrs=""
  1140. import_ca_cert_oldstyle1_main_content:
  1141. <html>
  1142. <head>
  1143. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1144. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1145. {disable_right_click_js}
  1146. </head>
  1147. <body class=content>
  1148. <form>
  1149. <input type=hidden name="target" value="%1$d">
  1150. <input type=hidden name="certres" value="%2$s">
  1151. <input type=hidden name="nickname" value="%3$s">
  1152. <P>
  1153. {import_ca_cert_text1}
  1154. <p>
  1155. {import_ca_cert_text2}
  1156. <p>
  1157. {import_ca_cert_text3}
  1158. </P>
  1159. <div class=Plainbox>
  1160. <TABLE>
  1161. <TR valign=top>
  1162. <TD><div>
  1163. <input type="button" value={text_view} width="105" 
  1164. onClick="window.open('get?baseRef=ca_cert_view&target=%1$d&certres=%2$s&bogus=bogus',
  1165. 'popup','width=520,height=350,status=no,toolbar=no,menubar=no,screenX=100,screenY=100')">
  1166. </div></TD>
  1167. <TD>
  1168. <P>{ca_cert_here_string}</P>
  1169. </TD>
  1170. </TR>
  1171. <TR valign=top>
  1172. <TD><div>
  1173. <input type="button" value={text_policy} width="105"
  1174. onClick="window.open('get?baseRef=ca_policy_view&target=%1$d&certres=%2$s&bogus=bogus','popup',
  1175. 'width=520,height=350,status=no,toolbar=no,menubar=no,screenX=100,screenY=100')
  1176. ">
  1177. </div></TD>
  1178. <TD>
  1179. <P>{policy_ca_cert_doc_here_string}
  1180. </P>
  1181. </TD>
  1182. </TR>
  1183. </TABLE>
  1184. </div>
  1185. <form>
  1186. </body>
  1187. </html>
  1188. :import_ca_cert_oldstyle1_main_content
  1189. ;
  1190. ; Import CA certificate dialog box 1,
  1191. ; buttons frame
  1192. ;
  1193. import_ca_cert_oldstyle1_buttons_type="text/html"
  1194. import_ca_cert_oldstyle1_buttons_hdrs=""
  1195. import_ca_cert_oldstyle1_buttons_content:
  1196. <html>
  1197. <head>
  1198. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1199. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  1200. {disable_right_click_js}
  1201. </head>
  1202. <body class=foot alink="#333399" 
  1203. onLoad="parent.SetHelpURL('help.htm#1036401')">
  1204. <form method="get" action="importCACert1">
  1205. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  1206. <input type=hidden name="target" value="%1$d">
  1207. {buttons_only {text_next}}
  1208. </form>
  1209. </body>
  1210. </html>
  1211. :import_ca_cert_oldstyle1_buttons_content
  1212. ;
  1213. ; Import CA certificate dialog box 2,
  1214. ; top level frameset
  1215. ;
  1216. import_ca_cert2_type="text/html"
  1217. import_ca_cert2_hdrs=""
  1218. import_ca_cert2_width=520
  1219. import_ca_cert2_height=350
  1220. import_ca_cert2_content:
  1221. {frame_set import_ca_cert_oldstyle2,formsubmit}
  1222. :import_ca_cert2_content
  1223. ;
  1224. ; Import CA certificate dialog box 2
  1225. ; top frame
  1226. ;
  1227. import_ca_cert_oldstyle2_top_type="text/html"
  1228. import_ca_cert_oldstyle2_top_hdrs=""
  1229. import_ca_cert_oldstyle2_top_content:
  1230. {top_frame import_ca_cert_title2,alert1gif,35,35}
  1231. :import_ca_cert_oldstyle2_top_content
  1232. ;
  1233. ; Import CA certificate dialog box 2
  1234. ; middle frame
  1235. ;
  1236. import_ca_cert_oldstyle2_main_type="text/html"
  1237. import_ca_cert_oldstyle2_main_hdrs=""
  1238. import_ca_cert_oldstyle2_main_content:
  1239. <html>
  1240. <head>
  1241. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1242. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1243. {disable_right_click_js}
  1244. </head>
  1245. {formsubmit document.forms[0]}
  1246. <body class=content alink="#333399">
  1247. <form method="get" action="formsubmit_handler" name="trust_new_ca">
  1248. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  1249. <input type=hidden name="target" value="%1$d">
  1250. <P>
  1251. {import_ca_cert_dialog2}
  1252. </P>
  1253. <div class=Plainbox>
  1254. <TABLE>
  1255. <TR valign=top>
  1256. <TD>
  1257. <input type="checkbox" name="acceptssl" value="ssl">
  1258. </TD>
  1259. <TD>
  1260. <DIV CLASS=Plain>{accept_website}</div>
  1261. </TD>
  1262. </TR>
  1263. <TR valign=top>
  1264. <TD>
  1265. <input type="checkbox" name="acceptemail" value="email" >
  1266. </TD>
  1267. <TD>
  1268. <DIV CLASS=Plain>{accept_email}</div>
  1269. </TD>
  1270. </TR>
  1271. <TR valign=top>
  1272. <TD>
  1273. <input type="checkbox" name="acceptobject" value="object">
  1274. </TD>
  1275. <TD>
  1276. <DIV CLASS=Plain>{accept_object}</div>
  1277. </TD>
  1278. </TR>
  1279. </TABLE>
  1280. </div>
  1281. </form>
  1282. </body>
  1283. </html>
  1284. :import_ca_cert_oldstyle2_main_content
  1285. ;
  1286. ; Import CA certificate dialog box 2,
  1287. ; buttons frame
  1288. ;
  1289. import_ca_cert_oldstyle2_buttons_type="text/html"
  1290. import_ca_cert_oldstyle2_buttons_hdrs=""
  1291. import_ca_cert_oldstyle2_buttons_content:
  1292. <html>
  1293. <head>
  1294. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1295. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  1296. {disable_right_click_js}
  1297. </head>
  1298. <body class=foot alink="#333399"
  1299. onLoad="parent.SetHelpURL('help.htm#1036401')">
  1300. <form method="get" action="check_for_cancel" >
  1301. <input type=hidden name="baseRef" value="formsubmit_dosubmit_js">
  1302. <input type=hidden name="target" value="%1$d">
  1303. <input type=hidden name="formName" value="trust_new_ca">
  1304. {buttons_only {text_finished}}
  1305. </form>
  1306. </body>
  1307. </html>
  1308. :import_ca_cert_oldstyle2_buttons_content
  1309. ;
  1310. ; CA certificate policy
  1311. ; top level frame set
  1312. ;
  1313. ca_policy_view_type="text/html"
  1314. ca_policy_view_hdrs=""
  1315. ca_policy_view_content:
  1316. {frame_set_param ca_policy,windowclose}
  1317. :ca_policy_view_content
  1318. ca_policy_top_type="text/html"
  1319. ca_policy_top_hdrs=""
  1320. ca_policy_top_content:
  1321. {top_frame view_ca_policy_title,certgif,35,30}
  1322. :ca_policy_top_content
  1323. ca_policy_main_type="text/html"
  1324. ca_policy_main_hdrs=""
  1325. ca_policy_main_content:
  1326. <html>
  1327. <head>
  1328. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1329. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1330. {disable_right_click_js}
  1331. </head>
  1332. <body>
  1333. <p>
  1334. <table>
  1335. <td></td>
  1336. <td><div>
  1337. {_ca_policy_info}
  1338. </div></td>
  1339. </table>
  1340. <p>
  1341. </html>
  1342. :ca_policy_main_content
  1343. ca_policy_buttons_type="text/html"
  1344. ca_policy_buttons_hdrs=""
  1345. ca_policy_buttons_content:
  1346. <html>
  1347. <head>
  1348. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1349. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  1350. {disable_right_click_js}
  1351. </head>
  1352. <body bgcolor="#CCCCCC" link="#6666CC" vlink="#6666CC" alink="#333399">
  1353. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT="100%" >
  1354. <tr ALIGN=RIGHT VALIGN=center>
  1355. <td>
  1356. <form method="get" action="get">
  1357. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  1358. <div class=buttonspace><input type="submit" name="do_ok"
  1359.         value="{text_ok}" width="72"></div>
  1360. </form>
  1361. </td></tr>
  1362. </table>
  1363. </body>
  1364. </html>
  1365. :ca_policy_buttons_content
  1366. ;
  1367. ; CA certificate info  
  1368. ; top level frame set
  1369. ;
  1370. ca_cert_view_type="text/html"
  1371. ca_cert_view_hdrs=""
  1372. ca_cert_view_content:
  1373. {frame_set_param view_ca_cert,windowclose}
  1374. :ca_cert_view_content
  1375. ;
  1376. ; CA certificate info 
  1377. ; top frame
  1378. ;
  1379. view_ca_cert_top_type="text/html"
  1380. view_ca_cert_top_hdrs=""
  1381. view_ca_cert_top_content:
  1382. {top_frame ca_cert_view_header,lockedgif,35,35}
  1383. :view_ca_cert_top_content
  1384. ;
  1385. ; CA certificate info
  1386. ; middle frame
  1387. ;
  1388. view_ca_cert_main_type="text/html"
  1389. view_ca_cert_main_hdrs=""
  1390. view_ca_cert_main_content:
  1391. <html>
  1392. <head>
  1393. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1394. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1395. {disable_right_click_js}
  1396. </head>
  1397. <body class=CONTENT>
  1398. <table CELLSPACING=0 CELLPADDING=0 WIDTH="100%%" >
  1399. <tr>
  1400. <td WIDTH="10"></td>
  1401. <td>
  1402. <table BORDER=0 CELLSPACING=0 >
  1403. <tr><td>&nbsp;</td></tr>
  1404. <tr><td>&nbsp;</td></tr>
  1405. <tr></tr>
  1406. {view_cert_info pretty,view_cert_wrapper,view_cert_wrapper_no_comment}
  1407. </td>
  1408. </tr>
  1409. </table>
  1410. <font face="{nsm_view_cert_font}"><font size=-1></font></font>
  1411. </body>
  1412. </html>
  1413. :view_ca_cert_main_content
  1414. view_ca_cert_buttons_type=text/html
  1415. view_ca_cert_buttons_hdrs=""
  1416. view_ca_cert_buttons_content:
  1417. <html>
  1418. <head>
  1419. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1420. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  1421. {disable_right_click_js}
  1422. </head>
  1423. <body bgcolor="#CCCCCC" link="#6666CC" vlink="#6666CC" alink="#333399">
  1424. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" HEIGHT="100%" >
  1425. <tr ALIGN=RIGHT VALIGN=center>
  1426. <td>
  1427. <form method="get" action="get">
  1428. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  1429. <div class=buttonspace><input type="submit" name="do_ok" 
  1430. value="{text_ok}" width="72">
  1431. </form>
  1432. </td></tr>
  1433. </table>
  1434. </body>
  1435. </html>
  1436. :view_ca_cert_buttons_content
  1437. ; use this macro to insert the glossary icon ("i")
  1438. ;
  1439. glossary_icon:
  1440. <img SRC="get?baseRef=infojpg" ALT="Glossary Entry" ALIGN=ABSBOTTOM>
  1441. :glossary_icon
  1442. ;
  1443. ; server cert format
  1444. ;
  1445. serverCert_format:
  1446. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 COLS=2>
  1447. <tr><td COLSPAN="2">
  1448. <div class=plain>
  1449. %1$s
  1450. </div>
  1451. </td><td></td></tr>
  1452. <tr><td>
  1453. <div class=plain>
  1454. {serverCert_org}
  1455. </div>
  1456. </td>
  1457. <td>
  1458. <div class=plain>
  1459. %5$s
  1460. </div>
  1461. </td></tr>
  1462. <tr><td COLSPAN="2">
  1463. <div class=plain>
  1464. {serverCert_issuer}%4$s
  1465. </div>
  1466. </td><td></td></tr></table>
  1467. <!-- %2$s %3$s unused -->
  1468. :serverCert_format
  1469. ;
  1470. ; client auth top level frame set HTML
  1471. ;
  1472. client_auth_type="text/html"
  1473. client_auth_hdrs=""
  1474. client_auth_width=520
  1475. client_auth_height=350
  1476. client_auth_content:
  1477. {frame_set client_auth,formsubmit}
  1478. :client_auth_content
  1479. ;
  1480. ; client auth top frame
  1481. ;
  1482. client_auth_top_type="text/html"
  1483. client_auth_top_hdrs=""
  1484. client_auth_top_content:
  1485. {top_frame client_auth_header,lockedgif,30,30}
  1486. :client_auth_top_content
  1487. ;
  1488. ; client auth buttons frame
  1489. ;
  1490. client_auth_buttons_type="text/html"
  1491. client_auth_buttons_hdrs=""
  1492. client_auth_buttons_content:
  1493. {formsubmit_buttons_frame cert_selection,help.htm#1036330}
  1494. :client_auth_buttons_content
  1495. ;
  1496. ; client auth main frame
  1497. ;
  1498. client_auth_main_type="text/html"
  1499. client_auth_main_hdrs=""
  1500. client_auth_main_content:
  1501. <html>
  1502. <head>
  1503. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1504. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  1505. {disable_right_click_js}
  1506. </head>
  1507. {formsubmit document.forms[0]}
  1508. <body class=content alink="#FF0000">
  1509. <p>{client_auth_greeting_string}</p>
  1510. <table WIDTH=500px>
  1511. <tr VALIGN=CENTER>
  1512. <td ALIGN=CENTER WIDTH="90px"><img SRC="get?baseRef=certgif" height=60 width=80></td>
  1513. <td ALIGN=CENTER VALIGN=TOP>
  1514. {_server_cert_info simple,serverCert_format,serverCert_format}
  1515. </td></tr></table>
  1516. <HR WIDTH=96%% ALIGN=CENTER>
  1517. <form method="get" action="formsubmit_handler" name="cert_selection">
  1518. <table>
  1519. <tr VALIGN=CENTER>
  1520. <td align=center width="90px"><img SRC="get?baseRef=certgif" height=60 width=80></td>
  1521. <td WIDTH="400">
  1522. <div class=plain>
  1523. {client_auth_string}
  1524. {_client_auth_certList userCert_prefix,userCert_wrapper,userCert_suffix}
  1525. </div>
  1526. </td></tr></table>
  1527. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  1528. <input type=hidden name="target" value="%1$d">
  1529. </form>
  1530. </body>
  1531. </html>
  1532. :client_auth_main_content
  1533. ;
  1534. ; user cert list format (parameters for "_client_auth_certList")
  1535. ; userCert_wrapper: %1$s}: index of the cert nickname,
  1536. ;                   %2$s: (UnicodeString) nickname
  1537. ;
  1538. userCert_prefix=<select name="chosen">
  1539. userCert_wrapper=<option value=%1$d>%2$s
  1540. userCert_suffix=</select>
  1541. ;
  1542. ; -- END -- client_auth
  1543. ;
  1544. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1545. ;
  1546. ; PKCS11 UI
  1547. ;
  1548. adv_modules_type=text/html
  1549. adv_modules_content:
  1550. <script language="JavaScript1.2">
  1551. var modules = new Array();
  1552. var slots = new Array();
  1553. var currentModule = null;
  1554. var currentSlot = null;
  1555. function Window_parent_reload_once()
  1556. {
  1557.     // Reload once, then clear the handler.
  1558.     // Intended as a one-off reloader after module addition.
  1559.     //alert("Reloading once.");
  1560.     if (advisor != null)
  1561.         advisor.ReloadModules();
  1562.     // window.onfocus = null;
  1563.     // ReloadModules();
  1564. }
  1565. function pk11_module_add()
  1566. {
  1567.     // window.onfocus = Window_reload_once;
  1568.     var wnd = window.open('get?baseRef=pk11_module_add&target=%1$d',
  1569.                           'popup','width={pk11_module_add_width},height={pk11_module_add_height},status=no,toolbar=no,menubar=no');
  1570.     wnd.advisor = self;
  1571.     // wnd.onunload = Window_parent_reload_once;
  1572.     return false;
  1573. }
  1574. function ReloadModules()
  1575. {
  1576.     currentModule = null;
  1577.     frames[1].location = "get?baseRef=adv_modules_module_list";
  1578. }
  1579. function ClearCurrentModule()
  1580. {
  1581.     currentModule = null;
  1582.     frames[2].location = "get?baseRef=adv_modules_module_info";
  1583.     frames[3].location = "PKCS11ShowSlots?no_module=0";
  1584. }
  1585. function Module_load()
  1586. {
  1587.     currentModule = this;
  1588.     frames[2].location = "get?baseRef=adv_modules_module_info";
  1589.     frames[3].location = "PKCS11ShowSlots?module=" + this.ID;
  1590. }
  1591. function Module(ID, name, label, file, version)
  1592. {
  1593.     this.ID = ID;
  1594.     this.name = name;
  1595.     this.label = label;
  1596.     this.file = file;
  1597.     this.version = version;
  1598. }
  1599. // initialize the Module class
  1600. new Module(0, "", "", "", "");
  1601. Module.prototype.load = Module_load;
  1602. function ClearCurrentSlot()
  1603. {
  1604.     currentSlot = null;
  1605.     frames[4].location = "get?baseRef=adv_modules_blank_slot_info";
  1606. }
  1607. {pop_up_alert}
  1608. function DoSomethingToSlot(what)
  1609. {
  1610.     if (what == 'LogoutAllSlots') 
  1611.     {
  1612.         if (typeof(crypto) != "undefined" && 
  1613.             typeof (crypto.logout) != "undefined") {
  1614.             crypto.logout();
  1615.         }
  1616.         if (currentSlot != null)
  1617.         {
  1618.             var command = "PKCS11ShowSlot"
  1619.                 + "?module=" + currentModule.ID 
  1620.                 + "&slot=" + currentSlot.ID;
  1621.             frames[4].location = command;
  1622.         }
  1623.     }
  1624.     else if (currentSlot != null)
  1625.     {
  1626.         var command = "PKCS11" + what 
  1627.             + "?module=" + currentModule.ID 
  1628.             + "&slot=" + currentSlot.ID;
  1629.         frames[4].location = command;
  1630.     }
  1631.     else
  1632.     {
  1633.         PopUpAlert('{please_select_slot}');
  1634.     }
  1635. }
  1636. function Slot_load()
  1637. {
  1638.     currentSlot = this;
  1639.     DoSomethingToSlot("ShowSlot");
  1640. }
  1641. var bypassAssert = -999;
  1642. {pop_up_alert}
  1643. function Slot(ID, modID, name, status, serial, version)
  1644. {
  1645.     if ((currentModule == null) && (ID != bypassAssert))
  1646.         PopUpAlert({creating_slot_that_does_not_belong_to_mod});
  1647.     this.ID = ID;
  1648.     this.moduleID = modID;
  1649.     this.name = name;
  1650.     this.status = status;
  1651.     this.serial = serial;
  1652.     this.version = version;
  1653. }
  1654. // initialize the Slot class
  1655. new Slot(bypassAssert, 0, "", "", "", "");
  1656. Slot.prototype.load = Slot_load;
  1657. parent.SetHelpURL('help.htm#1036162');
  1658. </script>
  1659. <frameset rows="10%%,70%%,*" border="0" frameborder="no">
  1660.     <frame src="get?baseRef=adv_modules_supertitle" scrolling="no" marginwidth="0" marginheight="0">
  1661.     <frameset cols="1*,1*" border="0" frameborder="no">
  1662.         <frameset rows="1*,100" border="0" frameborder="no">
  1663.             <frame src="get?baseRef=adv_modules_module_list" name="modlist" scrolling="no" marginwidth="0" marginheight="0">
  1664.             <frame src="about:blank" name="modinfo" scrolling="no" marginwidth="0" marginheight="0">
  1665.         </frameset>
  1666.         <frameset rows="1*,100" border="0" frameborder="no">
  1667.             <frame src="get?baseRef=adv_modules_slot_list" name="slotlist" scrolling="no" marginwidth="0" marginheight="0">
  1668.             <frame src="about:blank" name="slotinfo" scrolling="no" marginwidth="0" marginheight="0">
  1669.         </frameset>
  1670.     </frameset>
  1671.     <frame src="get?baseRef=adv_modules_fips_pane" name="fips" scrolling="no" marginwidth="0" marginheight="0">
  1672. </frameset>
  1673. :adv_modules_content
  1674. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1675. adv_modules_supertitle_type=text/html
  1676. adv_modules_supertitle_content:
  1677. <HTML><HEAD>
  1678. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1679. <link REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvcontentstyle">
  1680. {disable_right_click_js}
  1681. </HEAD><BODY bgcolor=#FFFFFF>
  1682. <p>
  1683. {conifugre_and_view_pkcs11}
  1684. </p>
  1685. </BODY></HTML>
  1686. :adv_modules_supertitle_content
  1687. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1688. pk11_newmodulewrap=parent.modules[%1$d] = new parent.Module(%2$d, "%3$s", "%4$s", "%5$s", "%6$s");
  1689. pk11_modulelistwrap=<!----- unused %1$d %3$s ----><option value="%2$d">%4$s
  1690. adv_modules_module_list_type=text/html
  1691. adv_modules_module_list_content:
  1692. <HTML><HEAD>
  1693. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1694. <link REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvcontentstyle">
  1695. {disable_right_click_js}
  1696. </HEAD><BODY bgcolor=#FFFFFF>
  1697. <p class=bu>{select_module}</p>
  1698. <script language="JavaScript1.2">
  1699. <!-- data here comes from PSM -->
  1700. {_pk11modules pk11_newmodulewrap}
  1701. {pop_up_alert}
  1702. function DeleteModule()
  1703. {
  1704.     if (parent.currentModule != null)
  1705.     {
  1706. pkcs11.deletemodule(parent.currentModule.label);
  1707.         location = "get?baseRef=adv_modules_module_list";
  1708.     }
  1709.     else
  1710.     {
  1711.         PopUpAlert("{select_module_to_delete}");
  1712.     }
  1713. }
  1714. <!-- end of data from NSM -->
  1715. </script>
  1716. <FORM><div class=plainbox>
  1717. <table CELLSPACING=0 CELLPADDING=0 COLS=1 WIDTH="100%" >
  1718. <tr><td></td></tr>
  1719. <tr><td><div>
  1720. <select NAME="selectName" size="5" width="230" onChange="parent.modules[selectedIndex].load()">
  1721. {_pk11modules pk11_modulelistwrap}
  1722. </select>
  1723. </td></div></tr>
  1724. <tr><td><div>
  1725. <input type="button" value="{text_add}"width="72"  onClick="parent.pk11_module_add()">
  1726. <spacer type="horizontal" size="12">
  1727. <input type="button" value="{text_delete}" width="72" onClick="DeleteModule()">
  1728. </td></div></tr>
  1729. </table>
  1730. </div>
  1731. </FORM>
  1732. </BODY>
  1733. <script language=javascript>
  1734. parent.ClearCurrentModule();
  1735. </script>
  1736. </HTML>
  1737. :adv_modules_module_list_content
  1738. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1739. pk11_module_add_type=text/html
  1740. pk11_module_add_width=520
  1741. pk11_module_add_height=350
  1742. pk11_module_add_content={frame_set pk11_addmodule,formsubmit}
  1743. pk11_addmodule_top_type=text/html
  1744. pk11_addmodule_top_hdrs=""
  1745. pk11_addmodule_top_content={top_frame add_module_title,lockedgif,35,35}
  1746. pk11_addmodule_main_type=text/html
  1747. pk11_addmodule_main_hdrs=
  1748. pk11_addmodule_main_content:
  1749. <HTML>
  1750. <head>
  1751. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1752. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvmodalstyle">
  1753. {disable_right_click_js}
  1754. </head>
  1755. {formsubmit document.forms[0]}
  1756. <SCRIPT LANGUAGE="JavaScript">
  1757. // Crypto Mechanism Flags 
  1758. PKCS11_MECH_RSA_FLAG           =  0x1<<0; 
  1759. PKCS11_MECH_DSA_FLAG           =  0x1<<1; 
  1760. PKCS11_MECH_RC2_FLAG           =  0x1<<2; 
  1761. PKCS11_MECH_RC4_FLAG           =  0x1<<3; 
  1762. PKCS11_MECH_DES_FLAG           =  0x1<<4; 
  1763. PKCS11_MECH_DH_FLAG            =  0x1<<5; //Diffie-Hellman 
  1764. PKCS11_MECH_SKIPJACK_FLAG      =  0x1<<6; //SKIPJACK algorithm as in Fortezza cards 
  1765. PKCS11_MECH_RC5_FLAG           =  0x1<<7; 
  1766. PKCS11_MECH_SHA1_FLAG          =  0x1<<8; 
  1767. PKCS11_MECH_MD5_FLAG           =  0x1<<9; 
  1768. PKCS11_MECH_MD2_FLAG           =  0x1<<10; 
  1769. PKCS11_MECH_RANDOM_FLAG        =  0x1<<27; //Random number generator 
  1770. PKCS11_PUB_READABLE_CERT_FLAG  =  0x1<<28; //Stored certs can be read off the token w/o logging in 
  1771. PKCS11_DISABLE_FLAG            =  0x1<<30; //tell Navigator to disable this slot by default 
  1772. // Important: 
  1773. // 0x1<<11, 0x1<<12, ... , 0x1<<26, 0x1<<29, and 0x1<<31 are reserved 
  1774. // for internal use in Navigator. 
  1775. // Therefore, these bits should always be set to 0; otherwise, 
  1776. // Navigator might exhibit unpredictable behavior. 
  1777. // These flags indicate which mechanisms should be turned on by 
  1778. pkcs11MechanismFlags = PKCS11_MECH_RANDOM_FLAG; 
  1779.   
  1780. // Ciphers that support SSL or S/MIME 
  1781. PKCS11_CIPHER_FORTEZZA_FLAG    = 0x1<<0; 
  1782. // Important: 
  1783. // 0x1<<1, 0x1<<2, ... , 0x1<<31 are reserved 
  1784. // for internal use in Navigator. 
  1785. // Therefore, these bits should ALWAYS be set to 0; otherwise, 
  1786. // Navigator might exhibit unpredictable behavior. 
  1787. // These flags indicate which SSL ciphers are supported 
  1788. pkcs11CipherFlags = PKCS11_CIPHER_FORTEZZA_FLAG; 
  1789.   
  1790. // Return values of pkcs11.addmodule() & pkcs11.delmodule() 
  1791. // success codes 
  1792. JS_OK_ADD_MODULE                 = 3 // Successfully added a module 
  1793. JS_OK_DEL_EXTERNAL_MODULE        = 2 // Successfully deleted ext. module 
  1794. JS_OK_DEL_INTERNAL_MODULE        = 1 // Successfully deleted int. module 
  1795. // failure codes 
  1796. JS_ERR_OTHER                     = -1 // Other errors than the followings 
  1797. JS_ERR_USER_CANCEL_ACTION        = -2 // User abort an action 
  1798. JS_ERR_INCORRECT_NUM_OF_ARGUMENTS= -3 // Calling a method w/ incorrect # of arguments 
  1799. JS_ERR_DEL_MODULE                = -4 // Error deleting a module 
  1800. JS_ERR_ADD_MODULE                = -5 // Error adding a module 
  1801. JS_ERR_BAD_MODULE_NAME           = -6 // The module name is invalid 
  1802. JS_ERR_BAD_DLL_NAME              = -7 // The DLL name is bad 
  1803. JS_ERR_BAD_MECHANISM_FLAGS       = -8 // The mechanism flags are invalid 
  1804. JS_ERR_BAD_CIPHER_ENABLE_FLAGS   = -9 // The SSL, S/MIME cipher flags are invalid 
  1805. var new_window;
  1806. var has_new_window = 0;
  1807. function HandleCipher(checkBox) {
  1808. if (checkBox.checked) {
  1809. pkcs11MechanismFlags |= checkBox.value;
  1810. } else {
  1811. pkcs11MechanismFlags &= ~checkBox.value;
  1812. }
  1813. }
  1814. function HandleSSL(checkBox) {
  1815. if (checkBox.checked) {
  1816. pkcs11CipherFlags |= checkBox.value;
  1817. } else {
  1818. pkcs11CipherFlags &= ~checkBox.value;
  1819. }
  1820. }
  1821. function colonize(string) {
  1822. len = string.length;
  1823. end = len -1;
  1824. if (len == 0) return string;
  1825. for (i=0; i < len; i++) {
  1826.    if (string.charAt(i) == "/") {
  1827. if (i == 0) {
  1828.     new_string = ":" + string.substring(1,len);
  1829. } else if (i == end) {
  1830.     new_string = string.substring(0,i)+':';
  1831. } else {
  1832.     new_string = string.substring(0,i)+':'+
  1833. string.substring(i+1,len);
  1834. }
  1835. string = new_string;
  1836.    }
  1837. }
  1838. if (string.charAt(0) == ":") string = string.substring(1,len);
  1839. return string;
  1840. }
  1841. {pop_up_alert}
  1842. function DoInstall(name,module) {
  1843. if ((navigator.platform == "MacPPC") 
  1844. || (navigator.platform == "Mac68K")) {
  1845.     module = colonize(module);
  1846. }
  1847.         if (typeof(pkcs11) != "undefined") {
  1848.             result = pkcs11.addmodule(name, module, 
  1849.             pkcs11MechanismFlags, pkcs11CipherFlags); 
  1850.             if (result < 0) 
  1851.             {
  1852.                 PopUpAlert("{new_mod_setup_failed}" + result); 
  1853.             }
  1854.             else
  1855.             {
  1856.                 if (top.advisor != null)
  1857.                     top.advisor.ReloadModules();
  1858.                 else
  1859.                     PopUpAlert("{no_sec_advisor}");
  1860.             }
  1861.         } else {
  1862.             PopUpAlert("{pkcs11_class_undefined}");
  1863.         }
  1864. top.window.close();
  1865. }
  1866. default_name = "Netscape Module";
  1867. default_module = "D:/dogbert/ns/dist/WIN32_D.OBJ/bin/fort32.dll"
  1868. document.writeln('<body bgcolor="white">');
  1869. document.writeln("<FORM name=instform target=_self><table>");
  1870. document.writeln('<tr valign=center><td></td><td align=right><div>{mod_name}</div></td><td><div> <Input Type=Text Name=modName value='+default_name+' size=28 required></div></td></tr>');
  1871. document.writeln("<tr valign=center><td></td><td align=right><div>{mod_filename}</div></td><td><div><Input Type=FILE required Name=module></div></td></tr></table>");
  1872. document.writeln('<tr><td COLSPAN="4"><hr SIZE=3 NOSHADE WIDTH="100%"></td></tr>');
  1873. document.writeln('<tr><td colspan=2><p>{enter_info_for_mod}</p></td><td></td></tr>');
  1874. document.writeln("</FORM></body></html>");
  1875. function submitif() {
  1876.   if (top.dosubmit) {
  1877.     DoInstall(document.instform.modName.value, document.instform.module.value);
  1878.     top.closewin();
  1879.   }
  1880.   return false;
  1881. }
  1882. </SCRIPT>
  1883. :pk11_addmodule_main_content
  1884. formsubmit_buttons_close_on_cancel_frame:
  1885. <html>
  1886. <head>
  1887. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1888. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  1889. {disable_right_click_js}
  1890. </head>
  1891. <body class=foot alink="#333399" onLoad="parent.SetHelpURL('{$2}')">
  1892. {ok_cancel_help {$1},formsubmit_dosubmit_js,close_if_cancel}
  1893. </body>
  1894. </html>
  1895. :formsubmit_buttons_close_on_cancel_frame
  1896. pk11_addmodule_buttons_type=text/html
  1897. pk11_addmodule_buttons_hdrs=
  1898. pk11_addmodule_buttons_content:
  1899. {formsubmit_buttons_close_on_cancel_frame pk11_addmodule,help.htm#1040860}
  1900. :pk11_addmodule_buttons_content
  1901. ;pk11_module_add_unused:
  1902. ;document.writeln("<hr><TABLE><TR><TD>");
  1903. ;document.writeln("<Input type=Checkbox name=RSA value="+PKCS11_MECH_RSA_FLAG+" onclick=HandleCipher(document.instform.RSA)> RSA<br>");
  1904. ;document.writeln("<Input type=Checkbox name=DSA value="+PKCS11_MECH_DSA_FLAG+" onclick=HandleCipher(document.instform.DSA)> DSA<br>");
  1905. ;document.writeln("<Input type=Checkbox name=RC2 value="+PKCS11_MECH_RC2_FLAG+" onclick=HandleCipher(document.instform.RC2)> RC2<br>");
  1906. ;document.writeln("<Input type=Checkbox name=RC4 value="+PKCS11_MECH_RC4_FLAG+" onclick=HandleCipher(document.instform.RC4)> RC4<br>");
  1907. ;document.writeln("</TD><TD>");
  1908. ;document.writeln("<Input type=Checkbox name=DES value="+PKCS11_MECH_DES_FLAG+" onclick=HandleCipher(document.instform.DES)> DES<br>");
  1909. ;document.writeln("<Input type=Checkbox name=DH value="+PKCS11_MECH_DH_FLAG+" onclick=HandleCipher(document.instform.DH)> DH<br>");
  1910. ;document.writeln("<Input type=Checkbox name=SKIPJACK value="+PKCS11_MECH_SKIPJACK_FLAG+" onclick=HandleCipher(document.instform.SKIPJACK)> SKIPJACK<br>");
  1911. ;document.writeln("<Input type=Checkbox name=RC5 value="+PKCS11_MECH_RC5_FLAG+" onclick=HandleCipher(document.instform.RC5)> RC5<br>");
  1912. ;document.writeln("</TD><TD>");
  1913. ;document.writeln("<Input type=Checkbox name=SHA1 value="+PKCS11_MECH_SHA1_FLAG+" onclick=HandleCipher(document.instform.SHA1)> SHA1<br>");
  1914. ;document.writeln("<Input type=Checkbox name=MD5 value="+PKCS11_MECH_MD5_FLAG+" onclick=HandleCipher(document.instform.MD5)> MD5<br>");
  1915. ;document.writeln("<Input type=Checkbox name=MD2 value="+PKCS11_MECH_MD2_FLAG+" onclick=HandleCipher(document.instform.MD2)> MD2<br>");
  1916. ;document.writeln("</TD><TD>");
  1917. ;document.writeln("<Input type=Checkbox name=Random value="+PKCS11_MECH_RANDOM_FLAG+" CHECKED onclick=HandleCipher(document.instform.Random)> Random Number Generation<br>");
  1918. ;document.writeln("<Input type=Checkbox name=readCert value="+PKCS11_PUB_READABLE_CERT_FLAG+" onclick=HandleCipher(document.instform.ReadCert)> Public Readable Certificates<br>");
  1919. ;document.writeln("<Input type=Checkbox name=Disable value="+PKCS11_DISABLE_FLAG+" onclick=HandleCipher(document.instform.Disable)> Disable<br>");
  1920. ;document.writeln("</TD></TR></TABLE>");
  1921. ;document.writeln("<hr>");
  1922. ;document.writeln("<Input type=Checkbox name=fortssl value="+ PKCS11_CIPHER_FORTEZZA_FLAG +" onclick=HandleSSL(document.instform.fortssl)> Enable FORTEZZA menus<br>");
  1923. ;:pk11_module_add_unused
  1924. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1925. adv_modules_module_info_type=text/html
  1926. adv_modules_module_info_content:
  1927. <HTML><HEAD>
  1928. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1929. <link REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvcontentstyle">
  1930. {disable_right_click_js}
  1931. </HEAD><BODY bgcolor=#FFFFFF>
  1932. <script language=javascript>
  1933. var modName = '';
  1934. var modFile = '';
  1935. var modVersion = '';
  1936. if (parent.currentModule != null)
  1937. {
  1938.     with (parent.currentModule)
  1939.     {
  1940.         modName = name;
  1941.         modFile = file;
  1942.         modVersion = version;
  1943.     }
  1944. }
  1945. </script>
  1946. <table CELLSPACING=0 CELLPADDING=0>
  1947. <tr><td COLSPAN="2"><div><BR><p class=SMALL>{text_information}</p></div></td></tr>
  1948. <tr><td><div><p class=SMALL>{text_name}</p></div></td><td><div><p class=SMALL>
  1949. <script language=javascript>
  1950. document.write(modName);
  1951. </script>
  1952. </p></div></td></tr>
  1953. <tr><td><div><p class=SMALL>{module_prompt}</p></div></td><td><div><p class=SMALL>
  1954. <script language=javascript>
  1955. document.write(modFile);
  1956. </script>
  1957. </p></div></td></tr>
  1958. <tr><td><div><p class=SMALL>{version_num}</p></div></td><td><div><p class=SMALL>
  1959. <script language=javascript>
  1960. document.write(modVersion);
  1961. </script>
  1962. </p></div></td></tr>
  1963. </table>
  1964. </body></html>
  1965. :adv_modules_module_info_content
  1966. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  1967. ; Note to localizers: The reason for concatenation here is not to break
  1968. ; up user-visible text, but to provide for programmatic filling of the 
  1969. ; slot list. User-visible (localizable) text still appears as whole
  1970. ; passages within each part.
  1971. adv_modules_slotlist_type=text/html
  1972. adv_modules_slotlist_part1:
  1973. <HTML><HEAD>
  1974. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  1975. <link REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvcontentstyle">
  1976. {disable_right_click_js}
  1977. <!-- data here comes from PSM -->
  1978. <script language="JavaScript">
  1979. parent.slots = new Array();
  1980. :adv_modules_slotlist_part1
  1981. adv_modules_slotlist_js_template=parent.slots[%1$d] = new parent.Slot(%2$d, %3$d, "%4$s", "%5$s", "%6$s", "%7$s");
  1982. adv_modules_slotlist_part2:
  1983. </script>
  1984. <!-- end of data from PSM -->
  1985. </HEAD><BODY bgcolor=#FFFFFF>
  1986. <p class=bu>{sel_security_device}</p>
  1987. <FORM><div>
  1988. <table CELLSPACING=0 CELLPADDING=0 COLS=1 WIDTH="100%%" >
  1989. <tr><td></td></tr>
  1990. <tr><td><div>
  1991. <select NAME="selectName" size="5" width="230" onChange="parent.slots[selectedIndex].load()">
  1992. :adv_modules_slotlist_part2
  1993. adv_modules_slotlist_select_template=<!---- unused %1$d %3$d ------><OPTION VALUE="%2$d">%4$s
  1994. adv_modules_slotlist_part3:
  1995. </select>
  1996. </td></div></tr>
  1997. <tr><td><div>
  1998. <input type="button" value="{text_login}"width="72"  onClick=parent.DoSomethingToSlot("LoginSlot")>
  1999. <spacer type="horizontal" size="12">
  2000. <input type="button" value="{text_logout}" width="72" onClick=parent.DoSomethingToSlot("LogoutSlot")>
  2001. <spacer type="horizontal" size="12">
  2002. <input type="button" value="{text_logout_all}" width="72" onClick=parent.DoSomethingToSlot("LogoutAllSlots")>
  2003. </td></div></tr>
  2004. </table>
  2005. </div>
  2006. </FORM>
  2007. </BODY>
  2008. <script language=javascript>
  2009. parent.ClearCurrentSlot();
  2010. </script>
  2011. </HTML>
  2012. :adv_modules_slotlist_part3
  2013. adv_modules_slot_list_type=text/html
  2014. adv_modules_slot_list_content:
  2015. <html><head>
  2016. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2017. {disable_right_click_js}
  2018. </head>
  2019. <body bgcolor=#FFFFFF></body></html>
  2020. :adv_modules_slot_list_content
  2021. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2022. adv_modules_slot_info_type=text/html
  2023. adv_modules_slot_info_content:
  2024. <HTML><HEAD>
  2025. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2026. <link REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvcontentstyle">
  2027. {disable_right_click_js}
  2028. </HEAD><BODY bgcolor=#FFFFFF>
  2029. <table CELLSPACING=0 CELLPADDING=0>
  2030. <!----- unused
  2031. %1$d %2$d %3$d %4$s
  2032.  ------->
  2033. <tr><td COLSPAN="2"><div><BR><p class=SMALL>{text_information}</p></div></td></tr>
  2034. <tr><td><div><p class=SMALL>{text_status}</p></div></td><td><div><p class=SMALL>%5$s</p></div></td></tr>
  2035. <tr><td><div><p class=SMALL>{serial_num}</p></div></td><td><div><p class=SMALL>%6$s</p></div></td></tr>
  2036. <tr><td><div><p class=SMALL>{version_num}</p></div></td><td><div><p class=SMALL>%7$s</p></div></td></tr>
  2037. </table>
  2038. </body></html>
  2039. :adv_modules_slot_info_content
  2040. adv_modules_blank_slot_info_type=text/html
  2041. adv_modules_blank_slot_info_content:
  2042. <HTML><HEAD>
  2043. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2044. <link REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvcontentstyle">
  2045. {disable_right_click_js}
  2046. </HEAD><BODY bgcolor=#FFFFFF>
  2047. <table CELLSPACING=0 CELLPADDING=0>
  2048. <tr><td COLSPAN="2"><div><BR><p class=SMALL>{text_information}</p></div></td></tr>
  2049. <tr><td><div><p class=SMALL>{text_status}</p></div></td><td><div><p></p></div></td></tr>
  2050. <tr><td><div><p class=SMALL>{serial_num}</p></div></td><td><div><p></p></div></td></tr>
  2051. <tr><td><div><p class=SMALL>{version_num}</p></div></td><td><div><p></p></div></td></tr>
  2052. </table>
  2053. </body></html>
  2054. :adv_modules_blank_slot_info_content
  2055. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2056. adv_modules_fips_pane_type=text/html
  2057. adv_modules_fips_pane_content={adv_modules_fips_pane_template blank}
  2058. adv_modules_fips_pane_reply_type=text/html
  2059. adv_modules_fips_pane_reply_content:
  2060. {adv_modules_fips_pane_template _reloadModules}
  2061. :adv_modules_fips_pane_reply_content
  2062. _reloadModules:
  2063. <script language=javascript>
  2064. parent.ReloadModules();
  2065. </script>
  2066. :_reloadModules
  2067. adv_modules_fips_pane_template:
  2068. <HTML>
  2069. <HEAD>
  2070. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2071. <link REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvcontentstyle">
  2072. {disable_right_click_js}
  2073. </HEAD>
  2074. <BODY bgcolor=#FFFFFF>
  2075. {{$1}}
  2076. <FORM>
  2077. <div class=plainbox>
  2078. <table CELLSPACING=0 CELLPADDING=0 width="510px">
  2079. <tr>
  2080. <td WIDTH="6%"><div><center><input type="button" value="{_fipsmode {text_disable},{text_enable}}" onClick="location = 'SetFIPSMode?fips={_fipsmode off,on}&baseRef=adv_modules_fips_pane_reply';"></center></div></td>
  2081. <td></td><td><p>{fipsmode_display}</p></td></tr>
  2082. </table>
  2083. </div>
  2084. </FORM>
  2085. </BODY></HTML>
  2086. :adv_modules_fips_pane_template
  2087. ;
  2088. ; End of PKCS11 UI
  2089. ;
  2090. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2091. formsubmit_monitor_with_check_js:
  2092. <script language=javascript>
  2093. var dosubmit=false;
  2094. var doclose=false;
  2095. function submitform()
  2096. {
  2097.   if ({$1}())
  2098.     dosubmit = true;
  2099.   window.frames[1].submitForm();
  2100. }
  2101. function closewin()
  2102. {
  2103.   doclose = true;
  2104.   setTimeout("closeif()", 100);
  2105. }
  2106. function closeif()
  2107. {
  2108.   if (doclose) {
  2109.     window.close();
  2110.   }
  2111.   setTimeout("closeif()", 100);
  2112. }
  2113. </script>
  2114. :formsubmit_monitor_with_check_js
  2115. ; PKCS-12 Dialogs
  2116. ;
  2117. cert_backup_type="text/html"
  2118. cert_backup_hdrs=""
  2119. cert_backup_width=520
  2120. cert_backup_height=435
  2121. cert_backup_content:
  2122. <html>
  2123. {help_monitor_js}
  2124. <script language=JavaScript>
  2125. {pop_up_alert}
  2126. function submitCheck()
  2127. {
  2128.     var passwd  = CertBackupContent.document.forms[0].elements['passwd'].value;
  2129.     var confirm = CertBackupContent.document.forms[0].elements['confirmPasswd'].value;
  2130.     if (passwd == '') {
  2131.        PopUpAlert("{passwd_at_least_one_char}");
  2132.        resetPasswords=true;
  2133.     } else if (passwd == confirm) {
  2134.         return true;
  2135.     } else {
  2136.         PopUpAlert("{passwd_conf_retry}");
  2137.         resetPasswords=true;
  2138.     }
  2139.     CertBackupContent.checkForPasswordReset();
  2140.     return false;
  2141. }
  2142. </script>
  2143. {formsubmit_monitor_with_check_js submitCheck}
  2144. {help_monitor_js}
  2145. <frameset rows="50,*,40" border="0" frameborder="NO">
  2146. <frame src="get?baseRef=cert_backup_top&target=%1$d" name="CertBackupTop" scrolling="NO" marginwidth="0" marginheight="0">
  2147. <frame src="get?baseRef=cert_backup_content&target=%1$d{pass_var multipleCerts}" name="CertBackupContent" scrolling="Auto" marginwidth="0" marginheight="0">
  2148. <frame src="get?baseRef=cert_backup_bottom&target=%1$d" name="CertBackupFoot" scrolling="NO" marginwidth="0" marginheight="0">
  2149. </frameset>
  2150. </html>
  2151. :cert_backup_content
  2152. cert_backup_top_type=text/html
  2153. cert_backup_top_hdrs=
  2154. cert_backup_top_content:
  2155. {top_frame_no_image portable_password_title}
  2156. :cert_backup_top_content
  2157. cert_backup_content_type=text/html
  2158. cert_backup_content_hdrs=
  2159. cert_backup_content_content:
  2160. <html>
  2161. {formsubmit document.forms[0]}
  2162. <script language=JavaScript>
  2163. function checkForPasswordReset()
  2164. {
  2165.   document.forms[0].reset();
  2166. }
  2167. </script>
  2168. <head>
  2169. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2170. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvmodalstyle">
  2171. {disable_right_click_js}
  2172. </head>
  2173. <body CLASS=CONTENT alink="#333399">
  2174. <table CELLSPACING=0 CELLPADDING=0 WIDTH="100%%" >
  2175. <tr>
  2176. <td WIDTH="10"></td>
  2177. <td>
  2178. <table BORDER=0 CELLSPACING=0 >
  2179. <tr>
  2180. <td>
  2181. &nbsp;
  2182. </td>
  2183. </tr>
  2184. <tr>
  2185. <td COLSPAN="3"><form name="passwordForm" action="formsubmit_handler"
  2186.                       method=get onSubmit="return top.submitCheck();"> 
  2187. <input type=hidden name="target" value="%1$d">
  2188. <input type=hidden name="formName" value="cert_backup_form">
  2189. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  2190. <table BORDER=0 CELLSPACING=0 WIDTH="100%%" >
  2191. <tr valign=top>
  2192. <td colspan=3>
  2193. <p><div class=plain>
  2194. {portable_passwd_protects_file}
  2195. </p></div>
  2196. </td>
  2197. </tr>
  2198. <STRONG> 
  2199. {pkcs12_incompatibility_warning}
  2200. </STRONG>
  2201. <p>
  2202. <tr>
  2203. </tr>
  2204. <tr VALIGN=CENTER>
  2205. <td>
  2206. <div align=right><p>
  2207. {portable_passwd}
  2208. </p></div>
  2209. </td>
  2210. <td></td>
  2211. <td><div><input type="password"  NAME="passwd" SIZE="16">
  2212. </div></td>
  2213. </tr>
  2214. <tr VALIGN=CENTER>
  2215. <td>
  2216. <div align=right>
  2217. <p>
  2218. {portable_passwd_again}
  2219. </p></div>
  2220. </td>
  2221. <td></td>
  2222. <td><div><input type="password"
  2223.   NAME="confirmPasswd"
  2224.   SIZE="16" 
  2225.   >
  2226. </div></td>
  2227. </tr>
  2228. </table>
  2229. <spacer type="vertical" size="12"></td>
  2230. <td></td>
  2231. </tr>
  2232. </table>
  2233. <hr SIZE=3 NOSHADE WIDTH="100%%">
  2234. <p class=alert> 
  2235. {portable_passwd_alert}
  2236. </td>
  2237. </tr>
  2238. </table>
  2239. </form>
  2240. <script language=javascript>
  2241. document.forms[0].elements["passwd"].focus();
  2242. </script>
  2243. </body>
  2244. </html>
  2245. :cert_backup_content_content
  2246. blank:
  2247. :blank
  2248. js_submit:
  2249. <script language=javascript>
  2250. top.submitform();
  2251. </script>
  2252. :js_submit
  2253. cert_backup_bottom_type=text/html
  2254. cert_backup_bottom_hdrs=
  2255. cert_backup_bottom_content={cert_backup_bottom_template blank}
  2256. cert_backup_bottom_template:
  2257. <html>
  2258. <head>
  2259. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2260. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  2261. {disable_right_click_js}
  2262. </head>
  2263. {{$1}}
  2264. <body class=foot alink="#333399" 
  2265.       onLoad="parent.SetHelpURL('help.htm#1031615')">
  2266. {ok_cancel_help cert_backup_form,pkcs12_button_reply,close_if_cancel}
  2267. </body>
  2268. </html>
  2269. :cert_backup_bottom_template
  2270. pkcs12_restore_success_new_mail:
  2271. <html>
  2272. <head>
  2273. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2274. <title></title>
  2275. {disable_right_click_js}
  2276. <script language=javascript>
  2277. {pop_up_alert}
  2278. function setNewEmailCertAndShowAlert() 
  2279. {
  2280.   top.default_email_cert = "%1$s";
  2281.   PopUpAlert("{multi_cert_backup_success}");
  2282.   window.location = "get?baseRef=cert_mine";  
  2283. }
  2284. </script>
  2285. </head>
  2286. <body onLoad="setNewEmailCertAndShowAlert();">
  2287. </body>
  2288. </html>
  2289. :pkcs12_restore_success_new_mail
  2290. pkcs12_button_reply_type=text/html
  2291. pkcs12_button_reply_hdrs=
  2292. pkcs12_button_reply_content={cert_backup_bottom_template js_submit}
  2293. pkcs12_action_followup_type=text/html
  2294. pkcs12_action_followup_hdrs=
  2295. pkcs12_action_followup_content:
  2296. <html>
  2297. <head>
  2298. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2299. {disable_right_click_js}
  2300. <script language=javascript>
  2301. {pop_up_alert}
  2302. function showAlert() {
  2303.  PopUpAlert("%1$s");
  2304.  window.location = "get?baseRef=cert_mine&target=%2$d";
  2305. }
  2306. </script>
  2307. </head>
  2308. <body onLoad="showAlert();">
  2309. </body>
  2310. </html>
  2311. :pkcs12_action_followup_content
  2312. bad_server_cert_expired_type="text/html"
  2313. bad_server_cert_expired_hdrs=""
  2314. bad_server_cert_expired_width=520
  2315. bad_server_cert_expired_height=350
  2316. bad_server_cert_expired_content:
  2317. {frame_set bad_server_cert_expired,formsubmit}
  2318. :bad_server_cert_expired_content
  2319. bad_server_cert_expired_top_type="text/html"
  2320. bad_server_cert_expired_top_hdrs=""
  2321. bad_server_cert_expired_top_content:
  2322. {top_frame bad_server_cert_expired_title,alert1gif,35,35}
  2323. :bad_server_cert_expired_top_content
  2324. bad_server_cert_expired_buttons_type="text/html"
  2325. bad_server_cert_expired_buttons_hdrs=""
  2326. bad_server_cert_expired_buttons_content:
  2327. {formsubmit_buttons_frame bad_server_cert,help.htm#1036462}
  2328. :bad_server_cert_expired_buttons_content
  2329. bad_server_cert_expired_main_type="text/html"
  2330. bad_server_cert_expired_main_hdrs=""
  2331. bad_server_cert_expired_main_content:
  2332. {bad_server_cert_time expired}
  2333. :bad_server_cert_expired_main_content
  2334. bad_server_cert_not_yet_valid_type="text/html"
  2335. bad_server_cert_not_yet_valid_hdrs=""
  2336. bad_server_cert_not_yet_valid_width=520
  2337. bad_server_cert_not_yet_valid_height=350
  2338. bad_server_cert_not_yet_valid_content:
  2339. {frame_set bad_server_cert_not_yet_valid,formsubmit}
  2340. :bad_server_cert_not_yet_valid_content
  2341. bad_server_cert_not_yet_valid_top_type="text/html"
  2342. bad_server_cert_not_yet_valid_top_hdrs=""
  2343. bad_server_cert_not_yet_valid_top_content:
  2344. {top_frame bad_server_cert_not_yet_valid_title,alert1gif,35,35}
  2345. :bad_server_cert_not_yet_valid_top_content
  2346. bad_server_cert_not_yet_valid_buttons_type="text/html"
  2347. bad_server_cert_not_yet_valid_buttons_hdrs=""
  2348. bad_server_cert_not_yet_valid_buttons_content:
  2349. {formsubmit_buttons_frame bad_server_cert,help.htm#1036465}
  2350. :bad_server_cert_not_yet_valid_buttons_content
  2351. bad_server_cert_not_yet_valid_main_type="text/html"
  2352. bad_server_cert_not_yet_valid_main_hdrs=""
  2353. bad_server_cert_not_yet_valid_main_content:
  2354. {bad_server_cert_time not_yet_valid}
  2355. :bad_server_cert_not_yet_valid_main_content
  2356. ;
  2357. ; bad_server_cert_time: used for expired server cert and not yet valid
  2358. ; server cert
  2359. ; {$1}: either "expired" or "not_yet_valid"
  2360. ;
  2361. bad_server_cert_time:
  2362. <html>
  2363. <head>
  2364. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2365. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  2366. {disable_right_click_js}
  2367. </head>
  2368. {formsubmit document.forms[0]}
  2369. <body class=content>
  2370. <form method="get" action="formsubmit_handler" name="bad_server_cert">
  2371. <P>
  2372. {_server_cert_info simple,bad_server_cert_{$1}_format,bad_server_cert_{$1}_format}
  2373. </P>
  2374. <P>
  2375. {_get_current_time bad_server_cert_now_format}
  2376. </P>
  2377. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  2378. <input type=hidden name="target" value="%1$d">
  2379. {accept_anyway}
  2380. <BR>
  2381. {view_server_cert}
  2382. </form>
  2383. </body>
  2384. </html>
  2385. :bad_server_cert_time
  2386. accept_anyway:
  2387. <div class=Plainbox>
  2388. <TABLE>
  2389. <TR valign=top>
  2390. <TD>
  2391. <input type=checkbox name="accept" checked value="session">
  2392. </TD>
  2393. <TD>
  2394. <DIV CLASS=Plain>
  2395. {bad_server_cert_accept_string}
  2396. </div>
  2397. </TD>
  2398. </TR>
  2399. </TABLE>
  2400. </div>
  2401. :accept_anyway
  2402. view_server_cert:
  2403. <div class=Plainbox>
  2404. <TABLE>
  2405. <TR valign=top>
  2406. <TD><div>
  2407. <input type="button" value="{text_view}" width="72" onClick="window.open('get?baseRef=server_cert_view&target=%1$d','popup','width=520,height=350,status=no,toolbar=no,menubar=no,screenX=100,screenY=100')">
  2408. </div></TD>
  2409. <TD>
  2410. <div class=Plain>
  2411. {bad_server_cert_view_string}
  2412. </div>
  2413. </TD>
  2414. </TR>
  2415. </TABLE>
  2416. </div>
  2417. :view_server_cert
  2418. bad_server_cert_domain_type="text/html"
  2419. bad_server_cert_domain_hdrs=""
  2420. bad_server_cert_domain_width=520
  2421. bad_server_cert_domain_height=350
  2422. bad_server_cert_domain_content:
  2423. {frame_set bad_server_cert_domain,formsubmit}
  2424. :bad_server_cert_domain_content
  2425. bad_server_cert_domain_top_type="text/html"
  2426. bad_server_cert_domain_top_hdrs=""
  2427. bad_server_cert_domain_top_content:
  2428. {top_frame bad_server_cert_domain_title,alert1gif,35,35}
  2429. :bad_server_cert_domain_top_content
  2430. bad_server_cert_domain_main_type="text/html"
  2431. bad_server_cert_domain_main_hdrs=""
  2432. bad_server_cert_domain_main_content:
  2433. <html>
  2434. <head>
  2435. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2436. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  2437. {disable_right_click_js}
  2438. </head>
  2439. {formsubmit document.forms[0]}
  2440. <body class=content>
  2441. <form method="get" action="formsubmit_handler" name="bad_server_cert">
  2442. <P>
  2443. {_server_cert_domain_info bad_domain_wrapper}
  2444. </p>
  2445. {view_server_cert}
  2446. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  2447. <input type=hidden name="target" value="%1$d">
  2448. <input type=hidden name="accept" value="session">
  2449. </form>
  2450. </body>
  2451. </html>
  2452. :bad_server_cert_domain_main_content
  2453. bad_server_cert_domain_buttons_type="text/html"
  2454. bad_server_cert_domain_buttons_hdrs=""
  2455. bad_server_cert_domain_buttons_content:
  2456. <html>
  2457. <head>
  2458. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2459. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  2460. {disable_right_click_js}
  2461. </head>
  2462. <body alink="#333399" onLoad="parent.SetHelpURL('help.htm#1036471')">
  2463. <form method="get" action="ok_cancel_handler" name="ok_cancel_handler_form">
  2464. <input type=hidden name="target" value="%1$d">
  2465. <input type=hidden name="baseRef" value="formsubmit_dosubmit_js">
  2466. <div align=right>
  2467. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 HEIGHT="100%%">
  2468. <tr ALIGN=RIGHT VALIGN=CENTER>
  2469. <td>
  2470. <div class=BUTTONSPACE>
  2471. <input type="submit" name="OK" value="{text_url_continue}" width="72">
  2472. </div>
  2473. </td>
  2474. <td>
  2475. <div class=BUTTONSPACE>
  2476. <input type="submit" name="Cancel" value="{text_url_cancel}" width="72">
  2477. </div>
  2478. <input type=hidden name="formName" value="bad_server_cert">
  2479. </td>
  2480. <td>
  2481. <div class=BUTTONSPACEHELP>
  2482. <input type="button" name="Help" value="{text_help}" width="72" onClick="parent.OpenHelp()">
  2483. </div>
  2484. </td>
  2485. </tr>
  2486. </table>
  2487. </div>
  2488. </form>
  2489. </body>
  2490. </html>
  2491. :bad_server_cert_domain_buttons_content
  2492. bad_server_cert_unknown_issuer1_type="text/html"
  2493. bad_server_cert_unknown_issuer1_hdrs=""
  2494. bad_server_cert_unknown_issuer1_width=520
  2495. bad_server_cert_unknown_issuer1_height=350
  2496. bad_server_cert_unknown_issuer1_content:
  2497. {frame_set bad_server_cert_unknown_issuer1,windowclose}
  2498. :bad_server_cert_unknown_issuer1_content
  2499. bad_server_cert_unknown_issuer1_top_type="text/html"
  2500. bad_server_cert_unknown_issuer1_top_hdrs=""
  2501. bad_server_cert_unknown_issuer1_top_content:
  2502. {top_frame bad_server_cert_unknown_step1_title,alert1gif,35,35}
  2503. :bad_server_cert_unknown_issuer1_top_content
  2504. bad_server_cert_unknown_issuer1_main_type="text/html"
  2505. bad_server_cert_unknown_issuer1_main_hdrs=""
  2506. bad_server_cert_unknown_issuer1_main_content:
  2507. <html>
  2508. <head>
  2509. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2510. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  2511. {disable_right_click_js}
  2512. </head>
  2513. <body class=content>
  2514. <form>
  2515. <P>
  2516. {_server_cert_domain_info unknown_issuer_domain_wrapper}
  2517. </p>
  2518. <div class=Plainbox>
  2519. <TABLE>
  2520. <TR valign=top>
  2521. <TD><div>
  2522. <input type="button" value="{text_view}" width="90" onClick="window.open('get?baseRef=server_cert_view&target=%1$d','popup','width=520,height=350,status=no,toolbar=no,menubar=no,screenX=100,screenY=100')">
  2523. </div></TD>
  2524. <TD>
  2525. <P>{examine_text}</P>
  2526. </TD>
  2527. </TR>
  2528. </TABLE>
  2529. </div>
  2530. <form>
  2531. </body>
  2532. </html>
  2533. :bad_server_cert_unknown_issuer1_main_content
  2534. bad_server_cert_unknown_issuer1_buttons_type="text/html"
  2535. bad_server_cert_unknown_issuer1_buttons_hdrs=""
  2536. bad_server_cert_unknown_issuer1_buttons_content:
  2537. <html>
  2538. <head>
  2539. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2540. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  2541. {disable_right_click_js}
  2542. </head>
  2543. <body alink="#333399" onLoad="parent.SetHelpURL('help.htm#1036414')">
  2544. <form method="get" action="unknownIssuerStep1">
  2545. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  2546. <input type=hidden name="target" value="%1$d">
  2547. <div align=right>
  2548. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 HEIGHT="100%%" >
  2549. <tr ALIGN=RIGHT VALIGN=CENTER>
  2550. <td>
  2551. <div class=BUTTONSPACE>
  2552. <input type="submit" name="do_cancel" value="{text_cancel}" width="72">
  2553. </div>
  2554. </td>
  2555. <td>
  2556. <div class=BUTTONSPACE>
  2557. <input type="submit" name="do_next" value="{text_next}" width="72">
  2558. </div>
  2559. </td>
  2560. <td>
  2561. <div class=BUTTONSPACEHELP>
  2562. <input type="button" name="do_help" value="{text_help}" width="72" onClick="parent.OpenHelp()">
  2563. </div>
  2564. </td>
  2565. </tr>
  2566. </table>
  2567. </div>
  2568. </form>
  2569. </body>
  2570. </html>
  2571. :bad_server_cert_unknown_issuer1_buttons_content
  2572. bad_server_cert_unknown_issuer2_type="text/html"
  2573. bad_server_cert_unknown_issuer2_hdrs=""
  2574. bad_server_cert_unknown_issuer2_width=520
  2575. bad_server_cert_unknown_issuer2_height=350
  2576. bad_server_cert_unknown_issuer2_content:
  2577. {frame_set bad_server_cert_unknown_issuer2,formsubmit}
  2578. :bad_server_cert_unknown_issuer2_content
  2579. bad_server_cert_unknown_issuer2_top_type="text/html"
  2580. bad_server_cert_unknown_issuer2_top_hdrs=""
  2581. bad_server_cert_unknown_issuer2_top_content:
  2582. {top_frame bad_server_cert_unknown_step2_title,alert1gif,35,35}
  2583. :bad_server_cert_unknown_issuer2_top_content
  2584. bad_server_cert_unknown_issuer2_main_type="text/html"
  2585. bad_server_cert_unknown_issuer2_main_hdrs=""
  2586. bad_server_cert_unknown_issuer2_main_content:
  2587. <html>
  2588. <head>
  2589. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2590. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  2591. {disable_right_click_js}
  2592. </head>
  2593. {formsubmit document.forms[0]}
  2594. <body class=content>
  2595. <form method="get" action="formsubmit_handler" name="bad_server_cert">
  2596. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  2597. <input type=hidden name="target" value="%1$d">
  2598. <P>
  2599. {_server_cert_info simple,unknown_issuer_accept_format,unknown_issuer_accept_format}
  2600. </P>
  2601. <div class=Plainbox>
  2602. <TABLE>
  2603. <TR valign=top>
  2604. <TD>
  2605. <input type="radio" name="accept" value="permanent">
  2606. </TD>
  2607. <TD>
  2608. <DIV CLASS=Plain>{accept_permanent}</div>
  2609. </TD>
  2610. </TR>
  2611. <TR valign=top>
  2612. <TD>
  2613. <input type="radio" name="accept" value="session" checked>
  2614. </TD>
  2615. <TD>
  2616. <DIV CLASS=Plain>{accept_session}</div>
  2617. </TD>
  2618. </TR>
  2619. <TR valign=top>
  2620. <TD>
  2621. <input type="radio" name="accept" value="no">
  2622. </TD>
  2623. <TD>
  2624. <DIV CLASS=Plain>{accept_not}</div>
  2625. </TD>
  2626. </TR>
  2627. </TABLE>
  2628. </div>
  2629. <form>
  2630. </body>
  2631. </html>
  2632. :bad_server_cert_unknown_issuer2_main_content
  2633. ;
  2634. ; due to difference in button labeling, I have to write this out in verbatim
  2635. ;
  2636. bad_server_cert_unknown_issuer2_buttons_type="text/html"
  2637. bad_server_cert_unknown_issuer2_buttons_hdrs=""
  2638. bad_server_cert_unknown_issuer2_buttons_content:
  2639. <html>
  2640. <head>
  2641. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2642. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  2643. {disable_right_click_js}
  2644. </head>
  2645. <body alink="#333399" onLoad="parent.SetHelpURL('help.htm#1036414')">
  2646. <form method="get" action="ok_cancel_handler" name="ok_cancel_handler_form">
  2647. <input type=hidden name="target" value="%1$d">
  2648. <input type=hidden name="baseRef" value="formsubmit_dosubmit_js">
  2649. <div align=right>
  2650. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 HEIGHT="100%%" >
  2651. <tr ALIGN=RIGHT VALIGN=CENTER>
  2652. <td>
  2653. <div class=BUTTONSPACE>
  2654. <input type="submit" name="Cancel" value="{text_cancel}" width="72">
  2655. </div>
  2656. </td>
  2657. <td>
  2658. <div class=BUTTONSPACE>
  2659. <input type="submit" name="OK" value="{text_finished}" width="72">
  2660. </div>
  2661. <input type=hidden name="formName" value="bad_server_cert">
  2662. </td>
  2663. <td>
  2664. <div class=BUTTONSPACEHELP>
  2665. <input type="button" name="Help" value="{text_help}" width="72" onClick="parent.OpenHelp()">
  2666. </div>
  2667. </td>
  2668. </tr>
  2669. </table>
  2670. </div>
  2671. </form>
  2672. </body>
  2673. </html>
  2674. :bad_server_cert_unknown_issuer2_buttons_content
  2675. ;
  2676. ; server_cert_view
  2677. ;
  2678. ; this is to pop up a view server cert window (pretty print)
  2679. ; note that for the time being the target should be an SSMSSLDataConnection
  2680. ; object (thus this may not be of interest to anyone else)
  2681. ; but hopefully I can make it general enough so that people only have to
  2682. ; implement a keyword handler
  2683. ;
  2684. server_cert_view_type=text/html
  2685. server_cert_view_hdrs=""
  2686. server_cert_view_width=520
  2687. server_cert_view_height=350
  2688. server_cert_view_content:
  2689. {frame_set server_cert_view,windowclose}
  2690. :server_cert_view_content
  2691. ;
  2692. ; for some reason mmullany did not use the CCS so I won't use the macros
  2693. ;
  2694. server_cert_view_top_type=text/html
  2695. server_cert_view_top_hdrs=""
  2696. server_cert_view_top_content:
  2697. {top_frame server_cert_view_header,lockedgif,35,35}
  2698. :server_cert_view_top_content
  2699. server_cert_view_buttons_type=text/html
  2700. server_cert_view_buttons_hdrs=""
  2701. server_cert_view_buttons_content:
  2702. <html>
  2703. <head>
  2704. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2705. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  2706. </head>
  2707. <body bgcolor="#CCCCCC" link="#6666CC" vlink="#6666CC" alink="#333399"
  2708.       onLoad="parent.SetHelpURL('help.htm#1049021')">
  2709. <form method="get" action="get">
  2710. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  2711. <div align=right>
  2712. <table border=0 cellspacing=0 cellpadding=0 height=100%%>
  2713. <tr align=right valign=center>
  2714. <td width=50%%>
  2715. <div class=buttonspace>
  2716. <input type="submit" name="do_ok" value="{text_ok}" width="72">
  2717. </div>
  2718. </td>
  2719. <td width=30%%>
  2720. <div class=BUTTONSPACE>
  2721. <input type="button" name="do_help" value="{text_help}" width="72"
  2722.         onClick="parent.OpenHelp()">
  2723. </div>
  2724. </td>
  2725. </tr>
  2726. </table>
  2727. </div>
  2728. </form>
  2729. </body>
  2730. </html>
  2731. :server_cert_view_buttons_content
  2732. server_cert_view_main_type=text/html
  2733. server_cert_view_main_hdrs=""
  2734. server_cert_view_main_content:
  2735. <html>
  2736. <head>
  2737. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2738. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  2739. {disable_right_click_js}
  2740. </head>
  2741. <body class=CONTENT>
  2742. <p>
  2743. <table>
  2744. <td WIDTH="10"></td>
  2745. <tr></tr>
  2746. <tr>
  2747. <td>
  2748. <div>
  2749. {_verify_server_cert}
  2750. </div>
  2751. </td>
  2752. </tr>
  2753. </table>
  2754. <table CELLSPACING=0 CELLPADDING=0>
  2755. <tr>
  2756. <td WIDTH="10"></td>
  2757. <td>
  2758. <table border=0 cellspacing=0>
  2759. <tr>
  2760. <td colspan="3"> &nbsp;
  2761. <div>
  2762. {_server_cert_info pretty,view_cert_wrapper,view_cert_wrapper_no_comment}
  2763. </div>
  2764. </td>
  2765. </tr>
  2766. </table>
  2767. </td>
  2768. </tr>
  2769. </table>
  2770. </body>
  2771. </html>
  2772. :server_cert_view_main_content
  2773. ;
  2774. ; _verify_server_cert: places a cert verification result
  2775. ; usage: {_verify_server_cert verify_cert_bad_string}
  2776. ;
  2777. verify_bad_string:
  2778. <tr>
  2779. <td><div><font size=-1>{bad_cert_pre_text}</font></div></td>
  2780. <td></td>
  2781. </tr>
  2782. <tr>
  2783. <td><div><b><font face="{nsm_view_cert_font}"><font size=-1>%1$s</font></font></b></div></td>
  2784. <td></td>
  2785. </tr>
  2786. <tr>
  2787. <td><div><font face="{nsm_view_cert_font}"><font size=-1>{bad_cert_post_text}
  2788. </font></font></div></td>
  2789. <td></td>
  2790. </tr>
  2791. :verify_bad_string
  2792. cert_usage_wrapper:
  2793. <script language="javascript">
  2794. var usage = [ {sslClient} ,  {sslServer} ,  {sslServerStepUp} , 
  2795.       {sslCA} ,  {emailSigner} ,  {emailRecipient} ,
  2796.       {objectSignerCert} ,  {userImport} ,  {caVerifier} ,
  2797.       {protectObjectSigner} ,  {statusResponder} ,
  2798.       {anyCA} ];
  2799. var verified = new Array();
  2800. var valid = '%13$d';
  2801. var i = 0;
  2802. verified[0] = '%1$d';
  2803. verified[1] = '%2$d';
  2804. verified[2] = '%3$d';
  2805. verified[3] = '%4$d';
  2806. verified[4] = '%5$d';
  2807. verified[5] = '%6$d';
  2808. verified[6] = '%7$d';
  2809. verified[7] = '%8$d';
  2810. verified[8] = '%9$d';
  2811. verified[9] = '%10$d';
  2812. verified[10] = '%11$d';
  2813. verified[11] = '%12$d';
  2814. function print_verify_info() 
  2815. {
  2816.    document.write('<ul>');
  2817.    for (i = 0; i<13; i++)
  2818.      if (verified[i]=='1')
  2819.        document.write('<li>',usage[i]);
  2820.      document.write('</ul>');
  2821. }
  2822. if (valid == '1')
  2823.   print_verify_info();
  2824. </script>
  2825. :cert_usage_wrapper
  2826. ;
  2827. ; Javascript used for formatting in verify cert and view cert
  2828. ;
  2829. cat_component_func:
  2830. <script language=javascript>
  2831. function cat_name_component(n, c)
  2832. {
  2833.     if (c == '')
  2834.         return n;
  2835.     if (n != '')
  2836.         n = n + ', ';
  2837.     n = n + c;
  2838.     return n;
  2839. }
  2840. </script>
  2841. :cat_component_func
  2842. view_cert_wrapper_no_comment:
  2843. <script language=javascript>
  2844. function cat_name_component(n, c)
  2845. {
  2846.     if (c == '')
  2847.         return n;
  2848.     if (n != '')
  2849.         n = n + ', ';
  2850.     n = n + c;
  2851.     return n;
  2852. }
  2853. var cert_name = '';
  2854. var cert_cn = '%1$s';
  2855. var cert_e = '%2$s';
  2856. var cert_ou = '%3$s';
  2857. var cert_o = '%4$s';
  2858. var cert_lo = '%5$s';
  2859. var cert_st = '%6$s';
  2860. var cert_c = '%7$s';
  2861. cert_name = cert_cn;
  2862. cert_name = cat_name_component(cert_name, cert_e);
  2863. cert_name = cat_name_component(cert_name, cert_ou);
  2864. cert_name = cat_name_component(cert_name, cert_o);
  2865. cert_name = cat_name_component(cert_name, cert_lo);
  2866. cert_name = cat_name_component(cert_name, cert_st);
  2867. cert_name = cat_name_component(cert_name, cert_c);
  2868. if (cert_name == '')
  2869.     cert_name = "{text_no_cert_name}";
  2870. </script>
  2871. <table BORDER=0 CELLSPACING=0 WIDTH="100%%%%" >
  2872. <tr VALIGN=TOP>
  2873. <td>
  2874. <div align=right><font size=-1>{text_name}</font>
  2875. </div>
  2876. </td>
  2877. <td WIDTH="10"></td>
  2878. <td><div><font size=-1>
  2879. <script language=javascript>
  2880. document.write(cert_name);</script></div></font>
  2881. </td>
  2882. </tr>
  2883. <tr VALIGN=TOP>
  2884. <td>
  2885. <div align=right>
  2886. <font size=-1>{serverCert_issuer}</font>
  2887. </div>
  2888. </td>
  2889. <td WIDTH="10"></td>
  2890. <td><div><font face="{nsm_view_cert_font}"><font size=-1>%8$s</font></font></div></td>
  2891. </tr>
  2892. <tr VALIGN=TOP>
  2893. <td>
  2894. <div align=right>
  2895. <font face="{nsm_view_cert_font}" size=-1>{serial_number}</font>
  2896. </div>
  2897. </td>
  2898. <td></td>
  2899. <td><div><font face="{nsm_view_cert_font}"><font size=-1>%9$s</font></font></div></td>
  2900. </tr>
  2901. <tr VALIGN=TOP>
  2902. <td>
  2903. <div align=right>
  2904. <font face="{nsm_view_cert_font}" size=-1>{text_validity}</font>
  2905. </div>
  2906. </td>
  2907. <td></td>
  2908. <td><div><font face="{nsm_view_cert_font}" size=-1>{date_a_to_date_b}</font></div></td>
  2909. </tr>
  2910. <tr VALIGN=TOP>
  2911. <td>
  2912. <div align=right>
  2913. <font face="{nsm_view_cert_font}" size=-1>{text_fingerprint}</font>
  2914. </div>
  2915. </td>
  2916. <td></td>
  2917. <td><div><font face="{nsm_view_cert_font}" size=-1>%12$s</font></div></td>
  2918. </tr>
  2919. <tr><td></td></tr>
  2920. <td></td>
  2921. </table>
  2922. </td></tr>
  2923. </table>
  2924. :view_cert_wrapper_no_comment
  2925. view_cert_wrapper:
  2926. {view_cert_wrapper_no_comment}
  2927. <table BORDER=0 CELLSPACING=0 WIDTH="100%%%%" >
  2928. <tr  valign=top>
  2929. <td>
  2930. <div align=right>
  2931. <font face="{nsm_view_cert_font}" size=-1>{text_comment}</font>
  2932. </div>
  2933. </td>
  2934. <td></td>
  2935. <td><div><form><textarea rows="4" cols="30" wrap ="soft">
  2936. %13$s
  2937. </textarea></form></div></td>
  2938. </tr>
  2939. </table>
  2940. </td>
  2941. <td></td>
  2942. </tr>
  2943. :view_cert_wrapper
  2944. disable_right_click_js:
  2945. <script language=javascript>
  2946. <!--
  2947. function disableRightMouseClick()
  2948. {
  2949.     if (typeof(crypto) != "undefined" && 
  2950.         typeof(crypto.disableRightClick) == "function") {
  2951.             crypto.disableRightClick();
  2952.         }
  2953. }
  2954. disableRightMouseClick();
  2955. // -->
  2956. </script>
  2957. :disable_right_click_js
  2958. ;
  2959. ;---- sjlee: the following is a simple framework for handling standalone
  2960. ;----        dialogs.  This may or may not be useful to others but be sure to 
  2961. ;----        take a look.
  2962. ;
  2963. ;
  2964. ; frame_set: use this macro to create a frameset occurring repeatedly
  2965. ; {$1}: baseRef, {$2}: formsubmit or windowclose
  2966. ; e.g. {frame_set client_auth,formsubmit}
  2967. ;
  2968. ; then provide baseRef_top, baseRef_main, baseRef_buttons
  2969. ; Note: help javascript is also embedded here.
  2970. ;
  2971. frame_set:
  2972. <html>
  2973. <head>
  2974. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2975. <title></title>
  2976. {help_monitor_js}
  2977. {{$2}_monitor_js}
  2978. {disable_right_click_js}
  2979. <frameset rows="50,*,40" border="0" frameborder="NO">
  2980. <frame src="get?baseRef={$1}_top&target=%1$d" name="DialogTop" scrolling="NO" marginwidth="0" marginheight="0">
  2981. <frame src="get?baseRef={$1}_main&target=%1$d" name="DialogContent" scrolling="Auto" marginwidth="0" marginheight="0">
  2982. <frame src="get?baseRef={$1}_buttons&target=%1$d" name="DialogFoot" scrolling="NO" marginwidth="0" marginheight="0">
  2983. </frameset>
  2984. </head>
  2985. </html>
  2986. :frame_set
  2987. ;
  2988. ; This frame set is intended to pass down variables using variables passed
  2989. ; down to the macro instead of having the executable fill it in from code
  2990. ; through a printf
  2991. ;
  2992. frame_set_pass_var:
  2993. <html>
  2994. <head>
  2995. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  2996. <title></title>
  2997. {help_monitor_js}
  2998. {{$2}_monitor_js}
  2999. {disable_right_click_js}
  3000. <frameset rows="50,*,40" border="0" frameborder="NO">
  3001. <frame src="get?baseRef={$1}_top&target=%1$d" name="DialogTop" scrolling="NO" marginwidth="0" marginheight="0">
  3002. <frame src="get?baseRef={$1}_main&target=%1$d{pass_var {$3}}" name="DialogContent" scrolling="Auto" marginwidth="0" marginheight="0">
  3003. <frame src="get?baseRef={$1}_buttons&target=%1$d" name="DialogFoot" scrolling="NO" marginwidth="0" marginheight="0">
  3004. </frameset>
  3005. </head>
  3006. </html>
  3007. :frame_set_pass_var
  3008. ;
  3009. ; This macro does the same thing as frame_set, except it allows to pass
  3010. ; 2 more parameters to the frames from the top URL
  3011. ;
  3012. frame_set_param:
  3013. <html>
  3014. <head>
  3015. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3016. <title></title>
  3017. {help_monitor_js}
  3018. {{$2}_monitor_js}
  3019. {disable_right_click_js}
  3020. <frameset rows="50,*,40" border="0" frameborder="NO">
  3021. <frame src="get?baseRef={$1}_top&target=%1$d" name="DialogTop" scrolling="NO" marginwidth="0" marginheight="0">
  3022. <frame src="get?baseRef={$1}_main&target=%1$d&action=%2$s&content=%3$s" name="DialogContent" scrolling="Auto" marginwidth="0" marginheight="0">
  3023. <frame src="get?baseRef={$1}_buttons&target=%1$d&content=%2$s" name="DialogFoot" scrolling="NO" marginwidth="0" marginheight="0">
  3024. </frameset>
  3025. </head>
  3026. </html>
  3027. :frame_set_param
  3028. ;
  3029. ; This macro does the same thing as frame_set, except it allows to pass
  3030. ; 3 more parameters to the frames from the top URL
  3031. ;
  3032. frame_set_3param:
  3033. <html>
  3034. <head>
  3035. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3036. <title></title>
  3037. {help_monitor_js}
  3038. {{$2}_monitor_js}
  3039. {disable_right_click_js}
  3040. <frameset rows="50,*,40" border="0" frameborder="NO">
  3041. <frame src="get?baseRef={$1}_top&target=%1$d" name="DialogTop" scrolling="NO" marginwidth="0" marginheight="0">
  3042. <frame src="get?baseRef={$1}_main&target=%1$d&action=%2$s&content=%3$s&origin=%4$s" name="DialogContent" scrolling="Auto" marginwidth="0" marginheight="0">
  3043. <frame src="get?baseRef={$1}_buttons&target=%1$d&content=%2$s" name="DialogFoot" scrolling="NO" marginwidth="0" marginheight="0">
  3044. </frameset>
  3045. </head>
  3046. </html>
  3047. :frame_set_3param
  3048. ;
  3049. ; top_frame: use this to compose the top frame
  3050. ; {$1}: header keyword (this should be a keyword), {$2}: URL of the image file
  3051. ; {$3}: image width, {$4}: image height
  3052. ; e.g. {top_frame client_auth_header,client_authjpg,35,30}
  3053. ;
  3054. ; then provide the definition of the header in nsm_text.properties.in, and
  3055. ; provide the image file in nsm_bin.properties.in
  3056. ;
  3057. top_frame:
  3058. <html>
  3059. <head>
  3060. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3061. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3062. {disable_right_click_js}
  3063. </head>
  3064. <body CLASS=TOP alink="#333399">
  3065. <table>
  3066. <tr ALIGN="LEFT" VALIGN="top">
  3067. <!--- <td><img src="get?baseRef={$2}" width="{$3}" height="{$4}"></td> --->
  3068. <td><H1>{{$1}}</H1></td>
  3069. </tr>
  3070. </table>
  3071. </body>
  3072. </html>
  3073. :top_frame
  3074. top_frame_no_image:
  3075. <html>
  3076. <head>
  3077. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3078. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3079. {disable_right_click_js}
  3080. </head>
  3081. <body CLASS=TOP alink="#333399">
  3082. <table>
  3083. <tr ALIGN="LEFT" VALIGN="top">
  3084. <!-- <img src="get?baseRef={$2}" ...> -->
  3085. <td><H1>{{$1}}</H1></td>
  3086. </tr>
  3087. </table>
  3088. </body>
  3089. </html>
  3090. :top_frame_no_image
  3091. ;
  3092. ; formsubmit_buttons_frame: use this to compose the buttons frame in which
  3093. ; one has three buttons (ok, cancel, and help) and form submission is done
  3094. ; {$1}: form name, {$2}: help URL
  3095. ; e.g. {formsubmit_buttons_frame form_name,help.htm#1036330}
  3096. ;
  3097. formsubmit_buttons_frame:
  3098. <html>
  3099. <head>
  3100. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3101. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  3102. {disable_right_click_js}
  3103. </head>
  3104. <body class=foot alink="#333399" onLoad="parent.SetHelpURL('{$2}')">
  3105. {ok_cancel_help {$1},formsubmit_dosubmit_js,ok_cancel_handler}
  3106. </body>
  3107. </html>
  3108. :formsubmit_buttons_frame
  3109. ;
  3110. ; windowclose_buttons_frame: use this to compose the buttons frame in which
  3111. ; one has only two buttons (ok and help) and no form submission is involved
  3112. ; {$1}: command keyword for which the command handler is registered
  3113. ; {$2}: help URL
  3114. ; e.g. {windowclose_buttons_frame BCAButton,help.htm#1036343}
  3115. ;
  3116. windowclose_buttons_frame:
  3117. <html>
  3118. <head>
  3119. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3120. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  3121. {disable_right_click_js}
  3122. </head>
  3123. <body class=foot alink="#333399" onLoad="parent.SetHelpURL('{$2}')">
  3124. {simple_ok_help {$1}}
  3125. </body>
  3126. </html>
  3127. :windowclose_buttons_frame
  3128. simple_ok_help:
  3129. <form method="get" action="{$1}">
  3130. <div align=right>
  3131. <table border="0" height="100%%" cellspacing="0" cellpadding="0">
  3132. <tr align=right valign=center>
  3133. <td>
  3134. <div class=BUTTONSPACE>
  3135. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  3136. <input type=hidden name="target" value="%1$d">
  3137. <input type="SUBMIT" name="do_ok" value="{text_ok}" width="72">
  3138. </div>
  3139. </td>
  3140. <td>
  3141. <div class=BUTTONSPACEHELP>
  3142. <input type="button" name="do_help" value="{text_help}" width="72" onClick="parent.OpenHelp()">
  3143. </div>
  3144. </td>
  3145. </tr>
  3146. </table>
  3147. </div>
  3148. </form>
  3149. :simple_ok_help
  3150. signtext_auto_type="text/html"
  3151. signtext_auto_hdrs=""
  3152. signtext_auto_width=520
  3153. signtext_auto_height=500
  3154. signtext_auto_content:
  3155. <html>
  3156. {formsubmit_monitor_js}
  3157. <frameset rows="50,*,100,40" border="0" frameborder="NO">
  3158. <frame src="get?baseRef=signtext_top&target=%1$d" name="SignTextTop" scrolling="NO" marginwidth="0" marginheight="0">
  3159. <frame src="get?baseRef=signtext_content&target=%1$d" name="SignTextContent" scrolling="Auto" marginwidth="0" marginheight="0">
  3160. <frame src="get?baseRef=signtext_cert_auto&target=%1$d" name="SignTextCert" scrolling="Auto" marginwidth="0" marginheight="0">
  3161. <frame src="get?baseRef=signtext_bottom&target=%1$d" name="SignTextFoot" scrolling="NO" marginwidth="0" marginheight="0">
  3162. </frameset>
  3163. </html>
  3164. :signtext_auto_content
  3165. signtext_ask_type="text/html"
  3166. signtext_ask_hdrs=""
  3167. signtext_ask_width=520
  3168. signtext_ask_height=500
  3169. signtext_ask_content:
  3170. <html>
  3171. {formsubmit_monitor_js}
  3172. <frameset rows="50,*,110,40" border="0" frameborder="NO">
  3173. <frame src="get?baseRef=signtext_top&target=%1$d" name="SignTextTop" scrolling="NO" marginwidth="0" marginheight="0">
  3174. <frame src="get?baseRef=signtext_content&target=%1$d" name="SignTextContent" scrolling="Auto" marginwidth="0" marginheight="0">
  3175. <frame src="get?baseRef=signtext_cert_ask&target=%1$d" name="SignTextCert" scrolling="Auto" marginwidth="0" marginheight="0">
  3176. <frame src="get?baseRef=signtext_bottom&target=%1$d" name="SignTextFoot" scrolling="NO" marginwidth="0" marginheight="0">
  3177. </frameset>
  3178. </html>
  3179. :signtext_ask_content
  3180. signtext_top_type=text/html
  3181. signtext_top_hdrs=
  3182. signtext_top_content:
  3183. <html>
  3184. <head>
  3185. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3186. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3187. {disable_right_click_js}
  3188. </head>
  3189. <body CLASS=TOP alink="#333399">
  3190. <table>
  3191. <tr ALIGN="LEFT" VALIGN="top">
  3192. <td><img src="signed.JPG" width="30" height="30"></td>
  3193. <td><H1>{sig_request}</H1></td>
  3194. </tr>
  3195. </table>
  3196. </body>
  3197. </html>
  3198. :signtext_top_content
  3199. signtext_content_type=text/html
  3200. signtext_content_hdrs=
  3201. signtext_content_content:
  3202. <html>
  3203. <blockquote>
  3204. <!---- unused %1$d %2$s ----->
  3205. %3$s
  3206. </blockquote>
  3207. </html>
  3208. :signtext_content_content
  3209. signtext_cert_auto_type=text/html
  3210. signtext_cert_auto_hdrs=
  3211. signtext_cert_auto_content:
  3212. <html>
  3213. {formsubmit document.forms[0]}
  3214. <head>
  3215. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3216. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvmodalstyle">
  3217. {disable_right_click_js}
  3218. </head>
  3219. <body class=foot alink="#333399">
  3220. <form action="formsubmit_handler" method=get>
  3221. <input type=hidden name="target" value="%1$d">
  3222. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  3223. </form>
  3224. <p>
  3225. {site_requests_signature}
  3226. </p>
  3227. <p>
  3228. {following_cert_used_to_sign}
  3229. </p>
  3230. <!------ unused %3$s -------->
  3231. </body>
  3232. </html>
  3233. :signtext_cert_auto_content
  3234. signtext_cert_ask_type=text/html
  3235. signtext_cert_ask_hdrs=
  3236. signtext_cert_ask_content:
  3237. <html>
  3238. {formsubmit document.forms[0]}
  3239. <head>
  3240. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3241. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvmodalstyle">
  3242. {disable_right_click_js}
  3243. </head>
  3244. <body class=foot alink="#333399">
  3245. <form action="formsubmit_handler" method=get>
  3246. <input type=hidden name="target" value="%1$d">
  3247. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  3248. <table cellpadding=0 border=0 cellspacing=0>
  3249. <tr>
  3250. <td colspan=2>
  3251. <p>
  3252. {site_requests_signature}
  3253. </p>
  3254. </td>
  3255. </tr>
  3256. <tr>
  3257. <td>
  3258. <p>{which_cert_to_sign}</p>
  3259. </td>
  3260. <td>
  3261. {_signtext_certList userCert_prefix,userCert_wrapper,userCert_suffix}
  3262. </td>
  3263. </tr>
  3264. </table>
  3265. </form>
  3266. </body>
  3267. </html>
  3268. :signtext_cert_ask_content
  3269. signtext_bottom_type=text/html
  3270. signtext_bottom_hdrs=
  3271. signtext_bottom_content:
  3272. <html>
  3273. <head>
  3274. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3275. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=secadvmodalstyle">
  3276. {disable_right_click_js}
  3277. </head>
  3278. <body class=foot alink="#333399" onLoad="">
  3279. <!-- hook up signtext_help target above -->
  3280. {ok_cancel_help signtext_form,formsubmit_dosubmit_js,ok_cancel_handler}
  3281. </body>
  3282. </html>
  3283. :signtext_bottom_content
  3284. ;
  3285. ; The dialog for telling the user the CA wants them to back up their cert.
  3286. ;
  3287. backup_new_cert_type=text/html
  3288. backup_new_cert_height=350
  3289. backup_new_cert_width=520
  3290. backup_new_cert_content={frame_set cert_issue_backup,windowclose}
  3291. cert_issue_backup_top_type=text/html
  3292. cert_issue_backup_top_hdrs=
  3293. cert_issue_backup_top_content:
  3294. {top_frame security_certificate_backup,alert1gif,35,35}
  3295. :cert_issue_backup_top_content
  3296. cert_issue_backup_main_type=text/html
  3297. cert_issue_backup_main_hdrs=
  3298. cert_issue_backup_main_content:
  3299. <html>
  3300. <head>
  3301. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3302. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3303. {disable_right_click_js}
  3304. </head>
  3305. <body class=content>
  3306. <p> 
  3307. {issue_backup_statement}
  3308. </p>
  3309. <p>
  3310. {can_restore_from_file}
  3311. </p>
  3312. <p>
  3313. {press_backup_to_continue}
  3314. </p>
  3315. <p>
  3316. {prompts_for_all_certs}
  3317. </p>
  3318. </body>
  3319. </html>
  3320. :cert_issue_backup_main_content
  3321. cert_issue_backup_buttons_type=text/html
  3322. cert_issue_backup_buttons_hdrs=
  3323. cert_issue_backup_buttons_content:
  3324. <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  3325. <html>
  3326. <head>
  3327. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3328. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  3329. {disable_right_click_js}
  3330. </head>
  3331. <body class=foot alink="#333399" onLoad="parent.SetHelpURL('help.htm#1036319')">
  3332. <form method="get" action="ok_cancel_handler" name="cert_issue_backup_form">
  3333. <input type=hidden name="target" value="%1$d">
  3334. <input type=hidden name="formName" value="cert_issue_backup_form">
  3335. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  3336. <div align=right>
  3337. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 HEIGHT="100%%" >
  3338. <tr ALIGN=RIGHT VALIGN=CENTER>
  3339. <td>
  3340. <div class=BUTTONSPACE>
  3341. <input type="submit" name="OK" value="{text_backup_dots}" width="72"">
  3342. </div>
  3343. </td>
  3344. <td>
  3345. <div class=BUTTONSPACEHELP>
  3346. <input type="button" name="Help" value="{text_help}" width="72" 
  3347.     onClick="parent.OpenHelp()">
  3348. </div>
  3349. </td>
  3350. </tr>
  3351. </table>
  3352. </div>
  3353. </form>
  3354. </body>
  3355. </html>
  3356. :cert_issue_backup_buttons_content
  3357. verification_setup_type=text/html
  3358. verification_setup_hdrs=
  3359. verification_setup_content={frame_set verification_config,formsubmit}
  3360. verification_config_top_type=text/html
  3361. verification_config_top_hdrs=
  3362. verification_config_top_content:
  3363. {top_frame verification_services,lockedgif,35,35}
  3364. :verification_config_top_content
  3365. default_responder_template=<option value="%1$s">%1$s
  3366. ocsp_list_prefix:
  3367. <script language=javascript>
  3368. document.writeln('<select NAME="selectCert" onChange="setDefaultServiceURL(true);">{_default_ocsp_responder}');
  3369. :ocsp_list_prefix
  3370. ocsp_list_wrapper:
  3371. value="%1$s";
  3372. ocspLocation = "%2$s";
  3373. value = value.replace(/'/g, "&#39;");
  3374. ocspLocation = ocspLocation.replace(/'/g, "&#39;");
  3375. document.writeln('<option value="'+value+'">'+value);
  3376. addNewServiceURL(value, ocspLocation);
  3377. :ocsp_list_wrapper
  3378. ocsp_list_suffix:
  3379. document.writeln('</select>');
  3380. </script>
  3381. :ocsp_list_suffix
  3382. ocsp_options_template:
  3383. <div><input type="RADIO" name="enableOCSP" value="noOCSP" %1$s>{dont_use_ocsp}<br>
  3384. <input type="RADIO" name="enableOCSP" value="noDefaultResponder" %2$s>{use_ocsp_if_extension}<br>
  3385. <input type="RADIO" name="enableOCSP" value="useDefaultResponder" %3$s>{use_ocsp_for_all}</div>
  3386. <table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%%%%">
  3387. <tr VALIGN=CENTER>
  3388. <td width="10"></td><td><div align=left><UL><LI>{service_url}</LI></UL> </div></td>
  3389. <td><div><input type="text" name="ocspURL" size="33" value="%4$s"></div></td>
  3390. </tr>
  3391. <tr>
  3392. <td width="10"></td><td><div align=left><UL><LI>{response_signer}</LI></UL></div></td>
  3393. <td><div>{_ocsp_responder_list ocsp_list_prefix,ocsp_list_suffix}
  3394. </div></td>
  3395. </tr>
  3396. </table>
  3397. :ocsp_options_template
  3398. verification_config_main_type=text/html
  3399. verification_config_main_hdrs=
  3400. verification_config_main_content:
  3401. <html>
  3402. <head>
  3403. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3404. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3405. {disable_right_click_js}
  3406. <script language=javascript>
  3407. <!---
  3408. var locations = new Object();
  3409. var ocspLocation;
  3410. var value;
  3411. function addNewServiceURL(caNickName, serviceURL)
  3412. {
  3413.     locations[caNickName] = serviceURL;
  3414. }
  3415. function setDefaultServiceURL(forceSelect)
  3416. {
  3417.     var form = document.forms[0];
  3418.     var defaultResponder = form.elements.selectCert;
  3419.     var serviceURL = form.elements.ocspURL;
  3420.     var responderNickname = 
  3421.           defaultResponder.options[defaultResponder.selectedIndex].value;    
  3422.     serviceURL.value = locations[responderNickname];
  3423.     if (forceSelect) {
  3424.         form.enableOCSP[2].checked = true;
  3425.     }
  3426. }
  3427. // -->
  3428. </script>
  3429. </head>
  3430. <body class=content onLoad = "setDefaultServiceURL(false);">
  3431. {formsubmit document.forms[0]}
  3432. <br>
  3433. <div>
  3434. {psm_knows_ocsp}
  3435. </div>
  3436. <br><div>
  3437. {configure_ocsp_as_follows}
  3438. <form method=get action="formsubmit_handler" name="configureOCSPForm">
  3439. <input type=hidden name="target" value="%1$d">
  3440. <input type=hidden name="formName" value="configureOCSPForm">
  3441. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  3442. {_ocsp_options}
  3443. </form>
  3444. </div>
  3445. </body>
  3446. </html>
  3447. :verification_config_main_content
  3448. verification_config_buttons_type=text/html
  3449. verification_config_buttons_hdrs=
  3450. verification_config_buttons_content:
  3451. <html>
  3452. <head>
  3453. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3454. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  3455. {disable_right_click_js}
  3456. </head>
  3457. <body bgcolor="#CCCCCC"alink="#333399"  
  3458.       onLoad="parent.SetHelpURL('help.htm#1049128')">
  3459. {ok_cancel_help configureOCSPForm,formsubmit_dosubmit_js,ok_cancel_handler}
  3460. </body>
  3461. </html>
  3462. :verification_config_buttons_content
  3463. ;
  3464. ; glossary macro
  3465. ; syntax {glossary word,glossary_target}
  3466. ; e.g. {glossary certificate,certificate}
  3467. ;
  3468. glossary:
  3469. <A HREF="glossary.htm#{$2}" onClick="top.window.open('','psm_glossary','width={help_width},height={help_height},status=no,menubar=no,scrollbars,screenX=50,screenY=100')" TARGET="psm_glossary">{$1}</A> {glossary_icon}
  3470. :glossary
  3471. certPrettyPrint_type="text/html"
  3472. certPrettyPrint_hdrs=""
  3473. certPrettyPrint_width=520
  3474. certPrettyPrint_height=350
  3475. certPrettyPrint_content:
  3476. {frame_set certDump,windowclose}
  3477. :certPrettyPrint_content
  3478. certDump_top_type="text/html"
  3479. certDump_top_hdrs=""
  3480. certDump_top_content:
  3481. {top_frame view_cert_detail,alert1gif,35,35}
  3482. :certDump_top_content
  3483. certDump_buttons_type="text/html"
  3484. certDump_buttons_hdrs=""
  3485. certDump_buttons_content:
  3486. {windowclose_buttons_frame OKButton,help.htm#1055417}
  3487. :certDump_buttons_content
  3488. certPrettyPrefix:
  3489. <html>
  3490. <head>
  3491. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3492. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3493. {disable_right_click_js}
  3494. </head>
  3495. <body class=content alink="#FF0000">
  3496. <br>
  3497. <pre>
  3498. :certPrettyPrefix
  3499. certPrettySuffix:
  3500. </pre>
  3501. </body>
  3502. </html>
  3503. :certPrettySuffix
  3504. certDump_main_type="text/html"
  3505. certDump_main_hdrs=""
  3506. certDump_main_content:
  3507. <html>
  3508. <head>
  3509. </head>
  3510. <body>
  3511. <script language=javascript>
  3512. window.location = "certPrettyPrint?target=%1$d";
  3513. </script>
  3514. </body>
  3515. </html>
  3516. :certDump_main_content
  3517. issuer_not_found_type="text/html"
  3518. issuer_not_found_hdrs=""
  3519. issuer_not_found_width=520
  3520. issuer_not_found_height=350
  3521. issuer_not_found_content:
  3522. {frame_set no_issuer,windowclose}
  3523. :issuer_not_found_content
  3524. no_issuer_top_type="text/html"
  3525. no_issuer_top_hdrs=""
  3526. no_issuer_top_content:
  3527. {top_frame issuer_not_found_title,alert1gif,35,35}
  3528. :no_issuer_top_content
  3529. no_issuer_buttons_type="text/html"
  3530. no_issuer_buttons_hdrs=""
  3531. no_issuer_buttons_content:
  3532. {windowclose_buttons_frame OKButton,help.htm#1055437}
  3533. :no_issuer_buttons_content
  3534. no_issuer_main_type="text/html"
  3535. no_issuer_main_hdrs=""
  3536. no_issuer_main_content:
  3537. <html>
  3538. <head>
  3539. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3540. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3541. {disable_right_click_js}
  3542. </head>
  3543. <body class=content alink="#FF0000">
  3544. <br>
  3545. <p>
  3546. {issuer_not_in_db}
  3547. </p>
  3548. </body>
  3549. </html>
  3550. :no_issuer_main_content
  3551. cert_renewal_type="text/html"
  3552. cert_renewal_hdrs=""
  3553. cert_renewal_width=520
  3554. cert_renewal_height=350
  3555. cert_renewal_content:
  3556. <html>
  3557. {help_monitor_js}
  3558. <script language=JavaScript>
  3559. {pop_up_alert}
  3560. function submitCheck()
  3561. {
  3562. var renewal_url = CertRenewalContent.document.forms[0].elements['renewal_url'].value;
  3563. if (CertRenewalContent.document.forms[0].action[0].checked) {
  3564. window.top.open(renewal_url);
  3565. }
  3566. return true;
  3567. }
  3568. </script>
  3569. {formsubmit_monitor_with_check_js submitCheck}
  3570. {help_monitor_js}
  3571. <frameset rows="50,*,40" border="0" frameborder="NO">
  3572. <frame src="get?baseRef=cert_renewal_top&target=%1$d" name="CertRenewalTop" scrolling="NO" marginwidth="0" marginheight="0">
  3573. <frame src="get?baseRef=cert_renewal_main&target=%1$d" name="CertRenewalContent" scrolling="Auto" marginwidth="0" marginheight="0">
  3574. <frame src="get?baseRef=cert_renewal_bottom&target=%1$d" name="CertRenewalFoot" scrolling="NO" marginwidth="0" marginheight="0">
  3575. </frameset>
  3576. </html>
  3577. :cert_renewal_content
  3578. cert_renewal_top_type="text/html"
  3579. cert_renewal_top__hdrs=""
  3580. cert_renewal_top_content:
  3581. {top_frame cert_renewal_title,certgif,35,35}
  3582. :cert_renewal_top_content
  3583. cert_renewal_bottom_type=text/html
  3584. cert_renewal_bottom_hdrs=
  3585. cert_renewal_bottom_content={cert_renewal_bottom_template blank}
  3586. cert_renewal_bottom_template:
  3587. <html>
  3588. <head>
  3589. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3590. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalonefoot">
  3591. {disable_right_click_js}
  3592. </head>
  3593. {{$1}}
  3594. <body class=foot alink="#333399" 
  3595.       onLoad="parent.SetHelpURL('help.htm#1055232')">
  3596. {ok_cancel_help cert_renewal,pkcs12_button_reply,close_if_cancel}
  3597. </body>
  3598. </html>
  3599. :cert_renewal_bottom_template
  3600. cert_renewal_buttons_type="text/html"
  3601. cert_renewal_buttons_hdrs=""
  3602. cert_renewal_buttons_content:
  3603. {formsubmit_buttons_frame cert_renewal,help.htm#1055232}
  3604. :cert_renewal_buttons_content
  3605. ;
  3606. ; cert renewal main frame
  3607. ;
  3608. cert_renewal_main_type="text/html"
  3609. cert_renewal_main_hdrs=""
  3610. cert_renewal_main_content:
  3611. <html>
  3612. <head>
  3613. <meta http-equiv="Content-Type" content="text/html; charset={nsm_charset}">
  3614. <SCRIPT></SCRIPT><LINK REL=STYLESHEET TYPE="text/css" HREF="get?baseRef=standalone">
  3615. {disable_right_click_js}
  3616. </head>
  3617. {formsubmit document.forms[0]}
  3618. <body class=content alink="#FF0000">
  3619. <p>{cert_renewal_info_string}</p>
  3620. <form method="get" action="formsubmit_handler" name="cert_renewal">
  3621. <input type=hidden name="baseRef" value="windowclose_doclose_js">
  3622. <input type=hidden name="target" value="%1$d">
  3623. <table WIDTH=500px>
  3624. <tr VALIGN=CENTER>
  3625. <td ALIGN=CENTER WIDTH="90px"><img SRC="get?baseRef=certgif" height=60 width=80></td>
  3626. <td ALIGN=CENTER VALIGN=TOP>
  3627. {_renewal_cert_info}
  3628. </td></tr></table>
  3629. <HR WIDTH=96%% ALIGN=CENTER>
  3630. <div class=Plainbox>
  3631. <TABLE>
  3632. <TR valign=top>
  3633. <TD>
  3634. <input type="radio" name="action" value="now" checked>
  3635. </TD>
  3636. <TD>
  3637. <DIV CLASS=Plain>Renew this certificate now</DIV>
  3638. </TD>
  3639. </TR>
  3640. <TR valign=top>
  3641. <TD>
  3642. <input type="radio" name="action" value="later">
  3643. </TD>
  3644. <TD>
  3645. <DIV CLASS=Plain>Remind me to renew this certificate later</DIV>
  3646. </TD>
  3647. </TR>
  3648. </TABLE>
  3649. </div>
  3650. </form>
  3651. </body>
  3652. </html>
  3653. :cert_renewal_main_content
  3654. ;
  3655. ; cert renewal format
  3656. ;
  3657. cert_renewal_cert_info:
  3658. <table CELLSPACING=0 CELLPADDING=0 COLS=2 >
  3659. <tr><td COLSPAN="2">
  3660. <div class=plain>
  3661. %1$s
  3662. </div>
  3663. </td><td></td></tr>
  3664. <tr><td>
  3665. <div class=plain>
  3666. Valid from: %2$s
  3667. </div>
  3668. </td></tr>
  3669. <tr><td>
  3670. <div class=plain>
  3671. Expires on: %3$s
  3672. </div>
  3673. </td></tr>
  3674. <tr><td COLSPAN="2">
  3675. <div class=plain>
  3676. Issued under: %4$s
  3677. </div>
  3678. </td><td></td></tr></table>
  3679. <input type=hidden name="renewal_url" value="%5$s">
  3680. :cert_renewal_cert_info