AWS SDK for C++  0.12.9
AWS SDK for C++
Public Member Functions | Public Attributes | List of all members
Aws::CryptoOptions Struct Reference

#include <Aws.h>

Public Member Functions

 CryptoOptions ()
 

Public Attributes

std::function< std::shared_ptr< Aws::Utils::Crypto::HashFactory >)> md5Factory_create_fn
 
std::function< std::shared_ptr< Aws::Utils::Crypto::HashFactory >)> sha256Factory_create_fn
 
std::function< std::shared_ptr< Aws::Utils::Crypto::HMACFactory >)> sha256HMACFactory_create_fn
 
std::function< std::shared_ptr< Aws::Utils::Crypto::SymmetricCipherFactory >)> aes_CBCFactory_create_fn
 
std::function< std::shared_ptr< Aws::Utils::Crypto::SymmetricCipherFactory >)> aes_CTRFactory_create_fn
 
std::function< std::shared_ptr< Aws::Utils::Crypto::SymmetricCipherFactory >)> aes_GCMFactory_create_fn
 
std::function< std::shared_ptr< Aws::Utils::Crypto::SecureRandomFactory >)> secureRandomFactory_create_fn
 
bool initAndCleanupOpenSSL
 

Detailed Description

SDK wide options for crypto

Definition at line 91 of file Aws.h.

Constructor & Destructor Documentation

Aws::CryptoOptions::CryptoOptions ( )
inline

Definition at line 93 of file Aws.h.

Member Data Documentation

std::function<std::shared_ptr<Aws::Utils::Crypto::SymmetricCipherFactory>)> Aws::CryptoOptions::aes_CBCFactory_create_fn

If set, this closure will be used to create and install the factory.

Definition at line 111 of file Aws.h.

std::function<std::shared_ptr<Aws::Utils::Crypto::SymmetricCipherFactory>)> Aws::CryptoOptions::aes_CTRFactory_create_fn

If set, this closure will be used to create and install the factory.

Definition at line 115 of file Aws.h.

std::function<std::shared_ptr<Aws::Utils::Crypto::SymmetricCipherFactory>)> Aws::CryptoOptions::aes_GCMFactory_create_fn

If set, this closure will be used to create and install the factory.

Definition at line 119 of file Aws.h.

bool Aws::CryptoOptions::initAndCleanupOpenSSL

OpenSSL infects everything with its global state. If it is being used then we automatically initialize and clean it up. If this is a problem for you, set this to false. Be aware that if you don't use our init and cleanup and you are using crypto functionality, you are responsible for installing thread locking, and loading strings and error messages.

Definition at line 129 of file Aws.h.

std::function<std::shared_ptr<Aws::Utils::Crypto::HashFactory>)> Aws::CryptoOptions::md5Factory_create_fn

If set, this closure will be used to create and install the factory.

Definition at line 99 of file Aws.h.

std::function<std::shared_ptr<Aws::Utils::Crypto::SecureRandomFactory>)> Aws::CryptoOptions::secureRandomFactory_create_fn

If set, this closure will be used to create and install the factory.

Definition at line 123 of file Aws.h.

std::function<std::shared_ptr<Aws::Utils::Crypto::HashFactory>)> Aws::CryptoOptions::sha256Factory_create_fn

If set, this closure will be used to create and install the factory.

Definition at line 103 of file Aws.h.

std::function<std::shared_ptr<Aws::Utils::Crypto::HMACFactory>)> Aws::CryptoOptions::sha256HMACFactory_create_fn

If set, this closure will be used to create and install the factory.

Definition at line 107 of file Aws.h.


The documentation for this struct was generated from the following file: