7#include <aws/s3-encryption/s3Encryption_EXPORTS.h>
8#include <aws/s3-encryption/materials/KMSEncryptionMaterials.h>
9#include <aws/s3-encryption/materials/SimpleEncryptionMaterials.h>
12 namespace S3Encryption
84 return m_storageMethod;
100 m_storageMethod = storageMethod;
108 m_cryptoMode = cryptoMode;
112 inline void SetSecurityProfile(
SecurityProfile profile) { m_securityProfile = profile; }
113 inline void SetUnAuthenticatedRangeGet(RangeGetMode mode) { m_unAuthenticatedRangeGet = mode; }
114 inline RangeGetMode GetUnAuthenticatedRangeGet()
const {
return m_unAuthenticatedRangeGet; }
115 inline SecurityProfile GetSecurityProfile()
const {
return m_securityProfile; }
129 CryptoConfigurationV2(
const std::shared_ptr<Aws::S3Encryption::Materials::KMSWithContextEncryptionMaterials>& materials);
130 CryptoConfigurationV2(
const std::shared_ptr<Aws::S3Encryption::Materials::SimpleEncryptionMaterialsWithGCMAAD>& materials);
139 std::shared_ptr<Aws::Utils::Crypto::EncryptionMaterials>
GetEncryptionMaterials()
const {
return m_encryptionMaterials; }
145 std::shared_ptr<Aws::Utils::Crypto::EncryptionMaterials> m_encryptionMaterials;
CryptoConfiguration(StorageMethod storageMethod)
void SetCryptoMode(CryptoMode cryptoMode)
CryptoMode GetCryptoMode() const
StorageMethod GetStorageMethod() const
CryptoConfiguration(CryptoMode cryptoMode)
CryptoConfiguration(StorageMethod storageMode, CryptoMode cryptoMode)
void SetStorageMethod(StorageMethod storageMethod)
std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > GetEncryptionMaterials() const
void SetStorageMethod(StorageMethod storageMethod)
StorageMethod GetStorageMethod() const
CryptoConfigurationV2(const std::shared_ptr< Aws::S3Encryption::Materials::SimpleEncryptionMaterialsWithGCMAAD > &materials)
RangeGetMode GetUnAuthenticatedRangeGet() const
void SetSecurityProfile(SecurityProfile profile)
void SetUnAuthenticatedRangeGet(RangeGetMode mode)
CryptoConfigurationV2(const std::shared_ptr< Aws::S3Encryption::Materials::KMSWithContextEncryptionMaterials > &materials)
SecurityProfile GetSecurityProfile() const
@ AUTHENTICATED_ENCRYPTION
@ STRICT_AUTHENTICATED_ENCRYPTION