Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleSecuritySafebrowsingV5HashList

import type { GoogleSecuritySafebrowsingV5HashList } from "https://googleapis.deno.dev/v1/safebrowsing:v5.ts";

A list of hashes identified by its name.

interface GoogleSecuritySafebrowsingV5HashList {
minimumWaitDuration?: number;
name?: string;
partialUpdate?: boolean;
sha256Checksum?: Uint8Array;
version?: Uint8Array;
}

§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.

§
minimumWaitDuration?: number
[src]

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.

§
name?: string
[src]

The name of the hash list. Note that the Global Cache is also just a hash list and can be referred to here.

§
partialUpdate?: boolean
[src]

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.

§
sha256Checksum?: Uint8Array
[src]

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.

§
version?: Uint8Array
[src]

The version of the hash list. The client MUST NOT manipulate those bytes.