Loading [MathJax]/extensions/tex2jax.js
azure-storage-common
12.10.0
Toggle main menu visibility
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
Functions
Variables
Files
File List
•
All
Classes
Functions
Variables
Pages
Loading...
Searching...
No Matches
inc
azure
storage
common
storage_common.hpp
1
// Copyright (c) Microsoft Corporation.
2
// Licensed under the MIT License.
3
4
#pragma once
5
6
#include "azure/storage/common/internal/constants.hpp"
7
#include "azure/storage/common/internal/storage_per_retry_policy.hpp"
8
9
#include <azure/core/case_insensitive_containers.hpp>
10
#include <azure/core/http/policies/policy.hpp>
11
12
#include <algorithm>
13
#include <cstdint>
14
#include <map>
15
#include <memory>
16
#include <string>
17
#include <vector>
18
19
namespace
Azure {
namespace
Storage {
20
21
constexpr
static
const
char
* AccountEncryptionKey =
"$account-encryption-key"
;
22
26
enum class
HashAlgorithm
27
{
31
Md5,
32
36
Crc64,
37
};
38
42
struct
ContentHash
final
43
{
47
std::vector<uint8_t>
Value
;
48
52
HashAlgorithm
Algorithm
= HashAlgorithm::Md5;
53
};
54
55
using
Metadata = Azure::Core::CaseInsensitiveMap;
56
57
}}
// namespace Azure::Storage
Azure::Storage::ContentHash
Hash used to check content integrity.
Definition
storage_common.hpp:43
Azure::Storage::ContentHash::Value
std::vector< uint8_t > Value
Binary hash value.
Definition
storage_common.hpp:47
Azure::Storage::ContentHash::Algorithm
HashAlgorithm Algorithm
The algorithm used for hash.
Definition
storage_common.hpp:52
Generated by
1.9.7