Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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< Tmake_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 63 of file secure.h.

◆ SecureString

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

Definition at line 53 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 66 of file secure.h.

Here is the call graph for this function:
Here is the caller graph for this function: