xrootd
Loading...
Searching...
No Matches
Classes | Macros
XrdTlsContext.hh File Reference
#include <cstdint>
#include <string>
Include dependency graph for XrdTlsContext.hh:

Go to the source code of this file.

Classes

class  XrdTlsContext
 
struct  XrdTlsContext::CTX_Params
 

Macros

#define TLS_SET_HSTO(cOpts, hstv)    ((cOpts & ~XrdTlsContext::hsto) | (hstv & XrdTlsContext::hsto))
 
#define TLS_SET_REFINT(cOpts, refi)
 
#define TLS_SET_VDEPTH(cOpts, vdv)
 

Macro Definition Documentation

◆ TLS_SET_HSTO

#define TLS_SET_HSTO (   cOpts,
  hstv 
)     ((cOpts & ~XrdTlsContext::hsto) | (hstv & XrdTlsContext::hsto))

Set handshake timeout in contructor options.

Parameters
cOpts- the constructor options.
hstv- the handshake timeout value.

◆ TLS_SET_REFINT

#define TLS_SET_REFINT (   cOpts,
  refi 
)
Value:
((cOpts & ~XrdTlsContext::crlRF) |\
Definition XrdTlsContext.hh:37
static const int crlRS
Bits to shift vdept.
Definition XrdTlsContext.hh:240
static const uint64_t crlRF
Mask to isolate crl refresh in min.
Definition XrdTlsContext.hh:239

Set crl refresh interval in contructor options.

Parameters
cOpts- the constructor options.
refi- the refresh interval value.
Returns
cOpts with the value positioned in the proper place.

◆ TLS_SET_VDEPTH

#define TLS_SET_VDEPTH (   cOpts,
  vdv 
)
Value:
((cOpts & ~XrdTlsContext::vdept) |\
static const uint64_t vdept
Mask to isolate vdept.
Definition XrdTlsContext.hh:230
static const int vdepS
Bits to shift vdept.
Definition XrdTlsContext.hh:231

Set verifydepth value in contructor options.

Parameters
cOpts- the constructor options.
vdv- the verify depth value.
Returns
cOpts with the value positioned in the proper place.