Botan
2.1.0
Crypto and TLS for C++11
|
#include <secmem.h>
Public Types | |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef std::ptrdiff_t | difference_type |
typedef T * | pointer |
typedef T & | reference |
typedef std::size_t | size_type |
typedef T | value_type |
Public Member Functions | |
pointer | address (reference x) const BOTAN_NOEXCEPT |
const_pointer | address (const_reference x) const BOTAN_NOEXCEPT |
pointer | allocate (size_type n, const void *=0) |
template<typename U , typename... Args> | |
void | construct (U *p, Args &&...args) |
void | deallocate (pointer p, size_type n) |
size_type | max_size () const BOTAN_NOEXCEPT |
secure_allocator & | operator= (const secure_allocator &) BOTAN_NOEXCEPT=default |
secure_allocator () BOTAN_NOEXCEPT=default | |
secure_allocator (const secure_allocator &) BOTAN_NOEXCEPT=default | |
template<typename U > | |
secure_allocator (const secure_allocator< U > &) BOTAN_NOEXCEPT | |
~secure_allocator () BOTAN_NOEXCEPT=default | |
typedef const T* Botan::secure_allocator< T >::const_pointer |
typedef const T& Botan::secure_allocator< T >::const_reference |
typedef std::ptrdiff_t Botan::secure_allocator< T >::difference_type |
typedef T* Botan::secure_allocator< T >::pointer |
typedef T& Botan::secure_allocator< T >::reference |
typedef std::size_t Botan::secure_allocator< T >::size_type |
typedef T Botan::secure_allocator< T >::value_type |
|
default |
|
default |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 70 of file secmem.h.
References Botan::clear_mem(), and Botan::mlock_allocator::instance().
|
inline |
Definition at line 100 of file secmem.h.
|
inline |
Definition at line 82 of file secmem.h.
References Botan::mlock_allocator::instance(), and Botan::secure_scrub_memory().
|
inline |
|
default |