src/eric7/Documentation/Source/eric7.EricNetwork.EricSslCertificateSelectionDialog.html

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9209
b99e7fd55fd3
child 10479
856476537696
permissions
-rw-r--r--

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.EricSslCertificateSelectionDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.EricNetwork.EricSslCertificateSelectionDialog</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="#EricSslCertificateSelectionDialog">EricSslCertificateSelectionDialog</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="EricSslCertificateSelectionDialog" ID="EricSslCertificateSelectionDialog"></a>
<h2>EricSslCertificateSelectionDialog</h2>

<p>
    Class implementing a dialog to select a SSL certificate.
</p>
<h3>Derived from</h3>
QDialog, Ui_EricSslCertificateSelectionDialog
<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="#EricSslCertificateSelectionDialog.__init__">EricSslCertificateSelectionDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#EricSslCertificateSelectionDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td>
<td>Private method to create a certificate entry.</td>
</tr>
<tr>
<td><a href="#EricSslCertificateSelectionDialog.__populateCertificatesTree">__populateCertificatesTree</a></td>
<td>Private slot to populate the certificates tree.</td>
</tr>
<tr>
<td><a href="#EricSslCertificateSelectionDialog.getSelectedCertificate">getSelectedCertificate</a></td>
<td>Public method to get the selected certificate.</td>
</tr>
<tr>
<td><a href="#EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged">on_certificatesTree_itemSelectionChanged</a></td>
<td>Private slot to handle the selection of an item.</td>
</tr>
<tr>
<td><a href="#EricSslCertificateSelectionDialog.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="EricSslCertificateSelectionDialog.__init__" ID="EricSslCertificateSelectionDialog.__init__"></a>
<h4>EricSslCertificateSelectionDialog (Constructor)</h4>
<b>EricSslCertificateSelectionDialog</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="EricSslCertificateSelectionDialog.__createCaCertificateEntry" ID="EricSslCertificateSelectionDialog.__createCaCertificateEntry"></a>
<h4>EricSslCertificateSelectionDialog.__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="EricSslCertificateSelectionDialog.__populateCertificatesTree" ID="EricSslCertificateSelectionDialog.__populateCertificatesTree"></a>
<h4>EricSslCertificateSelectionDialog.__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="EricSslCertificateSelectionDialog.getSelectedCertificate" ID="EricSslCertificateSelectionDialog.getSelectedCertificate"></a>
<h4>EricSslCertificateSelectionDialog.getSelectedCertificate</h4>
<b>getSelectedCertificate</b>(<i></i>)

<p>
        Public method to get the selected certificate.
</p>
<dl>
<dt>Return:</dt>
<dd>
selected certificate
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
QSslCertificate
</dd>
</dl>
<a NAME="EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged" ID="EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged"></a>
<h4>EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged</h4>
<b>on_certificatesTree_itemSelectionChanged</b>(<i></i>)

<p>
        Private slot to handle the selection of an item.
</p>
<a NAME="EricSslCertificateSelectionDialog.on_viewButton_clicked" ID="EricSslCertificateSelectionDialog.on_viewButton_clicked"></a>
<h4>EricSslCertificateSelectionDialog.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