AWS SDK for C++  1.8.23
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::SymmetricCipherFactory >)> aes_KeyWrapFactory_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 90 of file Aws.h.

Constructor & Destructor Documentation

◆ CryptoOptions()

Aws::CryptoOptions::CryptoOptions ( )
inline

Definition at line 92 of file Aws.h.

Member Data Documentation

◆ aes_CBCFactory_create_fn

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 110 of file Aws.h.

◆ aes_CTRFactory_create_fn

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 114 of file Aws.h.

◆ aes_GCMFactory_create_fn

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 118 of file Aws.h.

◆ aes_KeyWrapFactory_create_fn

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

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

Definition at line 122 of file Aws.h.

◆ initAndCleanupOpenSSL

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 132 of file Aws.h.

◆ md5Factory_create_fn

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 98 of file Aws.h.

◆ secureRandomFactory_create_fn

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 126 of file Aws.h.

◆ sha256Factory_create_fn

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 102 of file Aws.h.

◆ sha256HMACFactory_create_fn

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 106 of file Aws.h.


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