AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MetadataHandler.h
1
5#pragma once
6
7#include <aws/s3-encryption/handlers/DataHandler.h>
8
9namespace 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 */
26
27 /*
28 * Read the metadata of a HeadObject result and store into a ContentCryptoMaterialObject.
29 */
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::Utils::Crypto::ContentCryptoMaterial ReadContentCryptoMaterial(const Aws::S3::Model::HeadObjectResult &result)
void PopulateRequest(Aws::S3::Model::PutObjectRequest &objRequest, const Aws::Utils::Crypto::ContentCryptoMaterial &contentCryptoMaterial)