GoogleSecuritySafebrowsingV5HashList
import type { GoogleSecuritySafebrowsingV5HashList } from "https://googleapis.deno.dev/v1/safebrowsing:v5.ts";
A list of hashes identified by its name.
§Properties
The 8-byte additions.
The 4-byte additions.
The 16-byte additions.
The 32-byte additions.
The Rice-delta encoded version of removal indices. Since each hash list definitely has less than 2^32 entries, the indices are treated as 32-bit integers and encoded.
Metadata about the hash list. This is not populated by the GetHashList
method, but this is populated by the ListHashLists
method.
Clients should wait at least this long to get the hash list again. If omitted or zero, clients SHOULD fetch immediately because it indicates that the server has an additional update to be sent to the client, but could not due to the client-specified constraints.
The name of the hash list. Note that the Global Cache is also just a hash list and can be referred to here.
When true, this is a partial diff containing additions and removals based
on what the client already has. When false, this is the complete hash list.
When false, the client MUST delete any locally stored version for this hash
list. This means that either the version possessed by the client is
seriously out-of-date or the client data is believed to be corrupt. The
compressed_removals
field will be empty. When true, the client MUST apply
an incremental update by applying removals and then additions.
The sorted list of all hashes, hashed again with SHA256. This is the checksum for the sorted list of all hashes present in the database after applying the provided update. In the case that no updates were provided, the server will omit this field to indicate that the client should use the existing checksum.