XRootD
Loading...
Searching...
No Matches
XrdCryptoFactory Class Reference

#include <XrdCryptoFactory.hh>

Inheritance diagram for XrdCryptoFactory:
Collaboration diagram for XrdCryptoFactory:

Public Member Functions

 XrdCryptoFactory (const char *n="Unknown", int id=-1)
virtual ~XrdCryptoFactory ()
virtual XrdCryptoCipherCipher (bool padded, int bits, char *pub, int lpub, const char *t)
virtual XrdCryptoCipherCipher (const char *t, int l, const char *k, int liv, const char *iv)
virtual XrdCryptoCipherCipher (const char *t, int l=0)
virtual XrdCryptoCipherCipher (const XrdCryptoCipher &c)
virtual XrdCryptoCipherCipher (int bits, char *pub, int lpub, const char *t=0)
virtual XrdCryptoCipherCipher (XrdSutBucket *b)
virtual bool HasPaddingSupport ()
int ID () const
virtual XrdCryptoKDFun_t KDFun ()
virtual XrdCryptoKDFunLen_t KDFunLen ()
virtual XrdCryptoMsgDigestMsgDigest (const char *dgst)
char * Name () const
virtual void Notify ()
bool operator== (const XrdCryptoFactory factory)
virtual XrdCryptoProxyCertInfo_t ProxyCertInfo ()
virtual XrdCryptoRSARSA (const char *p, int l=0)
virtual XrdCryptoRSARSA (const XrdCryptoRSA &r)
virtual XrdCryptoRSARSA (int b=0, int e=0)
virtual XrdCryptoSetPathLenConstraint_t SetPathLenConstraint ()
virtual void SetTrace (kXR_int32 trace)
virtual bool SupportedCipher (const char *t)
virtual bool SupportedMsgDigest (const char *dgst)
virtual XrdCryptoX509X509 (const char *cf, const char *kf=0)
virtual XrdCryptoX509X509 (XrdSutBucket *b)
virtual XrdCryptoX509ChainToFile_t X509ChainToFile ()
virtual XrdCryptoX509CheckProxy3_t X509CheckProxy3 ()
virtual XrdCryptoX509CreateProxy_t X509CreateProxy ()
virtual XrdCryptoX509CreateProxyReq_t X509CreateProxyReq ()
virtual XrdCryptoX509CrlX509Crl (const char *crlfile, int opt=0)
virtual XrdCryptoX509CrlX509Crl (XrdCryptoX509 *cacert)
virtual XrdCryptoX509ExportChain_t X509ExportChain ()
virtual XrdCryptoX509GetVOMSAttr_t X509GetVOMSAttr ()
virtual XrdCryptoX509ParseBucket_t X509ParseBucket ()
virtual XrdCryptoX509ParseFile_t X509ParseFile ()
virtual XrdCryptoX509ParseStack_t X509ParseStack ()
virtual XrdCryptoX509ReqX509Req (XrdSutBucket *bck)
virtual XrdCryptoX509SignProxyReq_t X509SignProxyReq ()
virtual XrdCryptoX509VerifyCert_t X509VerifyCert ()
virtual XrdCryptoX509VerifyChain_t X509VerifyChain ()

Static Public Member Functions

static XrdCryptoFactoryGetCryptoFactory (const char *factoryname)

Detailed Description

Definition at line 121 of file XrdCryptoFactory.hh.

Constructor & Destructor Documentation

◆ XrdCryptoFactory()

XrdCryptoFactory::XrdCryptoFactory ( const char * n = "Unknown",
int id = -1 )

Definition at line 55 of file XrdCryptoFactory.cc.

56{
57 // Constructor (only called by derived classes).
58
59 if (n) {
60 int l = strlen(n);
61 l = (l > (MAXFACTORYNAMELEN - 1)) ? (MAXFACTORYNAMELEN - 1) : l;
62 memcpy(name,n,l);
63 name[l] = 0; // null terminated
64 }
65 fID = id;
66}
#define MAXFACTORYNAMELEN

References MAXFACTORYNAMELEN.

Referenced by XrdCryptosslFactory::XrdCryptosslFactory(), GetCryptoFactory(), and operator==().

Here is the caller graph for this function:

◆ ~XrdCryptoFactory()

virtual XrdCryptoFactory::~XrdCryptoFactory ( )
inlinevirtual

Definition at line 128 of file XrdCryptoFactory.hh.

128{ }

Member Function Documentation

◆ Cipher() [1/6]

XrdCryptoCipher * XrdCryptoFactory::Cipher ( bool padded,
int bits,
char * pub,
int lpub,
const char * t )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 151 of file XrdCryptoFactory.cc.

152{
153 // Return an instance of an implementation of XrdCryptoCipher.
154
155 ABSTRACTMETHOD("XrdCryptoFactory::Cipher");
156 return 0;
157}
#define ABSTRACTMETHOD(x)

References ABSTRACTMETHOD.

◆ Cipher() [2/6]

XrdCryptoCipher * XrdCryptoFactory::Cipher ( const char * t,
int l,
const char * k,
int liv,
const char * iv )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 132 of file XrdCryptoFactory.cc.

134{
135 // Return an instance of an implementation of XrdCryptoCipher.
136
137 ABSTRACTMETHOD("XrdCryptoFactory::Cipher");
138 return 0;
139}

References ABSTRACTMETHOD.

◆ Cipher() [3/6]

XrdCryptoCipher * XrdCryptoFactory::Cipher ( const char * t,
int l = 0 )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 123 of file XrdCryptoFactory.cc.

124{
125 // Return an instance of an implementation of XrdCryptoCipher.
126
127 ABSTRACTMETHOD("XrdCryptoFactory::Cipher");
128 return 0;
129}

References ABSTRACTMETHOD.

Referenced by XrdSecProtocolgsi::Init(), and XrdSecProtocolpwd::Init().

Here is the caller graph for this function:

◆ Cipher() [4/6]

XrdCryptoCipher * XrdCryptoFactory::Cipher ( const XrdCryptoCipher & c)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 169 of file XrdCryptoFactory.cc.

170{
171 // Return an instance of an implementation of XrdCryptoCipher.
172
173 ABSTRACTMETHOD("XrdCryptoFactory::Cipher");
174 return 0;
175}

References ABSTRACTMETHOD.

◆ Cipher() [5/6]

XrdCryptoCipher * XrdCryptoFactory::Cipher ( int bits,
char * pub,
int lpub,
const char * t = 0 )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 160 of file XrdCryptoFactory.cc.

161{
162 // Return an instance of an implementation of XrdCryptoCipher.
163
164 ABSTRACTMETHOD("XrdCryptoFactory::Cipher");
165 return 0;
166}

References ABSTRACTMETHOD.

◆ Cipher() [6/6]

XrdCryptoCipher * XrdCryptoFactory::Cipher ( XrdSutBucket * b)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 142 of file XrdCryptoFactory.cc.

143{
144 // Return an instance of an implementation of XrdCryptoCipher.
145
146 ABSTRACTMETHOD("XrdCryptoFactory::Cipher");
147 return 0;
148}

References ABSTRACTMETHOD.

◆ GetCryptoFactory()

XrdCryptoFactory * XrdCryptoFactory::GetCryptoFactory ( const char * factoryname)
static

Definition at line 417 of file XrdCryptoFactory.cc.

418{
419 // Static method to load/locate the crypto factory named factoryid
420
421 static XrdVERSIONINFODEF(myVer,cryptoloader,XrdVNUMBER,XrdVERSION);
422 static XrdSysMutex fMutex;
423 static FactoryEntry *factorylist = 0;
424 static int factorynum = 0;
425 static XrdOucHash<XrdOucPinLoader> plugins;
426 XrdCryptoFactory *(*efact)();
427 XrdCryptoFactory *factory;
428 char factobjname[80], libfn[80];
429 EPNAME("Factory::GetCryptoFactory");
430
431 // Factory entries are tracked in a static list.
432 // Make sure only one thread may be using or modifying the list at a time.
433 XrdSysMutexHelper mHelp(fMutex);
434
435 //
436 // The id must be defined
437 if (!factoryid) {
438 PRINT("crypto factory ID (NULL) undefined");
439 return 0;
440 }
441 if (!strlen(factoryid)) {
442 PRINT("crypto factory ID (\"\") undefined");
443 return 0;
444 }
445
446 //
447 // Check if already loaded
448 if (factorynum) {
449 int i = 0;
450 for ( ; i < factorynum; i++ ) {
451 if (!strcmp(factoryid,factorylist[i].factoryname)) {
452 if (factorylist[i].status) {
453 DEBUG(factoryid <<" crypto factory object already loaded ("
454 << factorylist[i].factory << ")");
455 return factorylist[i].factory;
456 } else {
457 DEBUG("previous attempt to load crypto factory "
458 <<factoryid<<" failed - do nothing");
459 return 0;
460 }
461 }
462 }
463 }
464
465 //
466 // Create new entry for this factory in the local record
467 FactoryEntry *newfactorylist = new FactoryEntry[factorynum+1];
468 if (newfactorylist) {
469 int i = 0;
470 for ( ; i < factorynum; i++ ) {
471 newfactorylist[i].factory = factorylist[i].factory;
472 newfactorylist[i].status = factorylist[i].status;
473 strcpy(newfactorylist[i].factoryname,factorylist[i].factoryname);
474 }
475 newfactorylist[i].factory = 0;
476 newfactorylist[i].status = 0;
477 strcpy(newfactorylist[i].factoryname,factoryid);
478
479 // Destroy previous vector
480 if (factorylist) delete[] factorylist;
481
482 // Update local list
483 factorylist = newfactorylist;
484 factorynum++;
485 } else
486 PRINT("cannot create local record of loaded crypto factories");
487
488 //
489 // Try loading: name of routine to load
490 sprintf(factobjname, "XrdCrypto%sFactoryObject", factoryid);
491
492 // Create or attach to the plug-in instance
493 XrdOucPinLoader *plug = plugins.Find(factoryid);
494 if (!plug) {
495 // Create one and add it to the list
496 snprintf(libfn, sizeof(libfn)-1, "libXrdCrypto%s.so", factoryid);
497 libfn[sizeof(libfn)-1] = '\0';
498
499 plug = new XrdOucPinLoader(&myVer, "cryptolib", libfn);
500 plugins.Add(factoryid, plug);
501 }
502 if (!plug) {
503 PRINT("problems opening shared library " << libfn);
504 return 0;
505 }
506 DEBUG("shared library '" << libfn << "' loaded");
507
508 // Get the function
509 if (!(efact = (XrdCryptoFactory *(*)()) plug->Resolve(factobjname))) {
510 PRINT(plug->LastMsg());
511 PRINT("problems finding crypto factory object creator " << factobjname);
512 return 0;
513 }
514
515 //
516 // Get the factory object
517 if (!(factory = (*efact)())) {
518 PRINT("problems creating crypto factory object");
519 return 0;
520 }
521
522 //
523 // Update local record
524 factorylist[factorynum-1].factory = factory;
525 factorylist[factorynum-1].status = 1;
526
527 return factory;
528}
#define DEBUG(x)
#define EPNAME(x)
XrdCryptoFactory * factory
#define PRINT(y)
static XrdVERSIONINFODEF(compiledVer, XrdHttpProtocolTest, XrdVNUMBER, XrdVERSION)
XrdCryptoFactory(const char *n="Unknown", int id=-1)
T * Add(const char *KeyVal, T *KeyData, const int LifeTime=0, XrdOucHash_Options opt=Hash_default)
T * Find(const char *KeyVal, time_t *KeyTime=0)

References XrdCryptoFactory(), XrdOucHash< T >::Add(), DEBUG, EPNAME, FactoryEntry::factory, XrdOucHash< T >::Find(), XrdOucPinLoader::LastMsg(), PRINT, XrdOucPinLoader::Resolve(), FactoryEntry::status, and XrdVERSIONINFODEF().

Referenced by GeneratePuk(), XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), main(), and ParseCrypto().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasPaddingSupport()

bool XrdCryptoFactory::HasPaddingSupport ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 114 of file XrdCryptoFactory.cc.

115{
116 // Returns true id specified cipher is supported by the implementation
117
118 ABSTRACTMETHOD("XrdCryptoFactory::PaddingSupport");
119 return 0;
120}

References ABSTRACTMETHOD.

Referenced by XrdSecProtocolgsi::Init().

Here is the caller graph for this function:

◆ ID()

int XrdCryptoFactory::ID ( ) const
inline

Definition at line 135 of file XrdCryptoFactory.hh.

135{ return fID; }

Referenced by XrdSecProtocolgsi::Init(), and XrdSecProtocolpwd::Init().

Here is the caller graph for this function:

◆ KDFun()

XrdCryptoKDFun_t XrdCryptoFactory::KDFun ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 96 of file XrdCryptoFactory.cc.

97{
98 // Return an instance of an implementation of a Key Derivation function.
99
100 ABSTRACTMETHOD("XrdCryptoFactory::KDFun");
101 return 0;
102}

References ABSTRACTMETHOD.

◆ KDFunLen()

XrdCryptoKDFunLen_t XrdCryptoFactory::KDFunLen ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 87 of file XrdCryptoFactory.cc.

88{
89 // Return an instance of an implementation of a Key Der function length.
90
91 ABSTRACTMETHOD("XrdCryptoFactory::KDFunLen");
92 return 0;
93}

References ABSTRACTMETHOD.

◆ MsgDigest()

XrdCryptoMsgDigest * XrdCryptoFactory::MsgDigest ( const char * dgst)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 187 of file XrdCryptoFactory.cc.

188{
189 // Return an instance of an implementation of XrdCryptoMsgDigest.
190
191 ABSTRACTMETHOD("XrdCryptoFactory::MsgDigest");
192 return 0;
193}

References ABSTRACTMETHOD.

◆ Name()

char * XrdCryptoFactory::Name ( ) const
inline

Definition at line 134 of file XrdCryptoFactory.hh.

134{ return (char *)&name[0]; }

Referenced by XrdSecProtocolgsi::Init(), XrdSecProtocolpwd::Init(), and operator==().

Here is the caller graph for this function:

◆ Notify()

virtual void XrdCryptoFactory::Notify ( )
inlinevirtual

Definition at line 141 of file XrdCryptoFactory.hh.

141{ }

Referenced by XrdSecProtocolgsi::Init().

Here is the caller graph for this function:

◆ operator==()

bool XrdCryptoFactory::operator== ( const XrdCryptoFactory factory)

Definition at line 77 of file XrdCryptoFactory.cc.

78{
79 // Compare name of 'factory' to local name: return 1 if matches, 0 if not
80
81 if (!strcmp(factory.Name(),Name()))
82 return 1;
83 return 0;
84}
char * Name() const

References XrdCryptoFactory(), and Name().

Here is the call graph for this function:

◆ ProxyCertInfo()

XrdCryptoProxyCertInfo_t XrdCryptoFactory::ProxyCertInfo ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 339 of file XrdCryptoFactory.cc.

340{
341 // Check if the proxyCertInfo extension exists
342
343 ABSTRACTMETHOD("XrdCryptoFactory::ProxyCertInfo");
344 return 0;
345}

References ABSTRACTMETHOD.

◆ RSA() [1/3]

XrdCryptoRSA * XrdCryptoFactory::RSA ( const char * p,
int l = 0 )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 205 of file XrdCryptoFactory.cc.

206{
207 // Return an instance of an implementation of XrdCryptoRSA.
208
209 ABSTRACTMETHOD("XrdCryptoFactory::RSA");
210 return 0;
211
212}

References ABSTRACTMETHOD.

◆ RSA() [2/3]

XrdCryptoRSA * XrdCryptoFactory::RSA ( const XrdCryptoRSA & r)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 215 of file XrdCryptoFactory.cc.

216{
217 // Return an instance of an implementation of XrdCryptoRSA.
218
219 ABSTRACTMETHOD("XrdCryptoFactory::RSA ("<<this<<")");
220 return 0;
221}

References ABSTRACTMETHOD.

◆ RSA() [3/3]

XrdCryptoRSA * XrdCryptoFactory::RSA ( int b = 0,
int e = 0 )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 196 of file XrdCryptoFactory.cc.

197{
198 // Return an instance of an implementation of XrdCryptoRSA.
199
200 ABSTRACTMETHOD("XrdCryptoFactory::RSA");
201 return 0;
202}

References ABSTRACTMETHOD.

◆ SetPathLenConstraint()

XrdCryptoSetPathLenConstraint_t XrdCryptoFactory::SetPathLenConstraint ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 348 of file XrdCryptoFactory.cc.

349{
350 // Set the path length constraint
351
352 ABSTRACTMETHOD("XrdCryptoFactory::SetPathLenConstraint");
353 return 0;
354}

References ABSTRACTMETHOD.

◆ SetTrace()

void XrdCryptoFactory::SetTrace ( kXR_int32 trace)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 69 of file XrdCryptoFactory.cc.

70{
71 // Set flags for tracing
72
73 ABSTRACTMETHOD("XrdCryptoFactory::SetTrace");
74}

References ABSTRACTMETHOD.

Referenced by XrdSecProtocolgsi::Init(), and XrdSecProtocolpwd::Init().

Here is the caller graph for this function:

◆ SupportedCipher()

bool XrdCryptoFactory::SupportedCipher ( const char * t)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 105 of file XrdCryptoFactory.cc.

106{
107 // Returns true id specified cipher is supported by the implementation
108
109 ABSTRACTMETHOD("XrdCryptoFactory::SupportedCipher");
110 return 0;
111}

References ABSTRACTMETHOD.

◆ SupportedMsgDigest()

bool XrdCryptoFactory::SupportedMsgDigest ( const char * dgst)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 178 of file XrdCryptoFactory.cc.

179{
180 // Returns true id specified digest is supported by the implementation
181
182 ABSTRACTMETHOD("XrdCryptoFactory::SupportedMsgDigest");
183 return 0;
184}

References ABSTRACTMETHOD.

◆ X509() [1/2]

XrdCryptoX509 * XrdCryptoFactory::X509 ( const char * cf,
const char * kf = 0 )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 224 of file XrdCryptoFactory.cc.

225{
226 // Return an instance of an implementation of XrdCryptoX509.
227
228 ABSTRACTMETHOD("XrdCryptoFactory::X509");
229 return 0;
230}

References ABSTRACTMETHOD.

◆ X509() [2/2]

XrdCryptoX509 * XrdCryptoFactory::X509 ( XrdSutBucket * b)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 233 of file XrdCryptoFactory.cc.

234{
235 // Init XrdCryptoX509 from a bucket
236
237 ABSTRACTMETHOD("XrdCryptoFactory::X509");
238 return 0;
239}

References ABSTRACTMETHOD.

◆ X509ChainToFile()

XrdCryptoX509ChainToFile_t XrdCryptoFactory::X509ChainToFile ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 299 of file XrdCryptoFactory.cc.

300{
301 // Return an instance of an implementation of a function
302 // to dump a X509 certificate chain to a file.
303
304 ABSTRACTMETHOD("XrdCryptoFactory::X509ChainToFile");
305 return 0;
306}

References ABSTRACTMETHOD.

◆ X509CheckProxy3()

XrdCryptoX509CheckProxy3_t XrdCryptoFactory::X509CheckProxy3 ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 384 of file XrdCryptoFactory.cc.

385{
386 // Check consistency of a GSI 3 compliant proxy
387
388 ABSTRACTMETHOD("XrdCryptoFactory::X509CheckProxy3");
389 return 0;
390}

References ABSTRACTMETHOD.

◆ X509CreateProxy()

XrdCryptoX509CreateProxy_t XrdCryptoFactory::X509CreateProxy ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 357 of file XrdCryptoFactory.cc.

358{
359 // Create a proxy certificate
360
361 ABSTRACTMETHOD("XrdCryptoFactory::X509CreateProxy");
362 return 0;
363}

References ABSTRACTMETHOD.

◆ X509CreateProxyReq()

XrdCryptoX509CreateProxyReq_t XrdCryptoFactory::X509CreateProxyReq ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 366 of file XrdCryptoFactory.cc.

367{
368 // Create a proxy request
369
370 ABSTRACTMETHOD("XrdCryptoFactory::X509CreateProxyReq");
371 return 0;
372}

References ABSTRACTMETHOD.

◆ X509Crl() [1/2]

XrdCryptoX509Crl * XrdCryptoFactory::X509Crl ( const char * crlfile,
int opt = 0 )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 242 of file XrdCryptoFactory.cc.

243{
244 // Return an instance of an implementation of XrdCryptoX509Crl.
245
246 ABSTRACTMETHOD("XrdCryptoFactory::X509Crl");
247 return 0;
248}

References ABSTRACTMETHOD.

◆ X509Crl() [2/2]

XrdCryptoX509Crl * XrdCryptoFactory::X509Crl ( XrdCryptoX509 * cacert)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 251 of file XrdCryptoFactory.cc.

252{
253 // Return an instance of an implementation of XrdCryptoX509Crl.
254
255 ABSTRACTMETHOD("XrdCryptoFactory::X509Crl");
256 return 0;
257}

References ABSTRACTMETHOD.

◆ X509ExportChain()

XrdCryptoX509ExportChain_t XrdCryptoFactory::X509ExportChain ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 289 of file XrdCryptoFactory.cc.

290{
291 // Return an instance of an implementation of a function
292 // to export a X509 certificate chain.
293
294 ABSTRACTMETHOD("XrdCryptoFactory::X509ExportChain");
295 return 0;
296}

References ABSTRACTMETHOD.

◆ X509GetVOMSAttr()

XrdCryptoX509GetVOMSAttr_t XrdCryptoFactory::X509GetVOMSAttr ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 393 of file XrdCryptoFactory.cc.

394{
395 // Get VOMS attributes, if any
396
397 ABSTRACTMETHOD("XrdCryptoFactory::X509GetVOMSAttr");
398 return 0;
399}

References ABSTRACTMETHOD.

◆ X509ParseBucket()

XrdCryptoX509ParseBucket_t XrdCryptoFactory::X509ParseBucket ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 329 of file XrdCryptoFactory.cc.

330{
331 // Return an instance of an implementation of a function
332 // to parse a bucket supposed to contain for X509 certificates.
333
334 ABSTRACTMETHOD("XrdCryptoFactory::X509ParseBucket");
335 return 0;
336}

References ABSTRACTMETHOD.

◆ X509ParseFile()

XrdCryptoX509ParseFile_t XrdCryptoFactory::X509ParseFile ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 309 of file XrdCryptoFactory.cc.

310{
311 // Return an instance of an implementation of a function
312 // to parse a file supposed to contain for X509 certificates.
313
314 ABSTRACTMETHOD("XrdCryptoFactory::X509ParseFile");
315 return 0;
316}

References ABSTRACTMETHOD.

◆ X509ParseStack()

XrdCryptoX509ParseStack_t XrdCryptoFactory::X509ParseStack ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 319 of file XrdCryptoFactory.cc.

320{
321 // Return an instance of an implementation of a function
322 // to parse a stack supposed to contain for X509 certificates.
323
324 ABSTRACTMETHOD("XrdCryptoFactory::X509ParseStack");
325 return 0;
326}

References ABSTRACTMETHOD.

◆ X509Req()

XrdCryptoX509Req * XrdCryptoFactory::X509Req ( XrdSutBucket * bck)
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 260 of file XrdCryptoFactory.cc.

261{
262 // Return an instance of an implementation of XrdCryptoX509Req.
263
264 ABSTRACTMETHOD("XrdCryptoFactory::X509Req");
265 return 0;
266}

References ABSTRACTMETHOD.

◆ X509SignProxyReq()

XrdCryptoX509SignProxyReq_t XrdCryptoFactory::X509SignProxyReq ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 375 of file XrdCryptoFactory.cc.

376{
377 // Sign a proxy request
378
379 ABSTRACTMETHOD("XrdCryptoFactory::X509SignProxyReq");
380 return 0;
381}

References ABSTRACTMETHOD.

◆ X509VerifyCert()

XrdCryptoX509VerifyCert_t XrdCryptoFactory::X509VerifyCert ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 269 of file XrdCryptoFactory.cc.

270{
271 // Return an instance of an implementation of a verification
272 // function for X509 certificate.
273
274 ABSTRACTMETHOD("XrdCryptoFactory::X509VerifyCert");
275 return 0;
276}

References ABSTRACTMETHOD.

◆ X509VerifyChain()

XrdCryptoX509VerifyChain_t XrdCryptoFactory::X509VerifyChain ( )
virtual

Reimplemented in XrdCryptosslFactory.

Definition at line 279 of file XrdCryptoFactory.cc.

280{
281 // Return an instance of an implementation of a verification
282 // function for X509 certificate chains.
283
284 ABSTRACTMETHOD("XrdCryptoFactory::X509VerifyChain");
285 return 0;
286}

References ABSTRACTMETHOD.


The documentation for this class was generated from the following files: