Documentation/Source/eric5.Helpviewer.SslInfoDialog.html

Thu, 07 Oct 2010 21:27:08 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 07 Oct 2010 21:27:08 +0200
changeset 659
b53e67ae2021
child 945
8cd4d08fa9f6
child 1278
fb0460fd00b9
permissions
-rw-r--r--

Added code to show certificate info for https URLs.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.Helpviewer.SslInfoDialog</title>
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.Helpviewer.SslInfoDialog</h1>
<p>
Module implementing a dialog to show SSL certificate infos.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#SslInfoDialog">SslInfoDialog</a></td>
<td>Class implementing a dialog to show SSL certificate infos.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="SslInfoDialog" ID="SslInfoDialog"></a>
<h2>SslInfoDialog</h2>
<p>
    Class implementing a dialog to show SSL certificate infos.
</p>
<h3>Derived from</h3>
QDialog, Ui_SslInfoDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#SslInfoDialog.__init__">SslInfoDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SslInfoDialog.__certificateString">__certificateString</a></td>
<td>Private method to prepare some text for display.</td>
</tr><tr>
<td><a href="#SslInfoDialog.__formatHexString">__formatHexString</a></td>
<td>Private method to format a hex string for display.</td>
</tr><tr>
<td><a href="#SslInfoDialog.__serialNumber">__serialNumber</a></td>
<td>Private slot to format the certificate serial number.</td>
</tr>
</table>
<a NAME="SslInfoDialog.__init__" ID="SslInfoDialog.__init__"></a>
<h4>SslInfoDialog (Constructor)</h4>
<b>SslInfoDialog</b>(<i>certificate, parent = None</i>)
<p>
        Constructor
</p><dl>
<dt><i>certificate</i></dt>
<dd>
reference to the SSL certificate (QSslCertificate)
</dd><dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="SslInfoDialog.__certificateString" ID="SslInfoDialog.__certificateString"></a>
<h4>SslInfoDialog.__certificateString</h4>
<b>__certificateString</b>(<i>txt</i>)
<p>
        Private method to prepare some text for display.
</p><dl>
<dt><i>txt</i></dt>
<dd>
text to be displayed (string)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
prepared text (string)
</dd>
</dl><a NAME="SslInfoDialog.__formatHexString" ID="SslInfoDialog.__formatHexString"></a>
<h4>SslInfoDialog.__formatHexString</h4>
<b>__formatHexString</b>(<i>hexString</i>)
<p>
        Private method to format a hex string for display.
</p><dl>
<dt><i>hexString</i></dt>
<dd>
hex string to be formatted (string)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
formatted string (string)
</dd>
</dl><a NAME="SslInfoDialog.__serialNumber" ID="SslInfoDialog.__serialNumber"></a>
<h4>SslInfoDialog.__serialNumber</h4>
<b>__serialNumber</b>(<i>cert</i>)
<p>
        Private slot to format the certificate serial number.
</p><dl>
<dt><i>cert</i></dt>
<dd>
reference to the SSL certificate (QSslCertificate)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
formated serial number (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial