|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.E5Network.E5SslCertificateSelectionDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.E5Network.E5SslCertificateSelectionDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to select a SSL certificate. |
|
25 </p> |
|
26 <h3>Global Attributes</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <h3>Classes</h3> |
|
31 <table> |
|
32 <tr> |
|
33 <td><a href="#E5SslCertificateSelectionDialog">E5SslCertificateSelectionDialog</a></td> |
|
34 <td>Class implementing a dialog to select a SSL certificate.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <h3>Functions</h3> |
|
38 <table> |
|
39 <tr><td>None</td></tr> |
|
40 </table> |
|
41 <hr /><hr /> |
|
42 <a NAME="E5SslCertificateSelectionDialog" ID="E5SslCertificateSelectionDialog"></a> |
|
43 <h2>E5SslCertificateSelectionDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to select a SSL certificate. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 QDialog, Ui_E5SslCertificateSelectionDialog |
|
49 <h3>Class Attributes</h3> |
|
50 <table> |
|
51 <tr><td>CertRole</td></tr> |
|
52 </table> |
|
53 <h3>Class Methods</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#E5SslCertificateSelectionDialog.__init__">E5SslCertificateSelectionDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#E5SslCertificateSelectionDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td> |
|
64 <td>Private method to create a certificate entry.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#E5SslCertificateSelectionDialog.__populateCertificatesTree">__populateCertificatesTree</a></td> |
|
67 <td>Private slot to populate the certificates tree.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#E5SslCertificateSelectionDialog.getSelectedCertificate">getSelectedCertificate</a></td> |
|
70 <td>Public method to get the selected certificate.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged">on_certificatesTree_itemSelectionChanged</a></td> |
|
73 <td>Private slot to handle the selection of an item.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#E5SslCertificateSelectionDialog.on_viewButton_clicked">on_viewButton_clicked</a></td> |
|
76 <td>Private slot to show data of the selected certificate.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Static Methods</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <a NAME="E5SslCertificateSelectionDialog.__init__" ID="E5SslCertificateSelectionDialog.__init__"></a> |
|
84 <h4>E5SslCertificateSelectionDialog (Constructor)</h4> |
|
85 <b>E5SslCertificateSelectionDialog</b>(<i>certificates, parent=None</i>) |
|
86 <p> |
|
87 Constructor |
|
88 </p><dl> |
|
89 <dt><i>certificates</i> (list of QSslCertificate)</dt> |
|
90 <dd> |
|
91 list of SSL certificates to select from |
|
92 </dd><dt><i>parent</i> (QWidget)</dt> |
|
93 <dd> |
|
94 reference to the parent widget |
|
95 </dd> |
|
96 </dl><a NAME="E5SslCertificateSelectionDialog.__createCaCertificateEntry" ID="E5SslCertificateSelectionDialog.__createCaCertificateEntry"></a> |
|
97 <h4>E5SslCertificateSelectionDialog.__createCaCertificateEntry</h4> |
|
98 <b>__createCaCertificateEntry</b>(<i>cert</i>) |
|
99 <p> |
|
100 Private method to create a certificate entry. |
|
101 </p><dl> |
|
102 <dt><i>cert</i> (QSslCertificate)</dt> |
|
103 <dd> |
|
104 certificate to insert |
|
105 </dd> |
|
106 </dl><a NAME="E5SslCertificateSelectionDialog.__populateCertificatesTree" ID="E5SslCertificateSelectionDialog.__populateCertificatesTree"></a> |
|
107 <h4>E5SslCertificateSelectionDialog.__populateCertificatesTree</h4> |
|
108 <b>__populateCertificatesTree</b>(<i>certificates</i>) |
|
109 <p> |
|
110 Private slot to populate the certificates tree. |
|
111 </p><dl> |
|
112 <dt><i>certificates</i> (list of QSslCertificate)</dt> |
|
113 <dd> |
|
114 list of SSL certificates to select from |
|
115 </dd> |
|
116 </dl><a NAME="E5SslCertificateSelectionDialog.getSelectedCertificate" ID="E5SslCertificateSelectionDialog.getSelectedCertificate"></a> |
|
117 <h4>E5SslCertificateSelectionDialog.getSelectedCertificate</h4> |
|
118 <b>getSelectedCertificate</b>(<i></i>) |
|
119 <p> |
|
120 Public method to get the selected certificate. |
|
121 </p><dl> |
|
122 <dt>Returns:</dt> |
|
123 <dd> |
|
124 selected certificate |
|
125 </dd> |
|
126 </dl><dl> |
|
127 <dt>Return Type:</dt> |
|
128 <dd> |
|
129 QSslCertificate |
|
130 </dd> |
|
131 </dl><a NAME="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged" ID="E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged"></a> |
|
132 <h4>E5SslCertificateSelectionDialog.on_certificatesTree_itemSelectionChanged</h4> |
|
133 <b>on_certificatesTree_itemSelectionChanged</b>(<i></i>) |
|
134 <p> |
|
135 Private slot to handle the selection of an item. |
|
136 </p><a NAME="E5SslCertificateSelectionDialog.on_viewButton_clicked" ID="E5SslCertificateSelectionDialog.on_viewButton_clicked"></a> |
|
137 <h4>E5SslCertificateSelectionDialog.on_viewButton_clicked</h4> |
|
138 <b>on_viewButton_clicked</b>(<i></i>) |
|
139 <p> |
|
140 Private slot to show data of the selected certificate. |
|
141 </p> |
|
142 <div align="right"><a href="#top">Up</a></div> |
|
143 <hr /> |
|
144 </body></html> |