Google Cloud Storage C++ Client  1.42.0
A C++ Client Library for Google Cloud Storage
Public Attributes | List of all members
google::cloud::storage::EncryptionKeyData Struct Reference

A simple wrapper for the encryption key attributes. More...

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

Public Attributes

std::string algorithm
 
std::string key
 
std::string sha256
 

Detailed Description

A simple wrapper for the encryption key attributes.

Most request options have primitive types such as integers or strings. Encryption keys, in contrast, must include the algorithm, the (base64-encoded) key, and the (base64-encoded) hash of the key. This structure provides a simple container for these three values.

Definition at line 138 of file well_known_headers.h.

Member Data Documentation

◆ algorithm

std::string google::cloud::storage::EncryptionKeyData::algorithm

Definition at line 139 of file well_known_headers.h.

◆ key

std::string google::cloud::storage::EncryptionKeyData::key

Definition at line 140 of file well_known_headers.h.

◆ sha256

std::string google::cloud::storage::EncryptionKeyData::sha256

Definition at line 141 of file well_known_headers.h.