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> |