Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Typedefs | Functions
secure.h File Reference
#include <support/lockedpool.h>
#include <support/cleanse.h>
#include <memory>
#include <string>
Include dependency graph for secure.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  secure_allocator< T >
 
struct  SecureUniqueDeleter< T >
 

Typedefs

typedef std::basic_string< char, std::char_traits< char >, secure_allocator< char > > SecureString
 
template<typename T >
using secure_unique_ptr = std::unique_ptr< T, SecureUniqueDeleter< T > >
 

Functions

template<typename T , typename... Args>
secure_unique_ptr< T > make_secure_unique (Args &&... as)
 

Typedef Documentation

◆ secure_unique_ptr

template<typename T >
using secure_unique_ptr = std::unique_ptr<T, SecureUniqueDeleter<T> >

Definition at line 68 of file secure.h.

◆ SecureString

typedef std::basic_string<char, std::char_traits<char>, secure_allocator<char> > SecureString

Definition at line 58 of file secure.h.

Function Documentation

◆ make_secure_unique()

template<typename T , typename... Args>
secure_unique_ptr< T > make_secure_unique ( Args &&...  as)

Definition at line 71 of file secure.h.

Here is the call graph for this function: