mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
72 lines
2.9 KiB
XML
72 lines
2.9 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/"?>
|
|
|
|
<!DOCTYPE prefwindow [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
|
<!ENTITY % ocspDTD SYSTEM "chrome://mozapps/locale/preferences/ocsp.dtd">
|
|
%brandDTD;
|
|
%ocspDTD;
|
|
]>
|
|
|
|
<prefwindow id="OCSPDialog" type="child"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
dlgbuttons="accept,cancel"
|
|
title="&ocspDialog.title;">
|
|
|
|
<prefpane id="OCSPDialogPane" onpaneload="gOCSPDialog.init();">
|
|
<script type="application/javascript" src="chrome://mozapps/content/preferences/ocsp.js"/>
|
|
|
|
<preferences>
|
|
<preference id="security.OCSP.enabled" name="security.OCSP.enabled" type="int"/>
|
|
<preference id="security.OCSP.signingCA" name="security.OCSP.signingCA" type="string"/>
|
|
<preference id="security.OCSP.URL" name="security.OCSP.URL" type="string"/>
|
|
<preference id="security.OCSP.require" name="security.OCSP.require" type="bool"/>
|
|
</preferences>
|
|
|
|
<checkbox id="enableOCSPBox" label="&enableOCSP.label;" accesskey="&enableOCSP.accesskey;"
|
|
oncommand="gOCSPDialog._updateUI(1);"/>
|
|
<radiogroup id="securityOCSPEnabled" preference="security.OCSP.enabled"
|
|
onsyncfrompreference="return gOCSPDialog._updateUI(0);"
|
|
class="indent">
|
|
<radio value="0" hidden="true"/>
|
|
<radio id="certOCSP" value="1" label="&certOCSP2.label;"
|
|
accesskey="&certOCSP2.accesskey;"/>
|
|
<radio id="proxyOCSP" value="2" label="&proxyOCSP2.label;"
|
|
accesskey="&proxyOCSP2.accesskey;"/>
|
|
|
|
<grid class="indent" flex="1">
|
|
<columns>
|
|
<column/>
|
|
<column flex="1"/>
|
|
</columns>
|
|
|
|
<rows>
|
|
<row align="center">
|
|
<label value="&signingCA.label;" accesskey="&signingCA.accesskey;" control="signingCA"/>
|
|
<hbox id="signingCABox" flex="1">
|
|
<menulist id="signingCA" flex="1"
|
|
preference="security.OCSP.signingCA"
|
|
oncommand="gOCSPDialog.chooseServiceURL()">
|
|
<menupopup/>
|
|
</menulist>
|
|
</hbox>
|
|
</row>
|
|
<row align="center">
|
|
<label value="&serviceURL.label;" accesskey="&serviceURL.accesskey;" control="serviceURL"/>
|
|
<textbox id="serviceURL" preference="security.OCSP.URL"/>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
</radiogroup>
|
|
<separator class="thin"/>
|
|
<checkbox id="requireWorkingOCSP" preference="security.OCSP.require"
|
|
label="&requireOCSP.label;"
|
|
accesskey="&requireOCSP.accesskey;"/>
|
|
</prefpane>
|
|
</prefwindow>
|