XRootD
XrdHttpSecXtractor.hh File Reference
#include <openssl/ssl.h>
+ Include dependency graph for XrdHttpSecXtractor.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdHttpSecXtractor
 

Macros

#define XrdHttpSecXtractorArgs
 

Functions

XrdHttpSecXtractorXrdHttpGetSecXtractor (XrdHttpSecXtractorArgs)
 

Macro Definition Documentation

◆ XrdHttpSecXtractorArgs

#define XrdHttpSecXtractorArgs
Value:
const char *confg, \
const char *parms
static XrdSysError eDest(0,"crypto_")

Definition at line 94 of file XrdHttpSecXtractor.hh.

Function Documentation

◆ XrdHttpGetSecXtractor()

XrdHttpSecXtractor* XrdHttpGetSecXtractor ( XrdHttpSecXtractorArgs  )

Definition at line 124 of file XrdVomsHttp.cc.

125 {
126 
127 // First step it get a new VomsFun object
128 //
129  XrdVomsFun *vomsFun = new XrdVomsFun(*eDest);
130 
131 // Initialize it using the parameters supplied
132 //
133  if (vomsFun->VOMSInit(parms) < 0)
134  {delete vomsFun;
135  return 0;
136  }
137 
138 // We will always use a stack of x509 certs, make sure that is what the
139 // voms fund will actually think it wants.
140 //
142 
143 // Now return the interface object
144 //
145  return (XrdHttpSecXtractor *)new XrdVomsHttp(eDest, *vomsFun);
146 }
void SetCertFmt(CertFormat n)
Definition: XrdVomsFun.hh:55
int VOMSInit(const char *cfg)
Definition: XrdVomsFun.cc:401

References eDest, XrdVomsFun::gCertX509, XrdVomsFun::SetCertFmt(), and XrdVomsFun::VOMSInit().

+ Here is the call graph for this function: