Documentation/Source/eric5.Helpviewer.SslInfoWidget.html

changeset 1427
09d6731b73ad
child 2374
f78ee0e8f96c
diff -r dedba69cb847 -r 09d6731b73ad Documentation/Source/eric5.Helpviewer.SslInfoWidget.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Documentation/Source/eric5.Helpviewer.SslInfoWidget.html	Sun Nov 06 19:48:46 2011 +0100
@@ -0,0 +1,170 @@
+<?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.SslInfoWidget</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.SslInfoWidget</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="#SslInfoWidget">SslInfoWidget</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="SslInfoWidget" ID="SslInfoWidget"></a>
+<h2>SslInfoWidget</h2>
+<p>
+    Class implementing a widget to show SSL certificate infos.
+</p>
+<h3>Derived from</h3>
+QWidget, Ui_SslInfoWidget
+<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="#SslInfoWidget.__init__">SslInfoWidget</a></td>
+<td>Constructor</td>
+</tr><tr>
+<td><a href="#SslInfoWidget.__certificateString">__certificateString</a></td>
+<td>Private method to prepare some text for display.</td>
+</tr><tr>
+<td><a href="#SslInfoWidget.__formatHexString">__formatHexString</a></td>
+<td>Private method to format a hex string for display.</td>
+</tr><tr>
+<td><a href="#SslInfoWidget.__hasExpired">__hasExpired</a></td>
+<td>Private method to check for a certificate expiration.</td>
+</tr><tr>
+<td><a href="#SslInfoWidget.__serialNumber">__serialNumber</a></td>
+<td>Private slot to format the certificate serial number.</td>
+</tr><tr>
+<td><a href="#SslInfoWidget.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="SslInfoWidget.__init__" ID="SslInfoWidget.__init__"></a>
+<h4>SslInfoWidget (Constructor)</h4>
+<b>SslInfoWidget</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="SslInfoWidget.__certificateString" ID="SslInfoWidget.__certificateString"></a>
+<h4>SslInfoWidget.__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="SslInfoWidget.__formatHexString" ID="SslInfoWidget.__formatHexString"></a>
+<h4>SslInfoWidget.__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="SslInfoWidget.__hasExpired" ID="SslInfoWidget.__hasExpired"></a>
+<h4>SslInfoWidget.__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="SslInfoWidget.__serialNumber" ID="SslInfoWidget.__serialNumber"></a>
+<h4>SslInfoWidget.__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="SslInfoWidget.showCertificate" ID="SslInfoWidget.showCertificate"></a>
+<h4>SslInfoWidget.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>
\ No newline at end of file

eric ide

mercurial