|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.SslCertificatesDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.SslCertificatesDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to show and edit all certificates. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#SslCertificatesDialog">SslCertificatesDialog</a></td> |
|
35 <td>Class implementing a dialog to show and edit all certificates.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="SslCertificatesDialog" ID="SslCertificatesDialog"></a> |
|
44 <h2>SslCertificatesDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show and edit all certificates. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_SslCertificatesDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>CertRole</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#SslCertificatesDialog.__init__">SslCertificatesDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SslCertificatesDialog.__createCaCertificateEntry">__createCaCertificateEntry</a></td> |
|
61 <td>Private method to create a CA certificate entry.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SslCertificatesDialog.__createServerCertificateEntry">__createServerCertificateEntry</a></td> |
|
64 <td>Private method to create a server certificate entry.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SslCertificatesDialog.__populateCaCertificatesTree">__populateCaCertificatesTree</a></td> |
|
67 <td>Private slot to populate the CA certificates tree.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SslCertificatesDialog.__populateServerCertificatesTree">__populateServerCertificatesTree</a></td> |
|
70 <td>Private slot to populate the server certificates tree.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SslCertificatesDialog.on_caCertificatesTree_currentItemChanged">on_caCertificatesTree_currentItemChanged</a></td> |
|
73 <td>Private slot handling a change of the current item in the CA certificates list.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SslCertificatesDialog.on_caViewButton_clicked">on_caViewButton_clicked</a></td> |
|
76 <td>Private slot to show data of the selected CA certificate.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged">on_serversCertificatesTree_currentItemChanged</a></td> |
|
79 <td>Private slot handling a change of the current item in the server certificates list.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SslCertificatesDialog.on_serversDeleteButton_clicked">on_serversDeleteButton_clicked</a></td> |
|
82 <td>Private slot to delete the selected server certificate.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#SslCertificatesDialog.on_serversViewButton_clicked">on_serversViewButton_clicked</a></td> |
|
85 <td>Private slot to show data of the selected server certificate.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <a NAME="SslCertificatesDialog.__init__" ID="SslCertificatesDialog.__init__"></a> |
|
89 <h4>SslCertificatesDialog (Constructor)</h4> |
|
90 <b>SslCertificatesDialog</b>(<i>parent = None</i>) |
|
91 <p> |
|
92 Constructor |
|
93 </p><dl> |
|
94 <dt><i>parent</i></dt> |
|
95 <dd> |
|
96 reference to the parent widget (QWidget) |
|
97 </dd> |
|
98 </dl><a NAME="SslCertificatesDialog.__createCaCertificateEntry" ID="SslCertificatesDialog.__createCaCertificateEntry"></a> |
|
99 <h4>SslCertificatesDialog.__createCaCertificateEntry</h4> |
|
100 <b>__createCaCertificateEntry</b>(<i>cert</i>) |
|
101 <p> |
|
102 Private method to create a CA certificate entry. |
|
103 </p><dl> |
|
104 <dt><i>cert</i></dt> |
|
105 <dd> |
|
106 certificate to insert (QSslCertificate) |
|
107 </dd> |
|
108 </dl><a NAME="SslCertificatesDialog.__createServerCertificateEntry" ID="SslCertificatesDialog.__createServerCertificateEntry"></a> |
|
109 <h4>SslCertificatesDialog.__createServerCertificateEntry</h4> |
|
110 <b>__createServerCertificateEntry</b>(<i>server, cert</i>) |
|
111 <p> |
|
112 Private method to create a server certificate entry. |
|
113 </p><dl> |
|
114 <dt><i>server</i></dt> |
|
115 <dd> |
|
116 server name of the certificate (string) |
|
117 </dd><dt><i>cert</i></dt> |
|
118 <dd> |
|
119 certificate to insert (QSslCertificate) |
|
120 </dd> |
|
121 </dl><a NAME="SslCertificatesDialog.__populateCaCertificatesTree" ID="SslCertificatesDialog.__populateCaCertificatesTree"></a> |
|
122 <h4>SslCertificatesDialog.__populateCaCertificatesTree</h4> |
|
123 <b>__populateCaCertificatesTree</b>(<i></i>) |
|
124 <p> |
|
125 Private slot to populate the CA certificates tree. |
|
126 </p><a NAME="SslCertificatesDialog.__populateServerCertificatesTree" ID="SslCertificatesDialog.__populateServerCertificatesTree"></a> |
|
127 <h4>SslCertificatesDialog.__populateServerCertificatesTree</h4> |
|
128 <b>__populateServerCertificatesTree</b>(<i></i>) |
|
129 <p> |
|
130 Private slot to populate the server certificates tree. |
|
131 </p><a NAME="SslCertificatesDialog.on_caCertificatesTree_currentItemChanged" ID="SslCertificatesDialog.on_caCertificatesTree_currentItemChanged"></a> |
|
132 <h4>SslCertificatesDialog.on_caCertificatesTree_currentItemChanged</h4> |
|
133 <b>on_caCertificatesTree_currentItemChanged</b>(<i>current, previous</i>) |
|
134 <p> |
|
135 Private slot handling a change of the current item |
|
136 in the CA certificates list. |
|
137 </p><dl> |
|
138 <dt><i>current</i></dt> |
|
139 <dd> |
|
140 new current item (QTreeWidgetItem) |
|
141 </dd><dt><i>previous</i></dt> |
|
142 <dd> |
|
143 previous current item (QTreeWidgetItem) |
|
144 </dd> |
|
145 </dl><a NAME="SslCertificatesDialog.on_caViewButton_clicked" ID="SslCertificatesDialog.on_caViewButton_clicked"></a> |
|
146 <h4>SslCertificatesDialog.on_caViewButton_clicked</h4> |
|
147 <b>on_caViewButton_clicked</b>(<i></i>) |
|
148 <p> |
|
149 Private slot to show data of the selected CA certificate. |
|
150 </p><a NAME="SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged" ID="SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged"></a> |
|
151 <h4>SslCertificatesDialog.on_serversCertificatesTree_currentItemChanged</h4> |
|
152 <b>on_serversCertificatesTree_currentItemChanged</b>(<i>current, previous</i>) |
|
153 <p> |
|
154 Private slot handling a change of the current item in the |
|
155 server certificates list. |
|
156 </p><dl> |
|
157 <dt><i>current</i></dt> |
|
158 <dd> |
|
159 new current item (QTreeWidgetItem) |
|
160 </dd><dt><i>previous</i></dt> |
|
161 <dd> |
|
162 previous current item (QTreeWidgetItem) |
|
163 </dd> |
|
164 </dl><a NAME="SslCertificatesDialog.on_serversDeleteButton_clicked" ID="SslCertificatesDialog.on_serversDeleteButton_clicked"></a> |
|
165 <h4>SslCertificatesDialog.on_serversDeleteButton_clicked</h4> |
|
166 <b>on_serversDeleteButton_clicked</b>(<i></i>) |
|
167 <p> |
|
168 Private slot to delete the selected server certificate. |
|
169 </p><a NAME="SslCertificatesDialog.on_serversViewButton_clicked" ID="SslCertificatesDialog.on_serversViewButton_clicked"></a> |
|
170 <h4>SslCertificatesDialog.on_serversViewButton_clicked</h4> |
|
171 <b>on_serversViewButton_clicked</b>(<i></i>) |
|
172 <p> |
|
173 Private slot to show data of the selected server certificate. |
|
174 </p> |
|
175 <div align="right"><a href="#top">Up</a></div> |
|
176 <hr /> |
|
177 </body></html> |