diff -r d6062691d424 -r e0227a7c850e eric7/Documentation/Source/eric7.EricNetwork.EricSslCertificateSelectionDialog.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.EricNetwork.EricSslCertificateSelectionDialog.html Mon May 24 11:19:57 2021 +0200 @@ -0,0 +1,183 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.EricNetwork.EricSslCertificateSelectionDialog</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>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> \ No newline at end of file