|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a check for use of SSL/TLS with insecure protocols. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 <tr><td>None</td></tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 |
|
40 <table> |
|
41 |
|
42 <tr> |
|
43 <td><a href="#checkInsecureSslDefaults">checkInsecureSslDefaults</a></td> |
|
44 <td>Function to check for SSL use with insecure defaults specified.</td> |
|
45 </tr> |
|
46 <tr> |
|
47 <td><a href="#checkInsecureSslProtocolVersion">checkInsecureSslProtocolVersion</a></td> |
|
48 <td>Function to check for use of insecure SSL protocol version.</td> |
|
49 </tr> |
|
50 <tr> |
|
51 <td><a href="#checkSslWithoutVersion">checkSslWithoutVersion</a></td> |
|
52 <td>Function to check for SSL use with no version specified.</td> |
|
53 </tr> |
|
54 <tr> |
|
55 <td><a href="#getChecks">getChecks</a></td> |
|
56 <td>Public method to get a dictionary with checks handled by this module.</td> |
|
57 </tr> |
|
58 </table> |
|
59 <hr /> |
|
60 <hr /> |
|
61 <a NAME="checkInsecureSslDefaults" ID="checkInsecureSslDefaults"></a> |
|
62 <h2>checkInsecureSslDefaults</h2> |
|
63 <b>checkInsecureSslDefaults</b>(<i>reportError, context, config</i>) |
|
64 |
|
65 <p> |
|
66 Function to check for SSL use with insecure defaults specified. |
|
67 </p> |
|
68 <dl> |
|
69 |
|
70 <dt><i>reportError</i> (func)</dt> |
|
71 <dd> |
|
72 function to be used to report errors |
|
73 </dd> |
|
74 <dt><i>context</i> (SecurityContext)</dt> |
|
75 <dd> |
|
76 security context object |
|
77 </dd> |
|
78 <dt><i>config</i> (dict)</dt> |
|
79 <dd> |
|
80 dictionary with configuration data |
|
81 </dd> |
|
82 </dl> |
|
83 <div align="right"><a href="#top">Up</a></div> |
|
84 <hr /> |
|
85 <hr /> |
|
86 <a NAME="checkInsecureSslProtocolVersion" ID="checkInsecureSslProtocolVersion"></a> |
|
87 <h2>checkInsecureSslProtocolVersion</h2> |
|
88 <b>checkInsecureSslProtocolVersion</b>(<i>reportError, context, config</i>) |
|
89 |
|
90 <p> |
|
91 Function to check for use of insecure SSL protocol version. |
|
92 </p> |
|
93 <dl> |
|
94 |
|
95 <dt><i>reportError</i> (func)</dt> |
|
96 <dd> |
|
97 function to be used to report errors |
|
98 </dd> |
|
99 <dt><i>context</i> (SecurityContext)</dt> |
|
100 <dd> |
|
101 security context object |
|
102 </dd> |
|
103 <dt><i>config</i> (dict)</dt> |
|
104 <dd> |
|
105 dictionary with configuration data |
|
106 </dd> |
|
107 </dl> |
|
108 <div align="right"><a href="#top">Up</a></div> |
|
109 <hr /> |
|
110 <hr /> |
|
111 <a NAME="checkSslWithoutVersion" ID="checkSslWithoutVersion"></a> |
|
112 <h2>checkSslWithoutVersion</h2> |
|
113 <b>checkSslWithoutVersion</b>(<i>reportError, context, config</i>) |
|
114 |
|
115 <p> |
|
116 Function to check for SSL use with no version specified. |
|
117 </p> |
|
118 <dl> |
|
119 |
|
120 <dt><i>reportError</i> (func)</dt> |
|
121 <dd> |
|
122 function to be used to report errors |
|
123 </dd> |
|
124 <dt><i>context</i> (SecurityContext)</dt> |
|
125 <dd> |
|
126 security context object |
|
127 </dd> |
|
128 <dt><i>config</i> (dict)</dt> |
|
129 <dd> |
|
130 dictionary with configuration data |
|
131 </dd> |
|
132 </dl> |
|
133 <div align="right"><a href="#top">Up</a></div> |
|
134 <hr /> |
|
135 <hr /> |
|
136 <a NAME="getChecks" ID="getChecks"></a> |
|
137 <h2>getChecks</h2> |
|
138 <b>getChecks</b>(<i></i>) |
|
139 |
|
140 <p> |
|
141 Public method to get a dictionary with checks handled by this module. |
|
142 </p> |
|
143 <dl> |
|
144 <dt>Return:</dt> |
|
145 <dd> |
|
146 dictionary containing checker lists containing checker function and |
|
147 list of codes |
|
148 </dd> |
|
149 </dl> |
|
150 <dl> |
|
151 <dt>Return Type:</dt> |
|
152 <dd> |
|
153 dict |
|
154 </dd> |
|
155 </dl> |
|
156 <div align="right"><a href="#top">Up</a></div> |
|
157 <hr /> |
|
158 </body></html> |