AWS SDK for C++
AWS SDK for C++ Version 1.11.719
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
src
aws-cpp-sdk-s3-encryption
include
aws
s3-encryption
handlers
MetadataHandler.h
1
5
#pragma once
6
7
#include <aws/s3-encryption/handlers/DataHandler.h>
8
9
namespace
Aws
10
{
11
namespace
S3Encryption
12
{
13
namespace
Handlers
14
{
15
/*
16
Metadata handler will be responsible for reading and writing metadata to and from S3 object using a Put object
17
request or a Get object result.
18
*/
19
class
AWS_S3ENCRYPTION_API
MetadataHandler
:
public
DataHandler
20
{
21
public
:
22
/*
23
* Write ContentCryptoMaterial data to a put object request. This occurs in place.
24
*/
25
void
PopulateRequest
(
Aws::S3::Model::PutObjectRequest
& objRequest,
const
Aws::Utils::Crypto::ContentCryptoMaterial
& contentCryptoMaterial);
26
27
/*
28
* Read the metadata of a HeadObject result and store into a ContentCryptoMaterialObject.
29
*/
30
Aws::Utils::Crypto::ContentCryptoMaterial
ReadContentCryptoMaterial
(
const
Aws::S3::Model::HeadObjectResult
& result);
31
private
:
32
/*
33
* Write V3 ContentCryptoMaterial data to a put object request. This occurs in place.
34
*/
35
void
PopulateRequestV3(
Aws::S3::Model::PutObjectRequest
& objRequest,
const
Aws::Utils::Crypto::ContentCryptoMaterial
& contentCryptoMaterial);
36
};
37
}
38
}
39
}
Aws::S3::Model::HeadObjectResult
Aws::S3::Model::PutObjectRequest
Aws::S3Encryption::Handlers::DataHandler
Definition
DataHandler.h:85
Aws::S3Encryption::Handlers::MetadataHandler
Definition
MetadataHandler.h:20
Aws::S3Encryption::Handlers::MetadataHandler::ReadContentCryptoMaterial
Aws::Utils::Crypto::ContentCryptoMaterial ReadContentCryptoMaterial(const Aws::S3::Model::HeadObjectResult &result)
Aws::S3Encryption::Handlers::MetadataHandler::PopulateRequest
void PopulateRequest(Aws::S3::Model::PutObjectRequest &objRequest, const Aws::Utils::Crypto::ContentCryptoMaterial &contentCryptoMaterial)
Aws::Utils::Crypto::ContentCryptoMaterial
Aws
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences