XRootD
XrdCryptosslFactory Class Reference

#include <XrdCryptosslFactory.hh>

+ Inheritance diagram for XrdCryptosslFactory:
+ Collaboration diagram for XrdCryptosslFactory:

Public Member Functions

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

Additional Inherited Members

- Static Public Member Functions inherited from XrdCryptoFactory
static XrdCryptoFactoryGetCryptoFactory (const char *factoryname)
 

Detailed Description

Definition at line 48 of file XrdCryptosslFactory.hh.

Constructor & Destructor Documentation

◆ XrdCryptosslFactory()

XrdCryptosslFactory::XrdCryptosslFactory ( )

Definition at line 63 of file XrdCryptosslFactory.cc.

63  :
65 {
66  // Constructor: init the needed components of the OpenSSL library
67 
68  // Init SSL ...
69  //
70  static const char *eText = XrdTlsContext::Init();
71 
72  // Make sure all went well (we need to possibly abort here)
73  //
74  if (eText)
75  {std::cerr <<"XrdCryptosslFactory: " <<eText <<std::endl;
76  abort();
77  }
78 
79  // Init Random machinery
80  //
81  int klen = 32;
82  char *ktmp = XrdSutRndm::GetBuffer(klen);
83  if (ktmp) {
84  // Feed the random engine
85  RAND_seed(ktmp,klen);
86  delete[] ktmp;
87  }
88 }
#define XrdCryptosslFactoryID
XrdCryptoFactory(const char *n="Unknown", int id=-1)
static char * GetBuffer(int len, int opt=-1)
Definition: XrdSutRndm.cc:179
static const char * Init()

References XrdSutRndm::GetBuffer(), and XrdTlsContext::Init().

+ Here is the call graph for this function:

◆ ~XrdCryptosslFactory()

virtual XrdCryptosslFactory::~XrdCryptosslFactory ( )
inlinevirtual

Definition at line 52 of file XrdCryptosslFactory.hh.

52 { }

Member Function Documentation

◆ Cipher() [1/6]

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

Reimplemented from XrdCryptoFactory.

Definition at line 198 of file XrdCryptosslFactory.cc.

200 {
201  // Return an instance of a Ssl implementation of XrdCryptoCipher.
202 
203  XrdCryptoCipher *cip = new XrdCryptosslCipher(padded, b,p,l,t);
204  if (cip) {
205  if (cip->IsValid())
206  return cip;
207  else
208  delete cip;
209  }
210  return (XrdCryptoCipher *)0;
211 }
virtual bool IsValid()

References XrdCryptoCipher::IsValid().

+ Here is the call graph for this function:

◆ Cipher() [2/6]

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

Reimplemented from XrdCryptoFactory.

Definition at line 166 of file XrdCryptosslFactory.cc.

169 {
170  // Return an instance of a ssl implementation of XrdCryptoCipher.
171 
172  XrdCryptoCipher *cip = new XrdCryptosslCipher(t,l,k,liv,iv);
173  if (cip) {
174  if (cip->IsValid())
175  return cip;
176  else
177  delete cip;
178  }
179  return (XrdCryptoCipher *)0;
180 }

References XrdCryptoCipher::IsValid().

+ Here is the call graph for this function:

◆ Cipher() [3/6]

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

Reimplemented from XrdCryptoFactory.

Definition at line 151 of file XrdCryptosslFactory.cc.

152 {
153  // Return an instance of a ssl implementation of XrdCryptoCipher.
154 
155  XrdCryptoCipher *cip = new XrdCryptosslCipher(t,l);
156  if (cip) {
157  if (cip->IsValid())
158  return cip;
159  else
160  delete cip;
161  }
162  return (XrdCryptoCipher *)0;
163 }

References XrdCryptoCipher::IsValid().

+ Here is the call graph for this function:

◆ Cipher() [4/6]

XrdCryptoCipher * XrdCryptosslFactory::Cipher ( const XrdCryptoCipher c)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 230 of file XrdCryptosslFactory.cc.

231 {
232  // Return an instance of a Ssl implementation of XrdCryptoCipher.
233 
235  if (cip) {
236  if (cip->IsValid())
237  return cip;
238  else
239  delete cip;
240  }
241  return (XrdCryptoCipher *)0;
242 }

References XrdCryptoCipher::IsValid().

+ Here is the call graph for this function:

◆ Cipher() [5/6]

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

Reimplemented from XrdCryptoFactory.

Definition at line 214 of file XrdCryptosslFactory.cc.

216 {
217  // Return an instance of a Ssl implementation of XrdCryptoCipher.
218 
219  XrdCryptoCipher *cip = new XrdCryptosslCipher(false,b,p,l,t);
220  if (cip) {
221  if (cip->IsValid())
222  return cip;
223  else
224  delete cip;
225  }
226  return (XrdCryptoCipher *)0;
227 }

References XrdCryptoCipher::IsValid().

+ Here is the call graph for this function:

◆ Cipher() [6/6]

XrdCryptoCipher * XrdCryptosslFactory::Cipher ( XrdSutBucket b)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 183 of file XrdCryptosslFactory.cc.

184 {
185  // Return an instance of a Local implementation of XrdCryptoCipher.
186 
187  XrdCryptoCipher *cip = new XrdCryptosslCipher(b);
188  if (cip) {
189  if (cip->IsValid())
190  return cip;
191  else
192  delete cip;
193  }
194  return (XrdCryptoCipher *)0;
195 }

References XrdCryptoCipher::IsValid().

+ Here is the call graph for this function:

◆ HasPaddingSupport()

bool XrdCryptosslFactory::HasPaddingSupport ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 140 of file XrdCryptosslFactory.cc.

141 {
142  // Returns true if cipher padding is supported
143 #if defined(HAVE_DH_PADDED) || defined(HAVE_DH_PADDED_FUNC)
144  return true;
145 #else
146  return false;
147 #endif
148 }

◆ KDFun()

XrdCryptoKDFun_t XrdCryptosslFactory::KDFun ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 124 of file XrdCryptosslFactory.cc.

125 {
126  // Return an instance of an implementation of the PBKDF2 function.
127 
128  return &XrdCryptosslKDFun;
129 }
int XrdCryptosslKDFun(const char *pass, int plen, const char *salt, int slen, char *key, int klen)

References XrdCryptosslKDFun().

+ Here is the call graph for this function:

◆ KDFunLen()

XrdCryptoKDFunLen_t XrdCryptosslFactory::KDFunLen ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 116 of file XrdCryptosslFactory.cc.

117 {
118  // Return an instance of an implementation of the PBKDF2 fun length.
119 
120  return &XrdCryptosslKDFunLen;
121 }
int XrdCryptosslKDFunLen()

References XrdCryptosslKDFunLen().

+ Here is the call graph for this function:

◆ MsgDigest()

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

Reimplemented from XrdCryptoFactory.

Definition at line 253 of file XrdCryptosslFactory.cc.

254 {
255  // Return an instance of a ssl implementation of XrdCryptoMsgDigest.
256 
258  if (md) {
259  if (md->IsValid())
260  return md;
261  else
262  delete md;
263  }
264  return (XrdCryptoMsgDigest *)0;
265 }
virtual bool IsValid()

References XrdCryptoMsgDigest::IsValid().

+ Here is the call graph for this function:

◆ ProxyCertInfo()

XrdCryptoProxyCertInfo_t XrdCryptosslFactory::ProxyCertInfo ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 451 of file XrdCryptosslFactory.cc.

452 {
453  // Check if the proxyCertInfo extension exists
454 
456 }
bool XrdCryptosslProxyCertInfo(const void *ext, int &pathlen, bool *haspolicy=0)

References XrdCryptosslProxyCertInfo().

+ Here is the call graph for this function:

◆ RSA() [1/3]

XrdCryptoRSA * XrdCryptosslFactory::RSA ( const char *  pub,
int  lpub = 0 
)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 283 of file XrdCryptosslFactory.cc.

284 {
285  // Return an instance of a ssl implementation of XrdCryptoRSA.
286 
287  XrdCryptoRSA *rsa = new XrdCryptosslRSA(pub,lpub);
288  if (rsa) {
289  if (rsa->IsValid())
290  return rsa;
291  else
292  delete rsa;
293  }
294  return (XrdCryptoRSA *)0;
295 }
bool IsValid()
Definition: XrdCryptoRSA.hh:69

References XrdCryptoRSA::IsValid().

+ Here is the call graph for this function:

◆ RSA() [2/3]

XrdCryptoRSA * XrdCryptosslFactory::RSA ( const XrdCryptoRSA r)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 298 of file XrdCryptosslFactory.cc.

299 {
300  // Return an instance of a Ssl implementation of XrdCryptoRSA.
301 
302  XrdCryptoRSA *rsa = new XrdCryptosslRSA(*((XrdCryptosslRSA *)&r));
303  if (rsa) {
304  if (rsa->IsValid())
305  return rsa;
306  else
307  delete rsa;
308  }
309  return (XrdCryptoRSA *)0;
310 }

References XrdCryptoRSA::IsValid().

+ Here is the call graph for this function:

◆ RSA() [3/3]

XrdCryptoRSA * XrdCryptosslFactory::RSA ( int  bits = XrdCryptoDefRSABits,
int  exp = XrdCryptoDefRSAExp 
)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 268 of file XrdCryptosslFactory.cc.

269 {
270  // Return an instance of a ssl implementation of XrdCryptoRSA.
271 
272  XrdCryptoRSA *rsa = new XrdCryptosslRSA(bits,exp);
273  if (rsa) {
274  if (rsa->IsValid())
275  return rsa;
276  else
277  delete rsa;
278  }
279  return (XrdCryptoRSA *)0;
280 }

References XrdCryptoRSA::IsValid().

+ Here is the call graph for this function:

◆ SetPathLenConstraint()

XrdCryptoSetPathLenConstraint_t XrdCryptosslFactory::SetPathLenConstraint ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 459 of file XrdCryptosslFactory.cc.

460 {
461  // Set the path length constraint
462 
464 }
void XrdCryptosslSetPathLenConstraint(void *ext, int pathlen)

References XrdCryptosslSetPathLenConstraint().

+ Here is the call graph for this function:

◆ SetTrace()

void XrdCryptosslFactory::SetTrace ( kXR_int32  trace)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 91 of file XrdCryptosslFactory.cc.

92 {
93  // Set trace flags according to 'trace'
94 
95  //
96  // Initiate error logging and tracing
98  if (!sslTrace)
99  sslTrace = new XrdOucTrace(&eDest);
100  if (sslTrace) {
101  // Set debug mask
102  sslTrace->What = 0;
103  // Low level only
104  if ((trace & sslTRACE_Notify))
106  // Medium level
107  if ((trace & sslTRACE_Debug))
109  // High level
110  if ((trace & sslTRACE_Dump))
112  }
113 }
XrdOucTrace * sslTrace
#define sslTRACE_ALL
#define sslTRACE_Dump
#define sslTRACE_Debug
#define sslTRACE_Notify
static XrdSysLogger Logger
static XrdSysError eDest(0,"cryptossl_")
XrdSysLogger * logger(XrdSysLogger *lp=0)
Definition: XrdSysError.hh:141

References eDest, Logger, XrdSysError::logger(), sslTrace, sslTRACE_ALL, sslTRACE_Debug, sslTRACE_Dump, sslTRACE_Notify, and XrdOucTrace::What.

+ Here is the call graph for this function:

◆ SupportedCipher()

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

Reimplemented from XrdCryptoFactory.

Definition at line 132 of file XrdCryptosslFactory.cc.

133 {
134  // Returns true if specified cipher is supported
135 
137 }
static bool IsSupported(const char *cip)

References XrdCryptosslCipher::IsSupported().

+ Here is the call graph for this function:

◆ SupportedMsgDigest()

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

Reimplemented from XrdCryptoFactory.

Definition at line 245 of file XrdCryptosslFactory.cc.

246 {
247  // Returns true if specified digest is supported
248 
250 }
static bool IsSupported(const char *dgst)

References XrdCryptosslMsgDigest::IsSupported().

+ Here is the call graph for this function:

◆ X509() [1/2]

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

Reimplemented from XrdCryptoFactory.

Definition at line 313 of file XrdCryptosslFactory.cc.

314 {
315  // Return an instance of a ssl implementation of XrdCryptoX509.
316 
317  XrdCryptoX509 *x509 = new XrdCryptosslX509(cf, kf);
318  if (x509) {
319  if (x509->Opaque())
320  return x509;
321  else
322  delete x509;
323  }
324  return (XrdCryptoX509 *)0;
325 }
virtual XrdCryptoX509data Opaque()

References XrdCryptoX509::Opaque().

+ Here is the call graph for this function:

◆ X509() [2/2]

XrdCryptoX509 * XrdCryptosslFactory::X509 ( XrdSutBucket b)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 328 of file XrdCryptosslFactory.cc.

329 {
330  // Return an instance of a ssl implementation of XrdCryptoX509.
331 
332  XrdCryptoX509 *x509 = new XrdCryptosslX509(b);
333  if (x509) {
334  if (x509->Opaque())
335  return x509;
336  else
337  delete x509;
338  }
339  return (XrdCryptoX509 *)0;
340 }

References XrdCryptoX509::Opaque().

+ Here is the call graph for this function:

◆ X509ChainToFile()

XrdCryptoX509ChainToFile_t XrdCryptosslFactory::X509ChainToFile ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 415 of file XrdCryptosslFactory.cc.

416 {
417  // Return an instance of an implementation of a function
418  // to dump a X509 certificate chain to a file.
419 
421 }
int XrdCryptosslX509ChainToFile(XrdCryptoX509Chain *ch, const char *fn)

References XrdCryptosslX509ChainToFile().

+ Here is the call graph for this function:

◆ X509CheckProxy3()

XrdCryptoX509CheckProxy3_t XrdCryptosslFactory::X509CheckProxy3 ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 491 of file XrdCryptosslFactory.cc.

492 {
493  // Check consistency of a GSI 3 compliant proxy
494 
496 }
int XrdCryptosslX509CheckProxy3(XrdCryptoX509 *, XrdOucString &)

References XrdCryptosslX509CheckProxy3().

+ Here is the call graph for this function:

◆ X509CreateProxy()

XrdCryptoX509CreateProxy_t XrdCryptosslFactory::X509CreateProxy ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 467 of file XrdCryptosslFactory.cc.

468 {
469  // Create a proxy certificate
470 
472 }
int XrdCryptosslX509CreateProxy(const char *, const char *, XrdProxyOpt_t *, XrdCryptogsiX509Chain *, XrdCryptoRSA **, const char *)

References XrdCryptosslX509CreateProxy().

+ Here is the call graph for this function:

◆ X509CreateProxyReq()

XrdCryptoX509CreateProxyReq_t XrdCryptosslFactory::X509CreateProxyReq ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 475 of file XrdCryptosslFactory.cc.

476 {
477  // Create a proxy request
478 
480 }
int XrdCryptosslX509CreateProxyReq(XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)

References XrdCryptosslX509CreateProxyReq().

+ Here is the call graph for this function:

◆ X509Crl() [1/2]

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

Reimplemented from XrdCryptoFactory.

Definition at line 343 of file XrdCryptosslFactory.cc.

344 {
345  // Return an instance of a ssl implementation of XrdCryptoX509Crl.
346 
347  XrdCryptoX509Crl *x509Crl = new XrdCryptosslX509Crl(cf, opt);
348  if (x509Crl) {
349  if (x509Crl->Opaque())
350  return x509Crl;
351  else
352  delete x509Crl;
353  }
354  return (XrdCryptoX509Crl *)0;
355 }
virtual XrdCryptoX509Crldata Opaque()

References XrdCryptoX509Crl::Opaque().

+ Here is the call graph for this function:

◆ X509Crl() [2/2]

XrdCryptoX509Crl * XrdCryptosslFactory::X509Crl ( XrdCryptoX509 cacert)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 358 of file XrdCryptosslFactory.cc.

359 {
360  // Return an instance of a ssl implementation of XrdCryptoX509Crl.
361 
362  XrdCryptoX509Crl *x509Crl = new XrdCryptosslX509Crl(ca);
363  if (x509Crl) {
364  if (x509Crl->Opaque())
365  return x509Crl;
366  else
367  delete x509Crl;
368  }
369  return (XrdCryptoX509Crl *)0;
370 }

References XrdCryptoX509Crl::Opaque().

+ Here is the call graph for this function:

◆ X509ExportChain()

XrdCryptoX509ExportChain_t XrdCryptosslFactory::X509ExportChain ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 406 of file XrdCryptosslFactory.cc.

407 {
408  // Return an instance of an implementation of a function
409  // to export a X509 certificate chain.
410 
412 }
XrdSutBucket * XrdCryptosslX509ExportChain(XrdCryptoX509Chain *chain, bool withprivatekey)

References XrdCryptosslX509ExportChain().

+ Here is the call graph for this function:

◆ X509GetVOMSAttr()

XrdCryptoX509GetVOMSAttr_t XrdCryptosslFactory::X509GetVOMSAttr ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 499 of file XrdCryptosslFactory.cc.

500 {
501  // Get VOMS attributes, if any
502 
504 }
int XrdCryptosslX509GetVOMSAttr(XrdCryptoX509 *, XrdOucString &)

References XrdCryptosslX509GetVOMSAttr().

+ Here is the call graph for this function:

◆ X509ParseBucket()

XrdCryptoX509ParseBucket_t XrdCryptosslFactory::X509ParseBucket ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 442 of file XrdCryptosslFactory.cc.

443 {
444  // Return an instance of an implementation of a function
445  // to parse a file supposed to contain for X509 certificates.
446 
448 }
int XrdCryptosslX509ParseBucket(XrdSutBucket *b, XrdCryptoX509Chain *chain)

References XrdCryptosslX509ParseBucket().

+ Here is the call graph for this function:

◆ X509ParseFile()

XrdCryptoX509ParseFile_t XrdCryptosslFactory::X509ParseFile ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 424 of file XrdCryptosslFactory.cc.

425 {
426  // Return an instance of an implementation of a function
427  // to parse a file supposed to contain for X509 certificates.
428 
430 }
int XrdCryptosslX509ParseFile(const char *fname, XrdCryptoX509Chain *chain, const char *fkey)

References XrdCryptosslX509ParseFile().

+ Here is the call graph for this function:

◆ X509ParseStack()

XrdCryptoX509ParseStack_t XrdCryptosslFactory::X509ParseStack ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 433 of file XrdCryptosslFactory.cc.

434 {
435  // Return an instance of an implementation of a function
436  // to parse a file supposed to contain for X509 certificates.
437 
439 }
int XrdCryptosslX509ParseStack(XrdTlsPeerCerts *pc, XrdCryptoX509Chain *chain)

References XrdCryptosslX509ParseStack().

+ Here is the call graph for this function:

◆ X509Req()

XrdCryptoX509Req * XrdCryptosslFactory::X509Req ( XrdSutBucket bck)
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 373 of file XrdCryptosslFactory.cc.

374 {
375  // Return an instance of a ssl implementation of XrdCryptoX509Crl.
376 
377  XrdCryptoX509Req *x509Req = new XrdCryptosslX509Req(b);
378  if (x509Req) {
379  if (x509Req->Opaque())
380  return x509Req;
381  else
382  delete x509Req;
383  }
384  return (XrdCryptoX509Req *)0;
385 }
virtual XrdCryptoX509Reqdata Opaque()

References XrdCryptoX509Req::Opaque().

+ Here is the call graph for this function:

◆ X509SignProxyReq()

XrdCryptoX509SignProxyReq_t XrdCryptosslFactory::X509SignProxyReq ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 483 of file XrdCryptosslFactory.cc.

484 {
485  // Sign a proxy request
486 
488 }
int XrdCryptosslX509SignProxyReq(XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)

References XrdCryptosslX509SignProxyReq().

+ Here is the call graph for this function:

◆ X509VerifyCert()

XrdCryptoX509VerifyCert_t XrdCryptosslFactory::X509VerifyCert ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 388 of file XrdCryptosslFactory.cc.

389 {
390  // Return hook to the OpenSSL implementation of the verification
391  // function for X509 certificate.
392 
394 }
bool XrdCryptosslX509VerifyCert(XrdCryptoX509 *cert, XrdCryptoX509 *ref)

References XrdCryptosslX509VerifyCert().

+ Here is the call graph for this function:

◆ X509VerifyChain()

XrdCryptoX509VerifyChain_t XrdCryptosslFactory::X509VerifyChain ( )
virtual

Reimplemented from XrdCryptoFactory.

Definition at line 397 of file XrdCryptosslFactory.cc.

398 {
399  // Return hook to the OpenSSL implementation of the verification
400  // function for X509 certificate chains.
401 
403 }
bool XrdCryptosslX509VerifyChain(XrdCryptoX509Chain *chain, int &errcode)

References XrdCryptosslX509VerifyChain().

+ Here is the call graph for this function:

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