src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html

branch
eric7
changeset 10479
856476537696
parent 9209
b99e7fd55fd3
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey</h1> 9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey</h1>
10
11 <p> 10 <p>
12 Module implementing checks for weak cryptographic key use. 11 Module implementing checks for weak cryptographic key use.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20
21 <table> 20 <table>
22 <tr><td>None</td></tr> 21 <tr><td>None</td></tr>
23 </table> 22 </table>
23
24 <h3>Functions</h3> 24 <h3>Functions</h3>
25
26 <table> 25 <table>
27
28 <tr> 26 <tr>
29 <td><a href="#_classifyKeySize">_classifyKeySize</a></td> 27 <td><a href="#_classifyKeySize">_classifyKeySize</a></td>
30 <td>Function to classify a key and report an error if insufficient.</td> 28 <td>Function to classify a key and report an error if insufficient.</td>
31 </tr> 29 </tr>
32 <tr> 30 <tr>
44 <tr> 42 <tr>
45 <td><a href="#getChecks">getChecks</a></td> 43 <td><a href="#getChecks">getChecks</a></td>
46 <td>Public method to get a dictionary with checks handled by this module.</td> 44 <td>Public method to get a dictionary with checks handled by this module.</td>
47 </tr> 45 </tr>
48 </table> 46 </table>
47
49 <hr /> 48 <hr />
50 <hr /> 49 <hr />
51 <a NAME="_classifyKeySize" ID="_classifyKeySize"></a> 50 <a NAME="_classifyKeySize" ID="_classifyKeySize"></a>
52 <h2>_classifyKeySize</h2> 51 <h2>_classifyKeySize</h2>
53 <b>_classifyKeySize</b>(<i>reportError, config, keyType, keySize, node</i>) 52 <b>_classifyKeySize</b>(<i>reportError, config, keyType, keySize, node</i>)
54
55 <p> 53 <p>
56 Function to classify a key and report an error if insufficient. 54 Function to classify a key and report an error if insufficient.
57 </p> 55 </p>
56
58 <dl> 57 <dl>
59 58
60 <dt><i>reportError</i> (func)</dt> 59 <dt><i>reportError</i> (func)</dt>
61 <dd> 60 <dd>
62 function to be used to report errors 61 function to be used to report errors
94 <hr /> 93 <hr />
95 <hr /> 94 <hr />
96 <a NAME="_weakCryptoKeySizeCryptography" ID="_weakCryptoKeySizeCryptography"></a> 95 <a NAME="_weakCryptoKeySizeCryptography" ID="_weakCryptoKeySizeCryptography"></a>
97 <h2>_weakCryptoKeySizeCryptography</h2> 96 <h2>_weakCryptoKeySizeCryptography</h2>
98 <b>_weakCryptoKeySizeCryptography</b>(<i>reportError, context, config</i>) 97 <b>_weakCryptoKeySizeCryptography</b>(<i>reportError, context, config</i>)
99
100 <p> 98 <p>
101 Function to check 'cryptography.hazmat' for weak key use. 99 Function to check 'cryptography.hazmat' for weak key use.
102 </p> 100 </p>
101
103 <dl> 102 <dl>
104 103
105 <dt><i>reportError</i> (func)</dt> 104 <dt><i>reportError</i> (func)</dt>
106 <dd> 105 <dd>
107 function to be used to report errors 106 function to be used to report errors
131 <hr /> 130 <hr />
132 <hr /> 131 <hr />
133 <a NAME="_weakCryptoKeySizePycrypto" ID="_weakCryptoKeySizePycrypto"></a> 132 <a NAME="_weakCryptoKeySizePycrypto" ID="_weakCryptoKeySizePycrypto"></a>
134 <h2>_weakCryptoKeySizePycrypto</h2> 133 <h2>_weakCryptoKeySizePycrypto</h2>
135 <b>_weakCryptoKeySizePycrypto</b>(<i>reportError, context, config</i>) 134 <b>_weakCryptoKeySizePycrypto</b>(<i>reportError, context, config</i>)
136
137 <p> 135 <p>
138 Function to check 'pycrypto' for weak key use. 136 Function to check 'pycrypto' for weak key use.
139 </p> 137 </p>
138
140 <dl> 139 <dl>
141 140
142 <dt><i>reportError</i> (func)</dt> 141 <dt><i>reportError</i> (func)</dt>
143 <dd> 142 <dd>
144 function to be used to report errors 143 function to be used to report errors
168 <hr /> 167 <hr />
169 <hr /> 168 <hr />
170 <a NAME="checkWeakCryptographicKey" ID="checkWeakCryptographicKey"></a> 169 <a NAME="checkWeakCryptographicKey" ID="checkWeakCryptographicKey"></a>
171 <h2>checkWeakCryptographicKey</h2> 170 <h2>checkWeakCryptographicKey</h2>
172 <b>checkWeakCryptographicKey</b>(<i>reportError, context, config</i>) 171 <b>checkWeakCryptographicKey</b>(<i>reportError, context, config</i>)
173
174 <p> 172 <p>
175 Function to check for weak cryptographic key use. 173 Function to check for weak cryptographic key use.
176 </p> 174 </p>
175
177 <dl> 176 <dl>
178 177
179 <dt><i>reportError</i> (func)</dt> 178 <dt><i>reportError</i> (func)</dt>
180 <dd> 179 <dd>
181 function to be used to report errors 180 function to be used to report errors
193 <hr /> 192 <hr />
194 <hr /> 193 <hr />
195 <a NAME="getChecks" ID="getChecks"></a> 194 <a NAME="getChecks" ID="getChecks"></a>
196 <h2>getChecks</h2> 195 <h2>getChecks</h2>
197 <b>getChecks</b>(<i></i>) 196 <b>getChecks</b>(<i></i>)
198
199 <p> 197 <p>
200 Public method to get a dictionary with checks handled by this module. 198 Public method to get a dictionary with checks handled by this module.
201 </p> 199 </p>
200
202 <dl> 201 <dl>
203 <dt>Return:</dt> 202 <dt>Return:</dt>
204 <dd> 203 <dd>
205 dictionary containing checker lists containing checker function and 204 dictionary containing checker lists containing checker function and
206 list of codes 205 list of codes

eric ide

mercurial