XRootD
Loading...
Searching...
No Matches
XrdTlsContext.hh File Reference
#include <cstdint>
#include <string>
+ Include dependency graph for XrdTlsContext.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  XrdTlsContext::CTX_Params
 
class  XrdTlsContext
 

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.

Definition at line 278 of file XrdTlsContext.hh.

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

◆ TLS_SET_REFINT

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

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.

Definition at line 290 of file XrdTlsContext.hh.

290#define TLS_SET_REFINT(cOpts,refi) ((cOpts & ~XrdTlsContext::crlRF) |\
291 (XrdTlsContext::crlRF & (refi <<XrdTlsContext::crlRS)))

◆ TLS_SET_VDEPTH

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

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.

Definition at line 302 of file XrdTlsContext.hh.

302#define TLS_SET_VDEPTH(cOpts,vdv) ((cOpts & ~XrdTlsContext::vdept) |\
303 (XrdTlsContext::vdept & (vdv <<XrdTlsContext::vdepS)))