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 G::Path &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 158 of file gssl_mbedtls.h.
GSsl::MbedTls::SecureFile::SecureFile | ( | const G::Path & | path, |
bool | with_counted_nul | ||
) |
Definition at line 935 of file gssl_mbedtls.cpp.
GSsl::MbedTls::SecureFile::~SecureFile | ( | ) |
Definition at line 961 of file gssl_mbedtls.cpp.
bool GSsl::MbedTls::SecureFile::empty | ( | ) | const |
Definition at line 989 of file gssl_mbedtls.cpp.
const char * GSsl::MbedTls::SecureFile::p | ( | ) | const |
Definition at line 966 of file gssl_mbedtls.cpp.
unsigned char * GSsl::MbedTls::SecureFile::pu | ( | ) |
Definition at line 979 of file gssl_mbedtls.cpp.
const unsigned char * GSsl::MbedTls::SecureFile::pu | ( | ) | const |
Definition at line 973 of file gssl_mbedtls.cpp.
std::size_t GSsl::MbedTls::SecureFile::size | ( | ) | const |
Definition at line 984 of file gssl_mbedtls.cpp.