74 <td>Constructor</td> |
74 <td>Constructor</td> |
75 </tr><tr> |
75 </tr><tr> |
76 <td><a href="#SafeBrowsingManager.__lookupHashes">__lookupHashes</a></td> |
76 <td><a href="#SafeBrowsingManager.__lookupHashes">__lookupHashes</a></td> |
77 <td>Private method to lookup the given hashes.</td> |
77 <td>Private method to lookup the given hashes.</td> |
78 </tr><tr> |
78 </tr><tr> |
|
79 <td><a href="#SafeBrowsingManager.__setAutoUpdateThreatLists">__setAutoUpdateThreatLists</a></td> |
|
80 <td>Private method to set auto update for the threat lists.</td> |
|
81 </tr><tr> |
79 <td><a href="#SafeBrowsingManager.__setPlatforms">__setPlatforms</a></td> |
82 <td><a href="#SafeBrowsingManager.__setPlatforms">__setPlatforms</a></td> |
80 <td>Private method to set the platforms to be checked against.</td> |
83 <td>Private method to set the platforms to be checked against.</td> |
81 </tr><tr> |
84 </tr><tr> |
|
85 <td><a href="#SafeBrowsingManager.__showStatusBarMessage">__showStatusBarMessage</a></td> |
|
86 <td>Private method to show some message in the main window status bar.</td> |
|
87 </tr><tr> |
82 <td><a href="#SafeBrowsingManager.__syncFullHashes">__syncFullHashes</a></td> |
88 <td><a href="#SafeBrowsingManager.__syncFullHashes">__syncFullHashes</a></td> |
83 <td>Private method to download full hashes matching given prefixes.</td> |
89 <td>Private method to download full hashes matching given prefixes.</td> |
84 </tr><tr> |
90 </tr><tr> |
|
91 <td><a href="#SafeBrowsingManager.__threatListsUpdateTimerTimeout">__threatListsUpdateTimerTimeout</a></td> |
|
92 <td>Private slot to perform the auto update of the threat lists.</td> |
|
93 </tr><tr> |
85 <td><a href="#SafeBrowsingManager.__verifyThreatListChecksum">__verifyThreatListChecksum</a></td> |
94 <td><a href="#SafeBrowsingManager.__verifyThreatListChecksum">__verifyThreatListChecksum</a></td> |
86 <td>Private method to verify the local checksum of a threat list with the checksum of the safe browsing server.</td> |
95 <td>Private method to verify the local checksum of a threat list with the checksum of the safe browsing server.</td> |
87 </tr><tr> |
96 </tr><tr> |
88 <td><a href="#SafeBrowsingManager.close">close</a></td> |
97 <td><a href="#SafeBrowsingManager.close">close</a></td> |
89 <td>Public method to close the safe browsing interface.</td> |
98 <td>Public method to close the safe browsing interface.</td> |
112 <td><a href="#SafeBrowsingManager.getThreatType">getThreatType</a></td> |
121 <td><a href="#SafeBrowsingManager.getThreatType">getThreatType</a></td> |
113 <td>Public method to get a display string for a given threat type.</td> |
122 <td>Public method to get a display string for a given threat type.</td> |
114 </tr><tr> |
123 </tr><tr> |
115 <td><a href="#SafeBrowsingManager.isEnabled">isEnabled</a></td> |
124 <td><a href="#SafeBrowsingManager.isEnabled">isEnabled</a></td> |
116 <td>Public method to check, if safe browsing is enabled.</td> |
125 <td>Public method to check, if safe browsing is enabled.</td> |
|
126 </tr><tr> |
|
127 <td><a href="#SafeBrowsingManager.isUpdatingThreatLists">isUpdatingThreatLists</a></td> |
|
128 <td>Public method to check, if we are in the process of updating the threat lists.</td> |
117 </tr><tr> |
129 </tr><tr> |
118 <td><a href="#SafeBrowsingManager.lookupUrl">lookupUrl</a></td> |
130 <td><a href="#SafeBrowsingManager.lookupUrl">lookupUrl</a></td> |
119 <td>Public method to lookup an URL.</td> |
131 <td>Public method to lookup an URL.</td> |
120 </tr><tr> |
132 </tr><tr> |
121 <td><a href="#SafeBrowsingManager.showSafeBrowsingDialog">showSafeBrowsingDialog</a></td> |
133 <td><a href="#SafeBrowsingManager.showSafeBrowsingDialog">showSafeBrowsingDialog</a></td> |
167 </dl><dl> |
179 </dl><dl> |
168 <dt>Return Type:</dt> |
180 <dt>Return Type:</dt> |
169 <dd> |
181 <dd> |
170 list of ThreatList |
182 list of ThreatList |
171 </dd> |
183 </dd> |
172 </dl><a NAME="SafeBrowsingManager.__setPlatforms" ID="SafeBrowsingManager.__setPlatforms"></a> |
184 </dl><a NAME="SafeBrowsingManager.__setAutoUpdateThreatLists" ID="SafeBrowsingManager.__setAutoUpdateThreatLists"></a> |
|
185 <h4>SafeBrowsingManager.__setAutoUpdateThreatLists</h4> |
|
186 <b>__setAutoUpdateThreatLists</b>(<i></i>) |
|
187 <p> |
|
188 Private method to set auto update for the threat lists. |
|
189 </p><a NAME="SafeBrowsingManager.__setPlatforms" ID="SafeBrowsingManager.__setPlatforms"></a> |
173 <h4>SafeBrowsingManager.__setPlatforms</h4> |
190 <h4>SafeBrowsingManager.__setPlatforms</h4> |
174 <b>__setPlatforms</b>(<i></i>) |
191 <b>__setPlatforms</b>(<i></i>) |
175 <p> |
192 <p> |
176 Private method to set the platforms to be checked against. |
193 Private method to set the platforms to be checked against. |
177 </p><a NAME="SafeBrowsingManager.__syncFullHashes" ID="SafeBrowsingManager.__syncFullHashes"></a> |
194 </p><a NAME="SafeBrowsingManager.__showStatusBarMessage" ID="SafeBrowsingManager.__showStatusBarMessage"></a> |
|
195 <h4>SafeBrowsingManager.__showStatusBarMessage</h4> |
|
196 <b>__showStatusBarMessage</b>(<i>message</i>) |
|
197 <p> |
|
198 Private method to show some message in the main window status bar. |
|
199 </p><dl> |
|
200 <dt><i>message</i> (str)</dt> |
|
201 <dd> |
|
202 message to be shown |
|
203 </dd> |
|
204 </dl><a NAME="SafeBrowsingManager.__syncFullHashes" ID="SafeBrowsingManager.__syncFullHashes"></a> |
178 <h4>SafeBrowsingManager.__syncFullHashes</h4> |
205 <h4>SafeBrowsingManager.__syncFullHashes</h4> |
179 <b>__syncFullHashes</b>(<i>hashPrefixes</i>) |
206 <b>__syncFullHashes</b>(<i>hashPrefixes</i>) |
180 <p> |
207 <p> |
181 Private method to download full hashes matching given prefixes. |
208 Private method to download full hashes matching given prefixes. |
182 </p><p> |
209 </p><p> |
184 </p><dl> |
211 </p><dl> |
185 <dt><i>hashPrefixes</i> (list of bytes)</dt> |
212 <dt><i>hashPrefixes</i> (list of bytes)</dt> |
186 <dd> |
213 <dd> |
187 list of hash prefixes to get full hashes for |
214 list of hash prefixes to get full hashes for |
188 </dd> |
215 </dd> |
189 </dl><a NAME="SafeBrowsingManager.__verifyThreatListChecksum" ID="SafeBrowsingManager.__verifyThreatListChecksum"></a> |
216 </dl><a NAME="SafeBrowsingManager.__threatListsUpdateTimerTimeout" ID="SafeBrowsingManager.__threatListsUpdateTimerTimeout"></a> |
|
217 <h4>SafeBrowsingManager.__threatListsUpdateTimerTimeout</h4> |
|
218 <b>__threatListsUpdateTimerTimeout</b>(<i></i>) |
|
219 <p> |
|
220 Private slot to perform the auto update of the threat lists. |
|
221 </p><a NAME="SafeBrowsingManager.__verifyThreatListChecksum" ID="SafeBrowsingManager.__verifyThreatListChecksum"></a> |
190 <h4>SafeBrowsingManager.__verifyThreatListChecksum</h4> |
222 <h4>SafeBrowsingManager.__verifyThreatListChecksum</h4> |
191 <b>__verifyThreatListChecksum</b>(<i>threatList, remoteChecksum</i>) |
223 <b>__verifyThreatListChecksum</b>(<i>threatList, remoteChecksum</i>) |
192 <p> |
224 <p> |
193 Private method to verify the local checksum of a threat list with the |
225 Private method to verify the local checksum of a threat list with the |
194 checksum of the safe browsing server. |
226 checksum of the safe browsing server. |
353 </dl><dl> |
385 </dl><dl> |
354 <dt>Return Type:</dt> |
386 <dt>Return Type:</dt> |
355 <dd> |
387 <dd> |
356 bool |
388 bool |
357 </dd> |
389 </dd> |
|
390 </dl><a NAME="SafeBrowsingManager.isUpdatingThreatLists" ID="SafeBrowsingManager.isUpdatingThreatLists"></a> |
|
391 <h4>SafeBrowsingManager.isUpdatingThreatLists</h4> |
|
392 <b>isUpdatingThreatLists</b>(<i></i>) |
|
393 <p> |
|
394 Public method to check, if we are in the process of updating the |
|
395 threat lists. |
|
396 </p><dl> |
|
397 <dt>Returns:</dt> |
|
398 <dd> |
|
399 flag indicating an update process is active |
|
400 </dd> |
|
401 </dl><dl> |
|
402 <dt>Return Type:</dt> |
|
403 <dd> |
|
404 bool |
|
405 </dd> |
358 </dl><a NAME="SafeBrowsingManager.lookupUrl" ID="SafeBrowsingManager.lookupUrl"></a> |
406 </dl><a NAME="SafeBrowsingManager.lookupUrl" ID="SafeBrowsingManager.lookupUrl"></a> |
359 <h4>SafeBrowsingManager.lookupUrl</h4> |
407 <h4>SafeBrowsingManager.lookupUrl</h4> |
360 <b>lookupUrl</b>(<i>url</i>) |
408 <b>lookupUrl</b>(<i>url</i>) |
361 <p> |
409 <p> |
362 Public method to lookup an URL. |
410 Public method to lookup an URL. |