summaryrefslogtreecommitdiff
path: root/mailnews/extensions/smime/content/msgReadSecurityInfo.xul
blob: 8e0a1f5f548ffeeef2e5d9814bcd9377506cafbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?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/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/smime/msgReadSecurityInfo.css" type="text/css"?> 

<!DOCTYPE dialog SYSTEM "chrome://messenger-smime/locale/msgReadSecurityInfo.dtd">

<dialog id="msgReadSecurityInfo" title="&status.label;"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"      
  style="width: 40em;"
  buttons="accept"
  onload="onLoad();">

  <script type="application/javascript" src="chrome://messenger-smime/content/msgReadSecurityInfo.js"/>

  <stringbundle id="bundle_smime_read_info" src="chrome://messenger-smime/locale/msgSecurityInfo.properties"/> 

  <vbox flex="1">
    <label id="signatureLabel"/>
    <label id="signatureHeader" collapsed="true"/>
    <description id="signatureExplanation"/>
    <vbox id="signatureCert" collapsed="true">
      <hbox>
        <label id="signedByLabel">&signer.name;</label>
        <description id="signedBy"/>
      </hbox>
      <hbox>
        <label id="signerEmailLabel">&email.address;</label>
        <description id="signerEmail"/>
      </hbox>
      <hbox>
        <label id="sigCertIssuedByLabel">&issuer.name;</label>
        <description id="sigCertIssuedBy"/>
      </hbox>
      <hbox>
        <button id="signatureCertView" label="&signatureCert.label;"
                oncommand="viewSignatureCert()"/>
      </hbox>
    </vbox>

    <separator/>

    <label id="encryptionLabel"/>
    <label id="encryptionHeader" collapsed="true"/>
    <description id="encryptionExplanation"/>
    <vbox id="encryptionCert" collapsed="true">
      <hbox>
        <label id="encryptedForLabel">&recipient.name;</label>
        <description id="encryptedFor"/>
      </hbox>
      <hbox>
        <label id="recipientEmailLabel">&email.address;</label>
        <description id="recipientEmail"/>
      </hbox>
      <hbox>
        <label id="encCertIssuedByLabel">&issuer.name;</label>
        <description id="encCertIssuedBy"/>
      </hbox>
      <hbox>
        <button id="encryptionCertView" label="&encryptionCert.label;"
                oncommand="viewEncryptionCert()"/>
      </hbox>
    </vbox>
  </vbox>
</dialog>