- Reveal more info about signer and certificate
This commit is contained in:
Hadi Nategh 2017-09-01 11:38:39 +02:00
parent 644f9e2dff
commit f4dd4bbf96
2 changed files with 13 additions and 3 deletions

View File

@ -7391,6 +7391,7 @@ class Mail
$metadata = array_merge ($metadata, array (
'verify' => $cert->verify,
'cert' => $cert->cert,
'certDetails' => $this->smime->parseCert($cert->cert),
'msg' => $cert->msg,
'certHtml' => $this->smime->certToHTML($cert->cert),
'email' => $cert->email,

View File

@ -18,11 +18,20 @@
<description id="message2"/>
</row>
<row>
<description value="Certificate Info" label="%s:"/>
<description value="Signed by" label="%s:"/>
<description id="certDetails[subject][commonName]"/>
</row>
<row>
<description value="Signer's email" label="%s:"/>
<description id="email"/>
<description value="Email address" label="%s:"/>
<description id="certDetails[subject][emailAddress]"/>
</row>
<row>
<description value="Country" label="%s:"/>
<description id="certDetails[subject][countryName]"/>
</row>
<row>
<description value="Certificate issued by" label="%s:"/>
<description id="certDetails[issuer][commonName]"/>
</row>
<row>
<tabbox id="tabs" class="et2_nowrap" width="100%" span="all" tab_height="200" align_tabs="v">