libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::Security::SecureVector< T > Class Template Reference

The class only makes sure that the vector is not copyable and the data is zeroed on destruction. More...

#include <Io.h>

Inheritance diagram for BaseLib::Security::SecureVector< T >:

Public Member Functions

 SecureVector ()
 
 SecureVector (size_t count)
 
 SecureVector (size_t count, const T &value)
 
template<class InputIt >
 SecureVector (InputIt first, InputIt last)
 
 SecureVector (const SecureVector &)=delete
 
 SecureVector (SecureVector &&) noexcept=default
 
SecureVectoroperator= (const SecureVector &)=delete
 
 ~SecureVector ()
 
void secureResize (size_t count)
 
void secureResize (size_t count, const T &value)
 
void securePrepend (const SecureVector &other)
 
void secureAppend (const SecureVector &other)
 

Detailed Description

template<typename T>
class BaseLib::Security::SecureVector< T >

The class only makes sure that the vector is not copyable and the data is zeroed on destruction.

Once created, only use methods prepended with the word "secure". You can safely use the methods secureAppend() and securePrepend().

Constructor & Destructor Documentation

§ SecureVector() [1/6]

template<typename T>
BaseLib::Security::SecureVector< T >::SecureVector ( )
inline

§ SecureVector() [2/6]

template<typename T>
BaseLib::Security::SecureVector< T >::SecureVector ( size_t  count)
inlineexplicit

§ SecureVector() [3/6]

template<typename T>
BaseLib::Security::SecureVector< T >::SecureVector ( size_t  count,
const T &  value 
)
inlineexplicit

§ SecureVector() [4/6]

template<typename T>
template<class InputIt >
BaseLib::Security::SecureVector< T >::SecureVector ( InputIt  first,
InputIt  last 
)
inline

§ SecureVector() [5/6]

template<typename T>
BaseLib::Security::SecureVector< T >::SecureVector ( const SecureVector< T > &  )
delete

§ SecureVector() [6/6]

template<typename T>
BaseLib::Security::SecureVector< T >::SecureVector ( SecureVector< T > &&  )
defaultnoexcept

§ ~SecureVector()

template<typename T>
BaseLib::Security::SecureVector< T >::~SecureVector ( )
inline

Member Function Documentation

§ operator=()

template<typename T>
SecureVector& BaseLib::Security::SecureVector< T >::operator= ( const SecureVector< T > &  )
delete

§ secureAppend()

template<typename T>
void BaseLib::Security::SecureVector< T >::secureAppend ( const SecureVector< T > &  other)
inline

§ securePrepend()

template<typename T>
void BaseLib::Security::SecureVector< T >::securePrepend ( const SecureVector< T > &  other)
inline

§ secureResize() [1/2]

template<typename T>
void BaseLib::Security::SecureVector< T >::secureResize ( size_t  count)
inline

§ secureResize() [2/2]

template<typename T>
void BaseLib::Security::SecureVector< T >::secureResize ( size_t  count,
const T &  value 
)
inline

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