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

branch
eric7
changeset 9209
b99e7fd55fd3
parent 9153
506e35e424d5
child 10423
299802979277
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.EricNetwork.EricSslCertificatesDialog</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.EricNetwork.EricSslCertificatesDialog</h1>
10
11 <p>
12 Module implementing a dialog to show and edit all certificates.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#EricSslCertificatesDialog">EricSslCertificatesDialog</a></td>
25 <td>Class implementing a dialog to show and edit all certificates.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="EricSslCertificatesDialog" ID="EricSslCertificatesDialog"></a>
36 <h2>EricSslCertificatesDialog</h2>
37
38 <p>
39 Class implementing a dialog to show and edit all certificates.
40 </p>
41 <h3>Derived from</h3>
42 QDialog, Ui_EricSslCertificatesDialog
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>CertRole</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#EricSslCertificatesDialog.__init__">EricSslCertificatesDialog</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#EricSslCertificatesDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td>
63 <td>Private method to create a CA certificate entry.</td>
64 </tr>
65 <tr>
66 <td><a href="#EricSslCertificatesDialog.__createServerCertificateEntry">__createServerCertificateEntry</a></td>
67 <td>Private method to create a server certificate entry.</td>
68 </tr>
69 <tr>
70 <td><a href="#EricSslCertificatesDialog.__exportCertificate">__exportCertificate</a></td>
71 <td>Private slot to export a certificate.</td>
72 </tr>
73 <tr>
74 <td><a href="#EricSslCertificatesDialog.__getSystemCaCertificates">__getSystemCaCertificates</a></td>
75 <td>Private method to get the list of system certificates.</td>
76 </tr>
77 <tr>
78 <td><a href="#EricSslCertificatesDialog.__importCertificate">__importCertificate</a></td>
79 <td>Private method to read a certificate.</td>
80 </tr>
81 <tr>
82 <td><a href="#EricSslCertificatesDialog.__populateCaCertificatesTree">__populateCaCertificatesTree</a></td>
83 <td>Private slot to populate the CA certificates tree.</td>
84 </tr>
85 <tr>
86 <td><a href="#EricSslCertificatesDialog.__populateServerCertificatesTree">__populateServerCertificatesTree</a></td>
87 <td>Private slot to populate the server certificates tree.</td>
88 </tr>
89 <tr>
90 <td><a href="#EricSslCertificatesDialog.__updateDefaultConfiguration">__updateDefaultConfiguration</a></td>
91 <td>Private method to update the default SSL configuration.</td>
92 </tr>
93 <tr>
94 <td><a href="#EricSslCertificatesDialog.on_caCertificatesTree_currentItemChanged">on_caCertificatesTree_currentItemChanged</a></td>
95 <td>Private slot handling a change of the current item in the CA certificates list.</td>
96 </tr>
97 <tr>
98 <td><a href="#EricSslCertificatesDialog.on_caDeleteButton_clicked">on_caDeleteButton_clicked</a></td>
99 <td>Private slot to delete the selected CA certificate.</td>
100 </tr>
101 <tr>
102 <td><a href="#EricSslCertificatesDialog.on_caExportButton_clicked">on_caExportButton_clicked</a></td>
103 <td>Private slot to export the selected CA certificate.</td>
104 </tr>
105 <tr>
106 <td><a href="#EricSslCertificatesDialog.on_caImportButton_clicked">on_caImportButton_clicked</a></td>
107 <td>Private slot to import server certificates.</td>
108 </tr>
109 <tr>
110 <td><a href="#EricSslCertificatesDialog.on_caViewButton_clicked">on_caViewButton_clicked</a></td>
111 <td>Private slot to show data of the selected CA certificate.</td>
112 </tr>
113 <tr>
114 <td><a href="#EricSslCertificatesDialog.on_serversCertificatesTree_currentItemChanged">on_serversCertificatesTree_currentItemChanged</a></td>
115 <td>Private slot handling a change of the current item in the server certificates list.</td>
116 </tr>
117 <tr>
118 <td><a href="#EricSslCertificatesDialog.on_serversDeleteButton_clicked">on_serversDeleteButton_clicked</a></td>
119 <td>Private slot to delete the selected server certificate.</td>
120 </tr>
121 <tr>
122 <td><a href="#EricSslCertificatesDialog.on_serversExportButton_clicked">on_serversExportButton_clicked</a></td>
123 <td>Private slot to export the selected server certificate.</td>
124 </tr>
125 <tr>
126 <td><a href="#EricSslCertificatesDialog.on_serversImportButton_clicked">on_serversImportButton_clicked</a></td>
127 <td>Private slot to import server certificates.</td>
128 </tr>
129 <tr>
130 <td><a href="#EricSslCertificatesDialog.on_serversViewButton_clicked">on_serversViewButton_clicked</a></td>
131 <td>Private slot to show data of the selected server certificate.</td>
132 </tr>
133 </table>
134 <h3>Static Methods</h3>
135
136 <table>
137 <tr><td>None</td></tr>
138 </table>
139
140 <a NAME="EricSslCertificatesDialog.__init__" ID="EricSslCertificatesDialog.__init__"></a>
141 <h4>EricSslCertificatesDialog (Constructor)</h4>
142 <b>EricSslCertificatesDialog</b>(<i>parent=None</i>)
143
144 <p>
145 Constructor
146 </p>
147 <dl>
148
149 <dt><i>parent</i></dt>
150 <dd>
151 reference to the parent widget (QWidget)
152 </dd>
153 </dl>
154 <a NAME="EricSslCertificatesDialog.__createCaCertificateEntry" ID="EricSslCertificatesDialog.__createCaCertificateEntry"></a>
155 <h4>EricSslCertificatesDialog.__createCaCertificateEntry</h4>
156 <b>__createCaCertificateEntry</b>(<i>cert</i>)
157
158 <p>
159 Private method to create a CA certificate entry.
160 </p>
161 <dl>
162
163 <dt><i>cert</i></dt>
164 <dd>
165 certificate to insert (QSslCertificate)
166 </dd>
167 </dl>
168 <a NAME="EricSslCertificatesDialog.__createServerCertificateEntry" ID="EricSslCertificatesDialog.__createServerCertificateEntry"></a>
169 <h4>EricSslCertificatesDialog.__createServerCertificateEntry</h4>
170 <b>__createServerCertificateEntry</b>(<i>server, cert</i>)
171
172 <p>
173 Private method to create a server certificate entry.
174 </p>
175 <dl>
176
177 <dt><i>server</i></dt>
178 <dd>
179 server name of the certificate (string)
180 </dd>
181 <dt><i>cert</i></dt>
182 <dd>
183 certificate to insert (QSslCertificate)
184 </dd>
185 </dl>
186 <a NAME="EricSslCertificatesDialog.__exportCertificate" ID="EricSslCertificatesDialog.__exportCertificate"></a>
187 <h4>EricSslCertificatesDialog.__exportCertificate</h4>
188 <b>__exportCertificate</b>(<i>name, cert</i>)
189
190 <p>
191 Private slot to export a certificate.
192 </p>
193 <dl>
194
195 <dt><i>name</i> (str)</dt>
196 <dd>
197 default file name without extension
198 </dd>
199 <dt><i>cert</i> (QByteArray)</dt>
200 <dd>
201 certificate to be exported encoded as PEM
202 </dd>
203 </dl>
204 <a NAME="EricSslCertificatesDialog.__getSystemCaCertificates" ID="EricSslCertificatesDialog.__getSystemCaCertificates"></a>
205 <h4>EricSslCertificatesDialog.__getSystemCaCertificates</h4>
206 <b>__getSystemCaCertificates</b>(<i></i>)
207
208 <p>
209 Private method to get the list of system certificates.
210 </p>
211 <dl>
212 <dt>Return:</dt>
213 <dd>
214 list of system certificates (list of QSslCertificate)
215 </dd>
216 </dl>
217 <a NAME="EricSslCertificatesDialog.__importCertificate" ID="EricSslCertificatesDialog.__importCertificate"></a>
218 <h4>EricSslCertificatesDialog.__importCertificate</h4>
219 <b>__importCertificate</b>(<i></i>)
220
221 <p>
222 Private method to read a certificate.
223 </p>
224 <dl>
225 <dt>Return:</dt>
226 <dd>
227 certificates read
228 </dd>
229 </dl>
230 <dl>
231 <dt>Return Type:</dt>
232 <dd>
233 list of QSslCertificate
234 </dd>
235 </dl>
236 <a NAME="EricSslCertificatesDialog.__populateCaCertificatesTree" ID="EricSslCertificatesDialog.__populateCaCertificatesTree"></a>
237 <h4>EricSslCertificatesDialog.__populateCaCertificatesTree</h4>
238 <b>__populateCaCertificatesTree</b>(<i></i>)
239
240 <p>
241 Private slot to populate the CA certificates tree.
242 </p>
243 <a NAME="EricSslCertificatesDialog.__populateServerCertificatesTree" ID="EricSslCertificatesDialog.__populateServerCertificatesTree"></a>
244 <h4>EricSslCertificatesDialog.__populateServerCertificatesTree</h4>
245 <b>__populateServerCertificatesTree</b>(<i></i>)
246
247 <p>
248 Private slot to populate the server certificates tree.
249 </p>
250 <a NAME="EricSslCertificatesDialog.__updateDefaultConfiguration" ID="EricSslCertificatesDialog.__updateDefaultConfiguration"></a>
251 <h4>EricSslCertificatesDialog.__updateDefaultConfiguration</h4>
252 <b>__updateDefaultConfiguration</b>(<i></i>)
253
254 <p>
255 Private method to update the default SSL configuration.
256 </p>
257 <a NAME="EricSslCertificatesDialog.on_caCertificatesTree_currentItemChanged" ID="EricSslCertificatesDialog.on_caCertificatesTree_currentItemChanged"></a>
258 <h4>EricSslCertificatesDialog.on_caCertificatesTree_currentItemChanged</h4>
259 <b>on_caCertificatesTree_currentItemChanged</b>(<i>current, previous</i>)
260
261 <p>
262 Private slot handling a change of the current item
263 in the CA certificates list.
264 </p>
265 <dl>
266
267 <dt><i>current</i></dt>
268 <dd>
269 new current item (QTreeWidgetItem)
270 </dd>
271 <dt><i>previous</i></dt>
272 <dd>
273 previous current item (QTreeWidgetItem)
274 </dd>
275 </dl>
276 <a NAME="EricSslCertificatesDialog.on_caDeleteButton_clicked" ID="EricSslCertificatesDialog.on_caDeleteButton_clicked"></a>
277 <h4>EricSslCertificatesDialog.on_caDeleteButton_clicked</h4>
278 <b>on_caDeleteButton_clicked</b>(<i></i>)
279
280 <p>
281 Private slot to delete the selected CA certificate.
282 </p>
283 <a NAME="EricSslCertificatesDialog.on_caExportButton_clicked" ID="EricSslCertificatesDialog.on_caExportButton_clicked"></a>
284 <h4>EricSslCertificatesDialog.on_caExportButton_clicked</h4>
285 <b>on_caExportButton_clicked</b>(<i></i>)
286
287 <p>
288 Private slot to export the selected CA certificate.
289 </p>
290 <a NAME="EricSslCertificatesDialog.on_caImportButton_clicked" ID="EricSslCertificatesDialog.on_caImportButton_clicked"></a>
291 <h4>EricSslCertificatesDialog.on_caImportButton_clicked</h4>
292 <b>on_caImportButton_clicked</b>(<i></i>)
293
294 <p>
295 Private slot to import server certificates.
296 </p>
297 <a NAME="EricSslCertificatesDialog.on_caViewButton_clicked" ID="EricSslCertificatesDialog.on_caViewButton_clicked"></a>
298 <h4>EricSslCertificatesDialog.on_caViewButton_clicked</h4>
299 <b>on_caViewButton_clicked</b>(<i></i>)
300
301 <p>
302 Private slot to show data of the selected CA certificate.
303 </p>
304 <a NAME="EricSslCertificatesDialog.on_serversCertificatesTree_currentItemChanged" ID="EricSslCertificatesDialog.on_serversCertificatesTree_currentItemChanged"></a>
305 <h4>EricSslCertificatesDialog.on_serversCertificatesTree_currentItemChanged</h4>
306 <b>on_serversCertificatesTree_currentItemChanged</b>(<i>current, previous</i>)
307
308 <p>
309 Private slot handling a change of the current item in the
310 server certificates list.
311 </p>
312 <dl>
313
314 <dt><i>current</i></dt>
315 <dd>
316 new current item (QTreeWidgetItem)
317 </dd>
318 <dt><i>previous</i></dt>
319 <dd>
320 previous current item (QTreeWidgetItem)
321 </dd>
322 </dl>
323 <a NAME="EricSslCertificatesDialog.on_serversDeleteButton_clicked" ID="EricSslCertificatesDialog.on_serversDeleteButton_clicked"></a>
324 <h4>EricSslCertificatesDialog.on_serversDeleteButton_clicked</h4>
325 <b>on_serversDeleteButton_clicked</b>(<i></i>)
326
327 <p>
328 Private slot to delete the selected server certificate.
329 </p>
330 <a NAME="EricSslCertificatesDialog.on_serversExportButton_clicked" ID="EricSslCertificatesDialog.on_serversExportButton_clicked"></a>
331 <h4>EricSslCertificatesDialog.on_serversExportButton_clicked</h4>
332 <b>on_serversExportButton_clicked</b>(<i></i>)
333
334 <p>
335 Private slot to export the selected server certificate.
336 </p>
337 <a NAME="EricSslCertificatesDialog.on_serversImportButton_clicked" ID="EricSslCertificatesDialog.on_serversImportButton_clicked"></a>
338 <h4>EricSslCertificatesDialog.on_serversImportButton_clicked</h4>
339 <b>on_serversImportButton_clicked</b>(<i></i>)
340
341 <p>
342 Private slot to import server certificates.
343 </p>
344 <a NAME="EricSslCertificatesDialog.on_serversViewButton_clicked" ID="EricSslCertificatesDialog.on_serversViewButton_clicked"></a>
345 <h4>EricSslCertificatesDialog.on_serversViewButton_clicked</h4>
346 <b>on_serversViewButton_clicked</b>(<i></i>)
347
348 <p>
349 Private slot to show data of the selected server certificate.
350 </p>
351 <div align="right"><a href="#top">Up</a></div>
352 <hr />
353 </body></html>

eric ide

mercurial