|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.EricNetwork.EricSslCertificateSelectionDialog</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.EricSslCertificateSelectionDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to select a SSL certificate. |
|
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="#EricSslCertificateSelectionDialog">EricSslCertificateSelectionDialog</a></td> |
|
25 <td>Class implementing a dialog to select a SSL certificate.</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="EricSslCertificateSelectionDialog" ID="EricSslCertificateSelectionDialog"></a> |
|
36 <h2>EricSslCertificateSelectionDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to select a SSL certificate. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_EricSslCertificateSelectionDialog |
|
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="#EricSslCertificateSelectionDialog.__init__">EricSslCertificateSelectionDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#EricSslCertificateSelectionDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td> |
|
63 <td>Private method to create a certificate entry.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#EricSslCertificateSelectionDialog.__populateCertificatesTree">__populateCertificatesTree</a></td> |
|
67 <td>Private slot to populate the certificates tree.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#EricSslCertificateSelectionDialog.getSelectedCertificate">getSelectedCertificate</a></td> |
|
71 <td>Public method to get the selected certificate.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged">on_certificatesTree_itemSelectionChanged</a></td> |
|
75 <td>Private slot to handle the selection of an item.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#EricSslCertificateSelectionDialog.on_viewButton_clicked">on_viewButton_clicked</a></td> |
|
79 <td>Private slot to show data of the selected certificate.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 |
|
84 <table> |
|
85 <tr><td>None</td></tr> |
|
86 </table> |
|
87 |
|
88 <a NAME="EricSslCertificateSelectionDialog.__init__" ID="EricSslCertificateSelectionDialog.__init__"></a> |
|
89 <h4>EricSslCertificateSelectionDialog (Constructor)</h4> |
|
90 <b>EricSslCertificateSelectionDialog</b>(<i>certificates, parent=None</i>) |
|
91 |
|
92 <p> |
|
93 Constructor |
|
94 </p> |
|
95 <dl> |
|
96 |
|
97 <dt><i>certificates</i> (list of QSslCertificate)</dt> |
|
98 <dd> |
|
99 list of SSL certificates to select from |
|
100 </dd> |
|
101 <dt><i>parent</i> (QWidget)</dt> |
|
102 <dd> |
|
103 reference to the parent widget |
|
104 </dd> |
|
105 </dl> |
|
106 <a NAME="EricSslCertificateSelectionDialog.__createCaCertificateEntry" ID="EricSslCertificateSelectionDialog.__createCaCertificateEntry"></a> |
|
107 <h4>EricSslCertificateSelectionDialog.__createCaCertificateEntry</h4> |
|
108 <b>__createCaCertificateEntry</b>(<i>cert</i>) |
|
109 |
|
110 <p> |
|
111 Private method to create a certificate entry. |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>cert</i> (QSslCertificate)</dt> |
|
116 <dd> |
|
117 certificate to insert |
|
118 </dd> |
|
119 </dl> |
|
120 <a NAME="EricSslCertificateSelectionDialog.__populateCertificatesTree" ID="EricSslCertificateSelectionDialog.__populateCertificatesTree"></a> |
|
121 <h4>EricSslCertificateSelectionDialog.__populateCertificatesTree</h4> |
|
122 <b>__populateCertificatesTree</b>(<i>certificates</i>) |
|
123 |
|
124 <p> |
|
125 Private slot to populate the certificates tree. |
|
126 </p> |
|
127 <dl> |
|
128 |
|
129 <dt><i>certificates</i> (list of QSslCertificate)</dt> |
|
130 <dd> |
|
131 list of SSL certificates to select from |
|
132 </dd> |
|
133 </dl> |
|
134 <a NAME="EricSslCertificateSelectionDialog.getSelectedCertificate" ID="EricSslCertificateSelectionDialog.getSelectedCertificate"></a> |
|
135 <h4>EricSslCertificateSelectionDialog.getSelectedCertificate</h4> |
|
136 <b>getSelectedCertificate</b>(<i></i>) |
|
137 |
|
138 <p> |
|
139 Public method to get the selected certificate. |
|
140 </p> |
|
141 <dl> |
|
142 <dt>Return:</dt> |
|
143 <dd> |
|
144 selected certificate |
|
145 </dd> |
|
146 </dl> |
|
147 <dl> |
|
148 <dt>Return Type:</dt> |
|
149 <dd> |
|
150 QSslCertificate |
|
151 </dd> |
|
152 </dl> |
|
153 <a NAME="EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged" ID="EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged"></a> |
|
154 <h4>EricSslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged</h4> |
|
155 <b>on_certificatesTree_itemSelectionChanged</b>(<i></i>) |
|
156 |
|
157 <p> |
|
158 Private slot to handle the selection of an item. |
|
159 </p> |
|
160 <a NAME="EricSslCertificateSelectionDialog.on_viewButton_clicked" ID="EricSslCertificateSelectionDialog.on_viewButton_clicked"></a> |
|
161 <h4>EricSslCertificateSelectionDialog.on_viewButton_clicked</h4> |
|
162 <b>on_viewButton_clicked</b>(<i></i>) |
|
163 |
|
164 <p> |
|
165 Private slot to show data of the selected certificate. |
|
166 </p> |
|
167 <div align="right"><a href="#top">Up</a></div> |
|
168 <hr /> |
|
169 </body></html> |