AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstructionFileHandler.h
1
5#pragma once
6#include <aws/s3-encryption/handlers/DataHandler.h>
7
8namespace Aws
9{
10 namespace S3Encryption
11 {
12 namespace Handlers
13 {
14 static const char* const DEFAULT_INSTRUCTION_FILE_SUFFIX = ".instruction";
15 /*
16 Instruction file handler will be responsible for reading and writing instruction files to and from S3 object using a Put object
17 request or a Get object result.
18 */
19 class AWS_S3ENCRYPTION_API InstructionFileHandler : public DataHandler
20 {
21 public:
22 /*
23 Write ContentCryptoMaterial data to an instruction file object which is passed as an argument for this function.
24 */
26
27 /*
28 Read data from an instruction file object and return a Content Crypto Material object.
29 */
31 };
32 }
33 }
34}
Aws::Utils::Crypto::ContentCryptoMaterial ReadContentCryptoMaterial(Aws::S3::Model::GetObjectResult &result) override
void PopulateRequest(Aws::S3::Model::PutObjectRequest &request, const Aws::Utils::Crypto::ContentCryptoMaterial &contentCryptoMaterial) override
static const char *const DEFAULT_INSTRUCTION_FILE_SUFFIX