Documentation/Source/eric5.Helpviewer.SslCertificatesDialog.html

Fri, 11 Mar 2011 16:51:57 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 11 Mar 2011 16:51:57 +0100
changeset 945
8cd4d08fa9f6
parent 762
48190a225699
child 1228
7afaf2fca55b
permissions
-rw-r--r--

Made code mostly PEP 8 compliant (except all whitespace and line length).

<?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.SslCertificatesDialog</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.SslCertificatesDialog</h1>
<p>
Module implementing a dialog to show and edit all certificates.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#SslCertificatesDialog">SslCertificatesDialog</a></td>
<td>Class implementing a dialog to show and edit all certificates.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="SslCertificatesDialog" ID="SslCertificatesDialog"></a>
<h2>SslCertificatesDialog</h2>
<p>
    Class implementing a dialog to show and edit all certificates.
</p>
<h3>Derived from</h3>
QDialog, Ui_SslCertificatesDialog
<h3>Class Attributes</h3>
<table>
<tr><td>CertRole</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#SslCertificatesDialog.__init__">SslCertificatesDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td>
<td>Private method to create a CA certificate entry.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__createServerCertificateEntry">__createServerCertificateEntry</a></td>
<td>Private method to create a server certificate entry.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__exportCertificate">__exportCertificate</a></td>
<td>Private slot to export a certificate.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__getSystemCaCertificates">__getSystemCaCertificates</a></td>
<td>Private method to get the list of system certificates.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__importCertificate">__importCertificate</a></td>
<td>Private method to read a certificate.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__populateCaCertificatesTree">__populateCaCertificatesTree</a></td>
<td>Private slot to populate the CA certificates tree.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__populateServerCertificatesTree">__populateServerCertificatesTree</a></td>
<td>Private slot to populate the server certificates tree.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.__updateDefaultConfiguration">__updateDefaultConfiguration</a></td>
<td>Private method to update the default SSL configuration.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_caCertificatesTree_currentItemChanged">on_caCertificatesTree_currentItemChanged</a></td>
<td>Private slot handling a change of the current item in the CA certificates list.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_caDeleteButton_clicked">on_caDeleteButton_clicked</a></td>
<td>Private slot to delete the selected CA certificate.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_caExportButton_clicked">on_caExportButton_clicked</a></td>
<td>Private slot to export the selected CA certificate.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_caImportButton_clicked">on_caImportButton_clicked</a></td>
<td>Private slot to import server certificates.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_caViewButton_clicked">on_caViewButton_clicked</a></td>
<td>Private slot to show data of the selected CA certificate.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged">on_serversCertificatesTree_currentItemChanged</a></td>
<td>Private slot handling a change of the current item in the server certificates list.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_serversDeleteButton_clicked">on_serversDeleteButton_clicked</a></td>
<td>Private slot to delete the selected server certificate.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_serversExportButton_clicked">on_serversExportButton_clicked</a></td>
<td>Private slot to export the selected server certificate.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_serversImportButton_clicked">on_serversImportButton_clicked</a></td>
<td>Private slot to import server certificates.</td>
</tr><tr>
<td><a href="#SslCertificatesDialog.on_serversViewButton_clicked">on_serversViewButton_clicked</a></td>
<td>Private slot to show data of the selected server certificate.</td>
</tr>
</table>
<a NAME="SslCertificatesDialog.__init__" ID="SslCertificatesDialog.__init__"></a>
<h4>SslCertificatesDialog (Constructor)</h4>
<b>SslCertificatesDialog</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="SslCertificatesDialog.__createCaCertificateEntry" ID="SslCertificatesDialog.__createCaCertificateEntry"></a>
<h4>SslCertificatesDialog.__createCaCertificateEntry</h4>
<b>__createCaCertificateEntry</b>(<i>cert</i>)
<p>
        Private method to create a CA certificate entry.
</p><dl>
<dt><i>cert</i></dt>
<dd>
certificate to insert (QSslCertificate)
</dd>
</dl><a NAME="SslCertificatesDialog.__createServerCertificateEntry" ID="SslCertificatesDialog.__createServerCertificateEntry"></a>
<h4>SslCertificatesDialog.__createServerCertificateEntry</h4>
<b>__createServerCertificateEntry</b>(<i>server, cert</i>)
<p>
        Private method to create a server certificate entry.
</p><dl>
<dt><i>server</i></dt>
<dd>
server name of the certificate (string)
</dd><dt><i>cert</i></dt>
<dd>
certificate to insert (QSslCertificate)
</dd>
</dl><a NAME="SslCertificatesDialog.__exportCertificate" ID="SslCertificatesDialog.__exportCertificate"></a>
<h4>SslCertificatesDialog.__exportCertificate</h4>
<b>__exportCertificate</b>(<i>name, cert</i>)
<p>
        Private slot to export a certificate.
</p><dl>
<dt><i>name</i></dt>
<dd>
default file name without extension (string)
</dd><dt><i>cert</i></dt>
<dd>
certificate to be exported (QSslCertificate)
</dd>
</dl><a NAME="SslCertificatesDialog.__getSystemCaCertificates" ID="SslCertificatesDialog.__getSystemCaCertificates"></a>
<h4>SslCertificatesDialog.__getSystemCaCertificates</h4>
<b>__getSystemCaCertificates</b>(<i></i>)
<p>
        Private method to get the list of system certificates.
</p><dl>
<dt>Returns:</dt>
<dd>
list of system certificates (list of QSslCertificate)
</dd>
</dl><a NAME="SslCertificatesDialog.__importCertificate" ID="SslCertificatesDialog.__importCertificate"></a>
<h4>SslCertificatesDialog.__importCertificate</h4>
<b>__importCertificate</b>(<i></i>)
<p>
        Private method to read a certificate.
</p><dl>
<dt>Returns:</dt>
<dd>
certificates read (list of QSslCertificate)
</dd>
</dl><a NAME="SslCertificatesDialog.__populateCaCertificatesTree" ID="SslCertificatesDialog.__populateCaCertificatesTree"></a>
<h4>SslCertificatesDialog.__populateCaCertificatesTree</h4>
<b>__populateCaCertificatesTree</b>(<i></i>)
<p>
        Private slot to populate the CA certificates tree.
</p><a NAME="SslCertificatesDialog.__populateServerCertificatesTree" ID="SslCertificatesDialog.__populateServerCertificatesTree"></a>
<h4>SslCertificatesDialog.__populateServerCertificatesTree</h4>
<b>__populateServerCertificatesTree</b>(<i></i>)
<p>
        Private slot to populate the server certificates tree.
</p><a NAME="SslCertificatesDialog.__updateDefaultConfiguration" ID="SslCertificatesDialog.__updateDefaultConfiguration"></a>
<h4>SslCertificatesDialog.__updateDefaultConfiguration</h4>
<b>__updateDefaultConfiguration</b>(<i></i>)
<p>
        Private method to update the default SSL configuration.
</p><a NAME="SslCertificatesDialog.on_caCertificatesTree_currentItemChanged" ID="SslCertificatesDialog.on_caCertificatesTree_currentItemChanged"></a>
<h4>SslCertificatesDialog.on_caCertificatesTree_currentItemChanged</h4>
<b>on_caCertificatesTree_currentItemChanged</b>(<i>current, previous</i>)
<p>
        Private slot handling a change of the current item
        in the CA certificates list.
</p><dl>
<dt><i>current</i></dt>
<dd>
new current item (QTreeWidgetItem)
</dd><dt><i>previous</i></dt>
<dd>
previous current item (QTreeWidgetItem)
</dd>
</dl><a NAME="SslCertificatesDialog.on_caDeleteButton_clicked" ID="SslCertificatesDialog.on_caDeleteButton_clicked"></a>
<h4>SslCertificatesDialog.on_caDeleteButton_clicked</h4>
<b>on_caDeleteButton_clicked</b>(<i></i>)
<p>
        Private slot to delete the selected CA certificate.
</p><a NAME="SslCertificatesDialog.on_caExportButton_clicked" ID="SslCertificatesDialog.on_caExportButton_clicked"></a>
<h4>SslCertificatesDialog.on_caExportButton_clicked</h4>
<b>on_caExportButton_clicked</b>(<i></i>)
<p>
        Private slot to export the selected CA certificate.
</p><a NAME="SslCertificatesDialog.on_caImportButton_clicked" ID="SslCertificatesDialog.on_caImportButton_clicked"></a>
<h4>SslCertificatesDialog.on_caImportButton_clicked</h4>
<b>on_caImportButton_clicked</b>(<i></i>)
<p>
        Private slot to import server certificates.
</p><a NAME="SslCertificatesDialog.on_caViewButton_clicked" ID="SslCertificatesDialog.on_caViewButton_clicked"></a>
<h4>SslCertificatesDialog.on_caViewButton_clicked</h4>
<b>on_caViewButton_clicked</b>(<i></i>)
<p>
        Private slot to show data of the selected CA certificate.
</p><a NAME="SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged" ID="SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged"></a>
<h4>SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged</h4>
<b>on_serversCertificatesTree_currentItemChanged</b>(<i>current, previous</i>)
<p>
        Private slot handling a change of the current item in the
        server certificates list.
</p><dl>
<dt><i>current</i></dt>
<dd>
new current item (QTreeWidgetItem)
</dd><dt><i>previous</i></dt>
<dd>
previous current item (QTreeWidgetItem)
</dd>
</dl><a NAME="SslCertificatesDialog.on_serversDeleteButton_clicked" ID="SslCertificatesDialog.on_serversDeleteButton_clicked"></a>
<h4>SslCertificatesDialog.on_serversDeleteButton_clicked</h4>
<b>on_serversDeleteButton_clicked</b>(<i></i>)
<p>
        Private slot to delete the selected server certificate.
</p><a NAME="SslCertificatesDialog.on_serversExportButton_clicked" ID="SslCertificatesDialog.on_serversExportButton_clicked"></a>
<h4>SslCertificatesDialog.on_serversExportButton_clicked</h4>
<b>on_serversExportButton_clicked</b>(<i></i>)
<p>
        Private slot to export the selected server certificate.
</p><a NAME="SslCertificatesDialog.on_serversImportButton_clicked" ID="SslCertificatesDialog.on_serversImportButton_clicked"></a>
<h4>SslCertificatesDialog.on_serversImportButton_clicked</h4>
<b>on_serversImportButton_clicked</b>(<i></i>)
<p>
        Private slot to import server certificates.
</p><a NAME="SslCertificatesDialog.on_serversViewButton_clicked" ID="SslCertificatesDialog.on_serversViewButton_clicked"></a>
<h4>SslCertificatesDialog.on_serversViewButton_clicked</h4>
<b>on_serversViewButton_clicked</b>(<i></i>)
<p>
        Private slot to show data of the selected server certificate.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial