AWS SDK for C++  1.9.159
AWS SDK for C++
Public Member Functions | List of all members
Aws::Utils::Crypto::SymmetricCipherFactory Class Referenceabstract

#include <Cipher.h>

Public Member Functions

virtual ~SymmetricCipherFactory ()
 
virtual std::shared_ptr< SymmetricCipherCreateImplementation (const CryptoBuffer &key) const =0
 
virtual std::shared_ptr< SymmetricCipherCreateImplementation (const CryptoBuffer &key, const CryptoBuffer *) const
 
virtual std::shared_ptr< SymmetricCipherCreateImplementation (const CryptoBuffer &key, const CryptoBuffer &iv, const CryptoBuffer &tag=CryptoBuffer(0), const CryptoBuffer &aad=CryptoBuffer(0)) const =0
 
virtual std::shared_ptr< SymmetricCipherCreateImplementation (CryptoBuffer &&key, CryptoBuffer &&iv, CryptoBuffer &&tag=CryptoBuffer(0), CryptoBuffer &&aad=CryptoBuffer(0)) const =0
 
virtual void InitStaticState ()
 
virtual void CleanupStaticState ()
 

Detailed Description

Abstract factory class for Creating platform specific implementations of a Symmetric Cipher

Definition at line 167 of file Cipher.h.

Constructor & Destructor Documentation

◆ ~SymmetricCipherFactory()

virtual Aws::Utils::Crypto::SymmetricCipherFactory::~SymmetricCipherFactory ( )
inlinevirtual

Definition at line 170 of file Cipher.h.

Member Function Documentation

◆ CleanupStaticState()

virtual void Aws::Utils::Crypto::SymmetricCipherFactory::CleanupStaticState ( )
inlinevirtual

Only called once per factory, your chance to cleanup static library calls for setup. Default is no-op.

Definition at line 202 of file Cipher.h.

◆ CreateImplementation() [1/4]

virtual std::shared_ptr<SymmetricCipher> Aws::Utils::Crypto::SymmetricCipherFactory::CreateImplementation ( const CryptoBuffer key) const
pure virtual

Factory method. Returns cipher implementation. See the SymmetricCipher class for more details.

◆ CreateImplementation() [2/4]

virtual std::shared_ptr<SymmetricCipher> Aws::Utils::Crypto::SymmetricCipherFactory::CreateImplementation ( const CryptoBuffer key,
const CryptoBuffer iv,
const CryptoBuffer tag = CryptoBuffer(0),
const CryptoBuffer aad = CryptoBuffer(0) 
) const
pure virtual

Factory method. Returns cipher implementation. See the SymmetricCipher class for more details.

◆ CreateImplementation() [3/4]

virtual std::shared_ptr<SymmetricCipher> Aws::Utils::Crypto::SymmetricCipherFactory::CreateImplementation ( const CryptoBuffer key,
const CryptoBuffer  
) const
inlinevirtual

Factory method. Returns cipher implementation. See the SymmetricCipher class for more details.

Definition at line 179 of file Cipher.h.

◆ CreateImplementation() [4/4]

virtual std::shared_ptr<SymmetricCipher> Aws::Utils::Crypto::SymmetricCipherFactory::CreateImplementation ( CryptoBuffer &&  key,
CryptoBuffer &&  iv,
CryptoBuffer &&  tag = CryptoBuffer(0),
CryptoBuffer &&  aad = CryptoBuffer(0) 
) const
pure virtual

Factory method. Returns cipher implementation. See the SymmetricCipher class for more details.

◆ InitStaticState()

virtual void Aws::Utils::Crypto::SymmetricCipherFactory::InitStaticState ( )
inlinevirtual

Only called once per factory, your chance to make static library calls for setup. Default is no-op.

Definition at line 196 of file Cipher.h.


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