eric6/Documentation/Source/eric6.E5Network.E5SslErrorHandler.html

changeset 8268
6b8128e0c9d1
parent 7989
a21d673a8f99
equal deleted inserted replaced
8267:6baca884c73a 8268:6b8128e0c9d1
36 36
37 <tr> 37 <tr>
38 <td><a href="#E5SslErrorHandler">E5SslErrorHandler</a></td> 38 <td><a href="#E5SslErrorHandler">E5SslErrorHandler</a></td>
39 <td>Class implementing a handler for SSL errors.</td> 39 <td>Class implementing a handler for SSL errors.</td>
40 </tr> 40 </tr>
41 <tr>
42 <td><a href="#E5SslErrorState">E5SslErrorState</a></td>
43 <td>Class defining the SSL error handling states.</td>
44 </tr>
41 </table> 45 </table>
42 <h3>Functions</h3> 46 <h3>Functions</h3>
43 47
44 <table> 48 <table>
45 <tr><td>None</td></tr> 49 <tr><td>None</td></tr>
59 <h3>Derived from</h3> 63 <h3>Derived from</h3>
60 QObject 64 QObject
61 <h3>Class Attributes</h3> 65 <h3>Class Attributes</h3>
62 66
63 <table> 67 <table>
64 <tr><td>NotIgnored</td></tr><tr><td>SystemIgnored</td></tr><tr><td>UserIgnored</td></tr> 68 <tr><td>None</td></tr>
65 </table> 69 </table>
66 <h3>Class Methods</h3> 70 <h3>Class Methods</h3>
67 71
68 <table> 72 <table>
69 <tr><td>None</td></tr> 73 <tr><td>None</td></tr>
157 <p> 161 <p>
158 Public method to handle SSL errors. 162 Public method to handle SSL errors.
159 </p> 163 </p>
160 <dl> 164 <dl>
161 165
166 <dt><i>errors</i> (list of QSslError)</dt>
167 <dd>
168 list of SSL errors
169 </dd>
170 <dt><i>server</i> (str)</dt>
171 <dd>
172 name of the server
173 </dd>
174 <dt><i>port</i> (int)</dt>
175 <dd>
176 value of the port
177 </dd>
178 </dl>
179 <dl>
180 <dt>Return:</dt>
181 <dd>
182 tuple indicating to ignore the SSL errors and indicating a
183 change of the default SSL configuration
184 </dd>
185 </dl>
186 <dl>
187 <dt>Return Type:</dt>
188 <dd>
189 tuple of (E5SslErrorState, bool)
190 </dd>
191 </dl>
192 <a NAME="E5SslErrorHandler.sslErrorsReply" ID="E5SslErrorHandler.sslErrorsReply"></a>
193 <h4>E5SslErrorHandler.sslErrorsReply</h4>
194 <b>sslErrorsReply</b>(<i>reply, errors</i>)
195
196 <p>
197 Public slot to handle SSL errors for a network reply.
198 </p>
199 <dl>
200
201 <dt><i>reply</i></dt>
202 <dd>
203 reference to the reply object (QNetworkReply)
204 </dd>
162 <dt><i>errors</i></dt> 205 <dt><i>errors</i></dt>
163 <dd> 206 <dd>
164 list of SSL errors (list of QSslError) 207 list of SSL errors (list of QSslError)
165 </dd>
166 <dt><i>server</i></dt>
167 <dd>
168 name of the server (string)
169 </dd>
170 <dt><i>port</i></dt>
171 <dd>
172 value of the port (integer)
173 </dd> 208 </dd>
174 </dl> 209 </dl>
175 <dl> 210 <dl>
176 <dt>Return:</dt> 211 <dt>Return:</dt>
177 <dd> 212 <dd>
178 tuple indicating to ignore the SSL errors (one of NotIgnored, 213 tuple indicating to ignore the SSL errors (one of NotIgnored,
179 SystemIgnored or UserIgnored) and indicating a change of the 214 SystemIgnored or UserIgnored) and indicating a change of the
180 default SSL configuration (boolean) 215 default SSL configuration (boolean)
181 </dd> 216 </dd>
182 </dl> 217 </dl>
183 <a NAME="E5SslErrorHandler.sslErrorsReply" ID="E5SslErrorHandler.sslErrorsReply"></a>
184 <h4>E5SslErrorHandler.sslErrorsReply</h4>
185 <b>sslErrorsReply</b>(<i>reply, errors</i>)
186
187 <p>
188 Public slot to handle SSL errors for a network reply.
189 </p>
190 <dl>
191
192 <dt><i>reply</i></dt>
193 <dd>
194 reference to the reply object (QNetworkReply)
195 </dd>
196 <dt><i>errors</i></dt>
197 <dd>
198 list of SSL errors (list of QSslError)
199 </dd>
200 </dl>
201 <dl>
202 <dt>Return:</dt>
203 <dd>
204 tuple indicating to ignore the SSL errors (one of NotIgnored,
205 SystemIgnored or UserIgnored) and indicating a change of the
206 default SSL configuration (boolean)
207 </dd>
208 </dl>
209 <a NAME="E5SslErrorHandler.sslErrorsReplySlot" ID="E5SslErrorHandler.sslErrorsReplySlot"></a> 218 <a NAME="E5SslErrorHandler.sslErrorsReplySlot" ID="E5SslErrorHandler.sslErrorsReplySlot"></a>
210 <h4>E5SslErrorHandler.sslErrorsReplySlot</h4> 219 <h4>E5SslErrorHandler.sslErrorsReplySlot</h4>
211 <b>sslErrorsReplySlot</b>(<i>reply, errors</i>) 220 <b>sslErrorsReplySlot</b>(<i>reply, errors</i>)
212 221
213 <p> 222 <p>
224 list of SSL errors (list of QSslError) 233 list of SSL errors (list of QSslError)
225 </dd> 234 </dd>
226 </dl> 235 </dl>
227 <div align="right"><a href="#top">Up</a></div> 236 <div align="right"><a href="#top">Up</a></div>
228 <hr /> 237 <hr />
238 <hr />
239 <a NAME="E5SslErrorState" ID="E5SslErrorState"></a>
240 <h2>E5SslErrorState</h2>
241
242 <p>
243 Class defining the SSL error handling states.
244 </p>
245 <h3>Derived from</h3>
246 enum.Enum
247 <h3>Class Attributes</h3>
248
249 <table>
250 <tr><td>NOT_IGNORED</td></tr><tr><td>SYSTEM_IGNORED</td></tr><tr><td>USER_IGNORED</td></tr>
251 </table>
252 <h3>Class Methods</h3>
253
254 <table>
255 <tr><td>None</td></tr>
256 </table>
257 <h3>Methods</h3>
258
259 <table>
260 <tr><td>None</td></tr>
261 </table>
262 <h3>Static Methods</h3>
263
264 <table>
265 <tr><td>None</td></tr>
266 </table>
267
268 <div align="right"><a href="#top">Up</a></div>
269 <hr />
229 </body></html> 270 </body></html>

eric ide

mercurial