Google Cloud Storage C++ Client  1.31.1
A C++ Client Library for Google Cloud Storage
Public Member Functions | Static Public Member Functions | List of all members
google::cloud::storage::v1::MD5HashValue Struct Reference

Provide a pre-computed MD5 hash value. More...

#include <google/cloud/storage/hashing_options.h>

Public Member Functions

 MD5HashValue ()=default
 

Static Public Member Functions

static char const * name ()
 

Detailed Description

Provide a pre-computed MD5 hash value.

The application may be able to obtain a MD5 hash in some out-of-band way. For example, if the object was downloaded from some other cloud storage service, or because the application already queried the GCS object metadata. In these cases, providing the value to the client library improves the end-to-end data integrity verification.

See also
https://sigops.org/s/conferences/hotos/2021/papers/hotos21-s01-hochschild.pdf

Definition at line 38 of file hashing_options.h.

Constructor & Destructor Documentation

◆ MD5HashValue()

google::cloud::storage::v1::MD5HashValue::MD5HashValue ( )
default

Member Function Documentation

◆ name()

static char const* google::cloud::storage::v1::MD5HashValue::name ( )
inlinestatic

Definition at line 44 of file hashing_options.h.