(Work in progress, see notes below.)
This module is a client for Google Safe Browsing API v3. It aims to be able to synchronize an offline, encrypted database of URLs pointing to potentially malicious content, and perform fast lookups against that database.
For a taste what the target API is going to look like, check out the very well-commented (but non-functional until the upcoming work lands) example app.
Fetcherclass to schedule data fetches from the API. It should automatically fetch data at specified intervals, obey backoff constraints, and where possible batch full-length hash requests. Need further tests.
MatchResultsclasses, to wrap the URL canonicalizer, lookup expression generator, and persistence layer to cleanly perform lookups. Need further tests.