|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls</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.insecureSslTls</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a check for use of SSL/TLS with insecure protocols. |
|
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="#checkInsecureSslDefaults">checkInsecureSslDefaults</a></td> |
|
30 <td>Function to check for SSL use with insecure defaults specified.</td> |
|
31 </tr> |
|
32 <tr> |
|
33 <td><a href="#checkInsecureSslProtocolVersion">checkInsecureSslProtocolVersion</a></td> |
|
34 <td>Function to check for use of insecure SSL protocol version.</td> |
|
35 </tr> |
|
36 <tr> |
|
37 <td><a href="#checkSslWithoutVersion">checkSslWithoutVersion</a></td> |
|
38 <td>Function to check for SSL use with no version specified.</td> |
|
39 </tr> |
|
40 <tr> |
|
41 <td><a href="#getChecks">getChecks</a></td> |
|
42 <td>Public method to get a dictionary with checks handled by this module.</td> |
|
43 </tr> |
|
44 </table> |
|
45 <hr /> |
|
46 <hr /> |
|
47 <a NAME="checkInsecureSslDefaults" ID="checkInsecureSslDefaults"></a> |
|
48 <h2>checkInsecureSslDefaults</h2> |
|
49 <b>checkInsecureSslDefaults</b>(<i>reportError, context, config</i>) |
|
50 |
|
51 <p> |
|
52 Function to check for SSL use with insecure defaults specified. |
|
53 </p> |
|
54 <dl> |
|
55 |
|
56 <dt><i>reportError</i> (func)</dt> |
|
57 <dd> |
|
58 function to be used to report errors |
|
59 </dd> |
|
60 <dt><i>context</i> (SecurityContext)</dt> |
|
61 <dd> |
|
62 security context object |
|
63 </dd> |
|
64 <dt><i>config</i> (dict)</dt> |
|
65 <dd> |
|
66 dictionary with configuration data |
|
67 </dd> |
|
68 </dl> |
|
69 <div align="right"><a href="#top">Up</a></div> |
|
70 <hr /> |
|
71 <hr /> |
|
72 <a NAME="checkInsecureSslProtocolVersion" ID="checkInsecureSslProtocolVersion"></a> |
|
73 <h2>checkInsecureSslProtocolVersion</h2> |
|
74 <b>checkInsecureSslProtocolVersion</b>(<i>reportError, context, config</i>) |
|
75 |
|
76 <p> |
|
77 Function to check for use of insecure SSL protocol version. |
|
78 </p> |
|
79 <dl> |
|
80 |
|
81 <dt><i>reportError</i> (func)</dt> |
|
82 <dd> |
|
83 function to be used to report errors |
|
84 </dd> |
|
85 <dt><i>context</i> (SecurityContext)</dt> |
|
86 <dd> |
|
87 security context object |
|
88 </dd> |
|
89 <dt><i>config</i> (dict)</dt> |
|
90 <dd> |
|
91 dictionary with configuration data |
|
92 </dd> |
|
93 </dl> |
|
94 <div align="right"><a href="#top">Up</a></div> |
|
95 <hr /> |
|
96 <hr /> |
|
97 <a NAME="checkSslWithoutVersion" ID="checkSslWithoutVersion"></a> |
|
98 <h2>checkSslWithoutVersion</h2> |
|
99 <b>checkSslWithoutVersion</b>(<i>reportError, context, config</i>) |
|
100 |
|
101 <p> |
|
102 Function to check for SSL use with no version specified. |
|
103 </p> |
|
104 <dl> |
|
105 |
|
106 <dt><i>reportError</i> (func)</dt> |
|
107 <dd> |
|
108 function to be used to report errors |
|
109 </dd> |
|
110 <dt><i>context</i> (SecurityContext)</dt> |
|
111 <dd> |
|
112 security context object |
|
113 </dd> |
|
114 <dt><i>config</i> (dict)</dt> |
|
115 <dd> |
|
116 dictionary with configuration data |
|
117 </dd> |
|
118 </dl> |
|
119 <div align="right"><a href="#top">Up</a></div> |
|
120 <hr /> |
|
121 <hr /> |
|
122 <a NAME="getChecks" ID="getChecks"></a> |
|
123 <h2>getChecks</h2> |
|
124 <b>getChecks</b>(<i></i>) |
|
125 |
|
126 <p> |
|
127 Public method to get a dictionary with checks handled by this module. |
|
128 </p> |
|
129 <dl> |
|
130 <dt>Return:</dt> |
|
131 <dd> |
|
132 dictionary containing checker lists containing checker function and |
|
133 list of codes |
|
134 </dd> |
|
135 </dl> |
|
136 <dl> |
|
137 <dt>Return Type:</dt> |
|
138 <dd> |
|
139 dict |
|
140 </dd> |
|
141 </dl> |
|
142 <div align="right"><a href="#top">Up</a></div> |
|
143 <hr /> |
|
144 </body></html> |