AWS SDK for C++
AWS SDK for C++ Version 1.11.440
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
src
aws-cpp-sdk-s3-encryption
include
aws
s3-encryption
handlers
InstructionFileHandler.h
1
5
#pragma once
6
#include <aws/s3-encryption/handlers/DataHandler.h>
7
8
namespace
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
*/
25
void
PopulateRequest
(
Aws::S3::Model::PutObjectRequest
& request,
const
Aws::Utils::Crypto::ContentCryptoMaterial
& contentCryptoMaterial)
override
;
26
27
/*
28
Read data from an instruction file object and return a Content Crypto Material object.
29
*/
30
Aws::Utils::Crypto::ContentCryptoMaterial
ReadContentCryptoMaterial
(
Aws::S3::Model::GetObjectResult
& result)
override
;
31
};
32
}
33
}
34
}
Aws::S3::Model::GetObjectResult
Aws::S3::Model::PutObjectRequest
Aws::S3Encryption::Handlers::DataHandler
Definition
DataHandler.h:38
Aws::S3Encryption::Handlers::InstructionFileHandler
Definition
InstructionFileHandler.h:20
Aws::S3Encryption::Handlers::InstructionFileHandler::ReadContentCryptoMaterial
Aws::Utils::Crypto::ContentCryptoMaterial ReadContentCryptoMaterial(Aws::S3::Model::GetObjectResult &result) override
Aws::S3Encryption::Handlers::InstructionFileHandler::PopulateRequest
void PopulateRequest(Aws::S3::Model::PutObjectRequest &request, const Aws::Utils::Crypto::ContentCryptoMaterial &contentCryptoMaterial) override
Aws::Utils::Crypto::ContentCryptoMaterial
Aws::S3Encryption::Handlers::DEFAULT_INSTRUCTION_FILE_SUFFIX
static const char *const DEFAULT_INSTRUCTION_FILE_SUFFIX
Definition
InstructionFileHandler.h:14
Aws
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences