Documentation/Source/eric5.E5Network.E5SslInfoWidget.html

Fri, 25 Jan 2013 17:54:37 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 25 Jan 2013 17:54:37 +0100
changeset 2367
78f6c8193d37
parent 2359
ef81d2d0a031
child 2386
bf6f0ded6071
permissions
-rw-r--r--

Regenerated the source docu with the HTML5 generator.

<!DOCTYPE html>
<html><head>
<title>eric5.E5Network.E5SslInfoWidget</title>
<meta charset="UTF-8">
<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.E5Network.E5SslInfoWidget</h1>
<p>
Module implementing a widget 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="#E5SslInfoWidget">E5SslInfoWidget</a></td>
<td>Class implementing a widget to show SSL certificate infos.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="E5SslInfoWidget" ID="E5SslInfoWidget"></a>
<h2>E5SslInfoWidget</h2>
<p>
    Class implementing a widget to show SSL certificate infos.
</p>
<h3>Derived from</h3>
QWidget, Ui_E5SslInfoWidget
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#E5SslInfoWidget.__init__">E5SslInfoWidget</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#E5SslInfoWidget.__certificateString">__certificateString</a></td>
<td>Private method to prepare some text for display.</td>
</tr><tr>
<td><a href="#E5SslInfoWidget.__formatHexString">__formatHexString</a></td>
<td>Private method to format a hex string for display.</td>
</tr><tr>
<td><a href="#E5SslInfoWidget.__hasExpired">__hasExpired</a></td>
<td>Private method to check for a certificate expiration.</td>
</tr><tr>
<td><a href="#E5SslInfoWidget.__serialNumber">__serialNumber</a></td>
<td>Private slot to format the certificate serial number.</td>
</tr><tr>
<td><a href="#E5SslInfoWidget.showCertificate">showCertificate</a></td>
<td>Public method to show the  SSL certificate information.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="E5SslInfoWidget.__init__" ID="E5SslInfoWidget.__init__"></a>
<h4>E5SslInfoWidget (Constructor)</h4>
<b>E5SslInfoWidget</b>(<i>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="E5SslInfoWidget.__certificateString" ID="E5SslInfoWidget.__certificateString"></a>
<h4>E5SslInfoWidget.__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="E5SslInfoWidget.__formatHexString" ID="E5SslInfoWidget.__formatHexString"></a>
<h4>E5SslInfoWidget.__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="E5SslInfoWidget.__hasExpired" ID="E5SslInfoWidget.__hasExpired"></a>
<h4>E5SslInfoWidget.__hasExpired</h4>
<b>__hasExpired</b>(<i>effectiveDate, expiryDate</i>)
<p>
        Private method to check for a certificate expiration.
</p><dl>
<dt><i>effectiveDate</i></dt>
<dd>
date the certificate becomes effective (QDateTime)
</dd><dt><i>expiryDate</i></dt>
<dd>
date the certificate expires (QDateTime)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
flag indicating the expiration status (boolean)
</dd>
</dl><a NAME="E5SslInfoWidget.__serialNumber" ID="E5SslInfoWidget.__serialNumber"></a>
<h4>E5SslInfoWidget.__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><a NAME="E5SslInfoWidget.showCertificate" ID="E5SslInfoWidget.showCertificate"></a>
<h4>E5SslInfoWidget.showCertificate</h4>
<b>showCertificate</b>(<i>certificate</i>)
<p>
        Public method to show the  SSL certificate information.
</p><dl>
<dt><i>certificate</i></dt>
<dd>
reference to the SSL certificate (QSslCertificate)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial