|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation</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.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing checks for switched off certificate validation. |
|
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 <tr><td>None</td></tr> |
|
23 </table> |
|
24 <h3>Functions</h3> |
|
25 |
|
26 <table> |
|
27 |
|
28 <tr> |
|
29 <td><a href="#checkNoCertificateValidation">checkNoCertificateValidation</a></td> |
|
30 <td>Function to check for switched off certificate validation.</td> |
|
31 </tr> |
|
32 <tr> |
|
33 <td><a href="#getChecks">getChecks</a></td> |
|
34 <td>Public method to get a dictionary with checks handled by this module.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <hr /> |
|
38 <hr /> |
|
39 <a NAME="checkNoCertificateValidation" ID="checkNoCertificateValidation"></a> |
|
40 <h2>checkNoCertificateValidation</h2> |
|
41 <b>checkNoCertificateValidation</b>(<i>reportError, context, config</i>) |
|
42 |
|
43 <p> |
|
44 Function to check for switched off certificate validation. |
|
45 </p> |
|
46 <dl> |
|
47 |
|
48 <dt><i>reportError</i> (func)</dt> |
|
49 <dd> |
|
50 function to be used to report errors |
|
51 </dd> |
|
52 <dt><i>context</i> (SecurityContext)</dt> |
|
53 <dd> |
|
54 security context object |
|
55 </dd> |
|
56 <dt><i>config</i> (dict)</dt> |
|
57 <dd> |
|
58 dictionary with configuration data |
|
59 </dd> |
|
60 </dl> |
|
61 <div align="right"><a href="#top">Up</a></div> |
|
62 <hr /> |
|
63 <hr /> |
|
64 <a NAME="getChecks" ID="getChecks"></a> |
|
65 <h2>getChecks</h2> |
|
66 <b>getChecks</b>(<i></i>) |
|
67 |
|
68 <p> |
|
69 Public method to get a dictionary with checks handled by this module. |
|
70 </p> |
|
71 <dl> |
|
72 <dt>Return:</dt> |
|
73 <dd> |
|
74 dictionary containing checker lists containing checker function and |
|
75 list of codes |
|
76 </dd> |
|
77 </dl> |
|
78 <dl> |
|
79 <dt>Return Type:</dt> |
|
80 <dd> |
|
81 dict |
|
82 </dd> |
|
83 </dl> |
|
84 <div align="right"><a href="#top">Up</a></div> |
|
85 <hr /> |
|
86 </body></html> |