Mon, 09 Jan 2023 11:22:56 +0100
Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.
<!DOCTYPE html> <html><head> <title>eric7.EricNetwork.EricSslCertificatesInfoWidget</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.EricNetwork.EricSslCertificatesInfoWidget</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="#EricSslCertificatesInfoWidget">EricSslCertificatesInfoWidget</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="EricSslCertificatesInfoWidget" ID="EricSslCertificatesInfoWidget"></a> <h2>EricSslCertificatesInfoWidget</h2> <p> Class implementing a widget to show SSL certificate infos. </p> <h3>Derived from</h3> QWidget, Ui_EricSslCertificatesInfoWidget <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="#EricSslCertificatesInfoWidget.__init__">EricSslCertificatesInfoWidget</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.__certificateString">__certificateString</a></td> <td>Private method to prepare some text for display.</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.__formatHexString">__formatHexString</a></td> <td>Private method to format a hex string for display.</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.__hasExpired">__hasExpired</a></td> <td>Private method to check for a certificate expiration.</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.__serialNumber">__serialNumber</a></td> <td>Private slot to format the certificate serial number.</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.__showCertificate">__showCertificate</a></td> <td>Private method to show the SSL certificate information.</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.on_chainComboBox_activated">on_chainComboBox_activated</a></td> <td>Private slot to show the certificate info for the selected entry.</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.showCertificate">showCertificate</a></td> <td>Public method to show the SSL certificate information.</td> </tr> <tr> <td><a href="#EricSslCertificatesInfoWidget.showCertificateChain">showCertificateChain</a></td> <td>Public method to show the SSL certificates of a certificate chain.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="EricSslCertificatesInfoWidget.__init__" ID="EricSslCertificatesInfoWidget.__init__"></a> <h4>EricSslCertificatesInfoWidget (Constructor)</h4> <b>EricSslCertificatesInfoWidget</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="EricSslCertificatesInfoWidget.__certificateString" ID="EricSslCertificatesInfoWidget.__certificateString"></a> <h4>EricSslCertificatesInfoWidget.__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>Return:</dt> <dd> prepared text (string) </dd> </dl> <a NAME="EricSslCertificatesInfoWidget.__formatHexString" ID="EricSslCertificatesInfoWidget.__formatHexString"></a> <h4>EricSslCertificatesInfoWidget.__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>Return:</dt> <dd> formatted string (string) </dd> </dl> <a NAME="EricSslCertificatesInfoWidget.__hasExpired" ID="EricSslCertificatesInfoWidget.__hasExpired"></a> <h4>EricSslCertificatesInfoWidget.__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>Return:</dt> <dd> flag indicating the expiration status (boolean) </dd> </dl> <a NAME="EricSslCertificatesInfoWidget.__serialNumber" ID="EricSslCertificatesInfoWidget.__serialNumber"></a> <h4>EricSslCertificatesInfoWidget.__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>Return:</dt> <dd> formated serial number (string) </dd> </dl> <a NAME="EricSslCertificatesInfoWidget.__showCertificate" ID="EricSslCertificatesInfoWidget.__showCertificate"></a> <h4>EricSslCertificatesInfoWidget.__showCertificate</h4> <b>__showCertificate</b>(<i>certificate</i>) <p> Private method to show the SSL certificate information. </p> <dl> <dt><i>certificate</i></dt> <dd> reference to the SSL certificate (QSslCertificate) </dd> </dl> <a NAME="EricSslCertificatesInfoWidget.on_chainComboBox_activated" ID="EricSslCertificatesInfoWidget.on_chainComboBox_activated"></a> <h4>EricSslCertificatesInfoWidget.on_chainComboBox_activated</h4> <b>on_chainComboBox_activated</b>(<i>index</i>) <p> Private slot to show the certificate info for the selected entry. </p> <dl> <dt><i>index</i></dt> <dd> number of the certificate in the certificate chain (integer) </dd> </dl> <a NAME="EricSslCertificatesInfoWidget.showCertificate" ID="EricSslCertificatesInfoWidget.showCertificate"></a> <h4>EricSslCertificatesInfoWidget.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> <a NAME="EricSslCertificatesInfoWidget.showCertificateChain" ID="EricSslCertificatesInfoWidget.showCertificateChain"></a> <h4>EricSslCertificatesInfoWidget.showCertificateChain</h4> <b>showCertificateChain</b>(<i>certificateChain</i>) <p> Public method to show the SSL certificates of a certificate chain. </p> <dl> <dt><i>certificateChain</i></dt> <dd> list od SSL certificates (list of QSslCertificate) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>