xrootd
|
#include <XrdTlsTempCA.hh>
Public Member Functions | |
int | getCAFD () const |
std::string | getCAFilename () const |
int | getCRLFD () const |
std::string | getCRLFilename () const |
bool | commit () |
TempCAGuard (const TempCAGuard &)=delete | |
~TempCAGuard () | |
Static Public Member Functions | |
static std::unique_ptr< TempCAGuard > | create (XrdSysError &, const std::string &ca_tmp_dir) |
Private Member Functions | |
TempCAGuard (int ca_fd, int crl_fd, const std::string &ca_tmp_dir, const std::string &ca_fname, const std::string &crl_fname) | |
Private Attributes | |
int | m_ca_fd {-1} |
int | m_crl_fd {-1} |
std::string | m_ca_tmp_dir |
std::string | m_ca_fname |
std::string | m_crl_fname |
Manages the temporary file associated with the curl handle
|
delete |
XrdTlsTempCA::TempCAGuard::~TempCAGuard | ( | ) |
|
private |
bool XrdTlsTempCA::TempCAGuard::commit | ( | ) |
Move temporary file to the permanent location.
|
static |
|
inline |
References m_ca_fd.
|
inline |
References m_ca_fname.
|
inline |
References m_crl_fd.
|
inline |
References m_crl_fname.
|
private |
Referenced by getCAFD().
|
private |
Referenced by getCAFilename().
|
private |
|
private |
Referenced by getCRLFD().
|
private |
Referenced by getCRLFilename().