Interface HashStreamValidatorOptions (7.3.2)

Package

@google-cloud/storage

Properties

crc32c

crc32c: boolean;

Enables CRC32C calculation. To validate a provided value use crc32cExpected.

crc32cExpected

crc32cExpected?: string;

Sets the expected CRC32C value to verify once all data has been consumed. Also sets the crc32c option to true

crc32cGenerator

crc32cGenerator: CRC32CValidatorGenerator;

Set a custom CRC32C generator

md5

md5: boolean;

Enables MD5 calculation. To validate a provided value use md5Expected.

md5Expected

md5Expected?: string;

Sets the expected MD5 value to verify once all data has been consumed. Also sets the md5 option to true

updateHashesOnly

updateHashesOnly?: boolean;

Indicates whether or not to run a validation check or only update the hash values