XRootD
XrdTlsContextImpl Struct Reference
+ Collaboration diagram for XrdTlsContextImpl:

Public Member Functions

 XrdTlsContextImpl (XrdTlsContext *p)
 
 ~XrdTlsContextImpl ()
 

Public Attributes

XrdSysRWLock crlMutex
 
bool crlRunning
 
SSL_CTX * ctx
 
XrdTlsContextctxnew
 
XrdSysCondVarflsCVar
 
bool flsRunning
 
short flushT
 
time_t lastCertModTime = 0
 
XrdTlsContextowner
 
XrdTlsContext::CTX_Params Parm
 
std::string sessionCacheId
 
int sessionCacheOpts = -1
 

Detailed Description

Definition at line 153 of file XrdTlsContext.cc.

Constructor & Destructor Documentation

◆ XrdTlsContextImpl()

XrdTlsContextImpl::XrdTlsContextImpl ( XrdTlsContext p)
inline

Definition at line 155 of file XrdTlsContext.cc.

156  : ctx(0), ctxnew(0), owner(p), flsCVar(0),
157  flushT(0),
158  crlRunning(false), flsRunning(false)
159 #if OPENSSL_VERSION_NUMBER >= 0x30000000L
160  , pkcs11LibCtx(0), pkcs11Provider(0)
161 #endif
162  {}
XrdTlsContext * owner
XrdTlsContext * ctxnew
XrdSysCondVar * flsCVar

◆ ~XrdTlsContextImpl()

XrdTlsContextImpl::~XrdTlsContextImpl ( )
inline

Definition at line 163 of file XrdTlsContext.cc.

163  {if (ctx) SSL_CTX_free(ctx);
164  if (ctxnew) delete ctxnew;
165  if (flsCVar) delete flsCVar;
166 #if OPENSSL_VERSION_NUMBER >= 0x30000000L
167  if (pkcs11Provider) OSSL_PROVIDER_unload(pkcs11Provider);
168  if (pkcs11LibCtx) OSSL_LIB_CTX_free(pkcs11LibCtx);
169 #endif
170  }

References ctx, ctxnew, and flsCVar.

Member Data Documentation

◆ crlMutex

◆ crlRunning

bool XrdTlsContextImpl::crlRunning

◆ ctx

◆ ctxnew

XrdTlsContext* XrdTlsContextImpl::ctxnew

◆ flsCVar

XrdSysCondVar* XrdTlsContextImpl::flsCVar

◆ flsRunning

bool XrdTlsContextImpl::flsRunning

◆ flushT

short XrdTlsContextImpl::flushT

◆ lastCertModTime

time_t XrdTlsContextImpl::lastCertModTime = 0

◆ owner

XrdTlsContext* XrdTlsContextImpl::owner

◆ Parm

◆ sessionCacheId

std::string XrdTlsContextImpl::sessionCacheId

Definition at line 183 of file XrdTlsContext.cc.

Referenced by XrdTlsContext::Clone(), and XrdTlsContext::SessionCache().

◆ sessionCacheOpts

int XrdTlsContextImpl::sessionCacheOpts = -1

Definition at line 182 of file XrdTlsContext.cc.

Referenced by XrdTlsContext::Clone(), and XrdTlsContext::SessionCache().


The documentation for this struct was generated from the following file: