Documentation/Source/eric6.E5Network.E5SslCertificateSelectionDialog.html

Sun, 24 Feb 2019 13:01:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 24 Feb 2019 13:01:58 +0100
changeset 6816
d1a6f7fc6dd2
parent 6662
0002926e71d3
permissions
-rw-r--r--

Updated source docu.

<!DOCTYPE html>
<html><head>
<title>eric6.E5Network.E5SslCertificateSelectionDialog</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>eric6.E5Network.E5SslCertificateSelectionDialog</h1>
<p>
Module implementing a dialog to select a SSL certificate.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#E5SslCertificateSelectionDialog">E5SslCertificateSelectionDialog</a></td>
<td>Class implementing a dialog to select a SSL certificate.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="E5SslCertificateSelectionDialog" ID="E5SslCertificateSelectionDialog"></a>
<h2>E5SslCertificateSelectionDialog</h2>
<p>
    Class implementing a dialog to select a SSL certificate.
</p>
<h3>Derived from</h3>
QDialog, Ui_E5SslCertificateSelectionDialog
<h3>Class Attributes</h3>
<table>
<tr><td>CertRole</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#E5SslCertificateSelectionDialog.__init__">E5SslCertificateSelectionDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#E5SslCertificateSelectionDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td>
<td>Private method to create a certificate entry.</td>
</tr><tr>
<td><a href="#E5SslCertificateSelectionDialog.__populateCertificatesTree">__populateCertificatesTree</a></td>
<td>Private slot to populate the certificates tree.</td>
</tr><tr>
<td><a href="#E5SslCertificateSelectionDialog.getSelectedCertificate">getSelectedCertificate</a></td>
<td>Public method to get the selected certificate.</td>
</tr><tr>
<td><a href="#E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged">on_certificatesTree_itemSelectionChanged</a></td>
<td>Private slot to handle the selection of an item.</td>
</tr><tr>
<td><a href="#E5SslCertificateSelectionDialog.on_viewButton_clicked">on_viewButton_clicked</a></td>
<td>Private slot to show data of the selected certificate.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="E5SslCertificateSelectionDialog.__init__" ID="E5SslCertificateSelectionDialog.__init__"></a>
<h4>E5SslCertificateSelectionDialog (Constructor)</h4>
<b>E5SslCertificateSelectionDialog</b>(<i>certificates, parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>certificates</i> (list of QSslCertificate)</dt>
<dd>
list of SSL certificates to select from
</dd><dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl><a NAME="E5SslCertificateSelectionDialog.__createCaCertificateEntry" ID="E5SslCertificateSelectionDialog.__createCaCertificateEntry"></a>
<h4>E5SslCertificateSelectionDialog.__createCaCertificateEntry</h4>
<b>__createCaCertificateEntry</b>(<i>cert</i>)
<p>
        Private method to create a certificate entry.
</p><dl>
<dt><i>cert</i> (QSslCertificate)</dt>
<dd>
certificate to insert
</dd>
</dl><a NAME="E5SslCertificateSelectionDialog.__populateCertificatesTree" ID="E5SslCertificateSelectionDialog.__populateCertificatesTree"></a>
<h4>E5SslCertificateSelectionDialog.__populateCertificatesTree</h4>
<b>__populateCertificatesTree</b>(<i>certificates</i>)
<p>
        Private slot to populate the certificates tree.
</p><dl>
<dt><i>certificates</i> (list of QSslCertificate)</dt>
<dd>
list of SSL certificates to select from
</dd>
</dl><a NAME="E5SslCertificateSelectionDialog.getSelectedCertificate" ID="E5SslCertificateSelectionDialog.getSelectedCertificate"></a>
<h4>E5SslCertificateSelectionDialog.getSelectedCertificate</h4>
<b>getSelectedCertificate</b>(<i></i>)
<p>
        Public method to get the selected certificate.
</p><dl>
<dt>Returns:</dt>
<dd>
selected certificate
</dd>
</dl><dl>
<dt>Return Type:</dt>
<dd>
QSslCertificate
</dd>
</dl><a NAME="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged" ID="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged"></a>
<h4>E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged</h4>
<b>on_certificatesTree_itemSelectionChanged</b>(<i></i>)
<p>
        Private slot to handle the selection of an item.
</p><a NAME="E5SslCertificateSelectionDialog.on_viewButton_clicked" ID="E5SslCertificateSelectionDialog.on_viewButton_clicked"></a>
<h4>E5SslCertificateSelectionDialog.on_viewButton_clicked</h4>
<b>on_viewButton_clicked</b>(<i></i>)
<p>
        Private slot to show data of the selected certificate.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial