![]() |
XRootD
|
#include <XrdTlsTempCA.hh>
Classes | |
class | TempCAGuard |
Public Member Functions | |
XrdTlsTempCA (XrdSysError *log, std::string ca_dir) | |
~XrdTlsTempCA () | |
bool | atLeastOneValidCRLFound () const |
std::string | CAFilename () const |
std::string | CRLFilename () const |
bool | IsValid () const |
This class provides manages a "CA file" that is a concatenation of all the CAs in a given CA directory. This is useful in TLS contexts where, instead of loading all CAs for each connection, we only want to load a single file.
This will hand out the CA file directly, allowing external libraries (such as libcurl) do the loading of CAs directly.
Definition at line 43 of file XrdTlsTempCA.hh.
XrdTlsTempCA::XrdTlsTempCA | ( | XrdSysError * | log, |
std::string | ca_dir | ||
) |
Definition at line 336 of file XrdTlsTempCA.cc.
References XrdSysError::Emsg(), and XrdSysThread::Run().
XrdTlsTempCA::~XrdTlsTempCA | ( | ) |
|
inline |
Returns true if a valid CRL file has been found during the Maintenance thread execution false otherwise
Definition at line 69 of file XrdTlsTempCA.hh.
|
inline |
Returns the current location of the CA temp file.
Definition at line 58 of file XrdTlsTempCA.hh.
|
inline |
Returns the current location of the CA temp file.
Definition at line 63 of file XrdTlsTempCA.hh.
|
inline |
Returns true if object is valid.
Definition at line 53 of file XrdTlsTempCA.hh.