E-MailRelay
|
An interface for reading a sensitive file and then overwriting its contents in memory. More...
#include <gssl_mbedtls.h>
Public Member Functions | |
SecureFile (const std::string &path, bool with_counted_nul) | |
const char * | p () const |
const unsigned char * | pu () const |
unsigned char * | pu () |
std::size_t | size () const |
bool | empty () const |
SecureFile (const SecureFile &)=delete | |
SecureFile (SecureFile &&)=delete | |
SecureFile & | operator= (const SecureFile &)=delete |
SecureFile & | operator= (SecureFile &&)=delete |
An interface for reading a sensitive file and then overwriting its contents in memory.
Definition at line 156 of file gssl_mbedtls.h.
GSsl::MbedTls::SecureFile::SecureFile | ( | const std::string & | path, |
bool | with_counted_nul | ||
) |
Definition at line 925 of file gssl_mbedtls.cpp.
GSsl::MbedTls::SecureFile::~SecureFile | ( | ) |
Definition at line 951 of file gssl_mbedtls.cpp.
bool GSsl::MbedTls::SecureFile::empty | ( | ) | const |
Definition at line 979 of file gssl_mbedtls.cpp.
const char * GSsl::MbedTls::SecureFile::p | ( | ) | const |
Definition at line 956 of file gssl_mbedtls.cpp.
unsigned char * GSsl::MbedTls::SecureFile::pu | ( | ) |
Definition at line 969 of file gssl_mbedtls.cpp.
const unsigned char * GSsl::MbedTls::SecureFile::pu | ( | ) | const |
Definition at line 963 of file gssl_mbedtls.cpp.
std::size_t GSsl::MbedTls::SecureFile::size | ( | ) | const |
Definition at line 974 of file gssl_mbedtls.cpp.