XRootD
Loading...
Searching...
No Matches
XrdCryptoFactory.hh File Reference
Include dependency graph for XrdCryptoFactory.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdCryptoFactory
struct  XrdProxyOpt_t

Macros

#define gsiProxyCertInfo_OID   "1.3.6.1.5.5.7.1.14"
#define gsiProxyCertInfo_OLD_OID   "1.3.6.1.4.1.3536.1.222"
#define MAXFACTORYNAMELEN   10

Typedefs

typedef int(* XrdCryptoKDFun_t) (const char *pass, int plen, const char *salt, int slen, char *key, int klen)
typedef int(* XrdCryptoKDFunLen_t) ()
typedef bool(* XrdCryptoProxyCertInfo_t) (const void *, int &, bool *)
typedef void(* XrdCryptoSetPathLenConstraint_t) (void *, int)
typedef int(* XrdCryptoX509ChainToFile_t) (XrdCryptoX509Chain *, const char *)
typedef int(* XrdCryptoX509CheckProxy3_t) (XrdCryptoX509 *, XrdOucString &)
typedef int(* XrdCryptoX509CreateProxy_t) (const char *, const char *, XrdProxyOpt_t *, XrdCryptogsiX509Chain *, XrdCryptoRSA **, const char *)
typedef int(* XrdCryptoX509CreateProxyReq_t) (XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)
typedef XrdSutBucket *(* XrdCryptoX509ExportChain_t) (XrdCryptoX509Chain *, bool)
typedef int(* XrdCryptoX509GetVOMSAttr_t) (XrdCryptoX509 *, XrdOucString &)
typedef int(* XrdCryptoX509ParseBucket_t) (XrdSutBucket *, XrdCryptoX509Chain *)
typedef int(* XrdCryptoX509ParseFile_t) (const char *fname, XrdCryptoX509Chain *, const char *)
typedef int(* XrdCryptoX509ParseStack_t) (XrdTlsPeerCerts *pc, XrdCryptoX509Chain *c)
typedef int(* XrdCryptoX509SignProxyReq_t) (XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)
typedef bool(* XrdCryptoX509VerifyCert_t) (XrdCryptoX509 *c, XrdCryptoX509 *r)
typedef bool(* XrdCryptoX509VerifyChain_t) (XrdCryptoX509Chain *chain, int &errcode)

Class Documentation

◆ XrdProxyOpt_t

struct XrdProxyOpt_t

Definition at line 100 of file XrdCryptoFactory.hh.

Collaboration diagram for XrdProxyOpt_t:
Class Members
int bits
int depthlen
int valid

Macro Definition Documentation

◆ gsiProxyCertInfo_OID

#define gsiProxyCertInfo_OID   "1.3.6.1.5.5.7.1.14"

Definition at line 94 of file XrdCryptoFactory.hh.

Referenced by Display(), main(), and XrdCryptogsiX509Chain::Verify().

◆ gsiProxyCertInfo_OLD_OID

#define gsiProxyCertInfo_OLD_OID   "1.3.6.1.4.1.3536.1.222"

Definition at line 93 of file XrdCryptoFactory.hh.

Referenced by Display(), and XrdCryptogsiX509Chain::Verify().

◆ MAXFACTORYNAMELEN

#define MAXFACTORYNAMELEN   10

Definition at line 41 of file XrdCryptoFactory.hh.

Referenced by XrdCryptoFactory::XrdCryptoFactory().

Typedef Documentation

◆ XrdCryptoKDFun_t

typedef int(* XrdCryptoKDFun_t) (const char *pass, int plen, const char *salt, int slen, char *key, int klen)

Definition at line 65 of file XrdCryptoFactory.hh.

◆ XrdCryptoKDFunLen_t

typedef int(* XrdCryptoKDFunLen_t) ()

Definition at line 64 of file XrdCryptoFactory.hh.

◆ XrdCryptoProxyCertInfo_t

typedef bool(* XrdCryptoProxyCertInfo_t) (const void *, int &, bool *)

Definition at line 96 of file XrdCryptoFactory.hh.

◆ XrdCryptoSetPathLenConstraint_t

typedef void(* XrdCryptoSetPathLenConstraint_t) (void *, int)

Definition at line 98 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509ChainToFile_t

typedef int(* XrdCryptoX509ChainToFile_t) (XrdCryptoX509Chain *, const char *)

Definition at line 78 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509CheckProxy3_t

typedef int(* XrdCryptoX509CheckProxy3_t) (XrdCryptoX509 *, XrdOucString &)

Definition at line 116 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509CreateProxy_t

typedef int(* XrdCryptoX509CreateProxy_t) (const char *, const char *, XrdProxyOpt_t *, XrdCryptogsiX509Chain *, XrdCryptoRSA **, const char *)

Definition at line 107 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509CreateProxyReq_t

typedef int(* XrdCryptoX509CreateProxyReq_t) (XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)

Definition at line 110 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509ExportChain_t

typedef XrdSutBucket *(* XrdCryptoX509ExportChain_t) (XrdCryptoX509Chain *, bool)

Definition at line 75 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509GetVOMSAttr_t

typedef int(* XrdCryptoX509GetVOMSAttr_t) (XrdCryptoX509 *, XrdOucString &)

Definition at line 119 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509ParseBucket_t

typedef int(* XrdCryptoX509ParseBucket_t) (XrdSutBucket *, XrdCryptoX509Chain *)

Definition at line 89 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509ParseFile_t

typedef int(* XrdCryptoX509ParseFile_t) (const char *fname, XrdCryptoX509Chain *, const char *)

Definition at line 81 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509ParseStack_t

typedef int(* XrdCryptoX509ParseStack_t) (XrdTlsPeerCerts *pc, XrdCryptoX509Chain *c)

Definition at line 85 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509SignProxyReq_t

typedef int(* XrdCryptoX509SignProxyReq_t) (XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)

Definition at line 113 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509VerifyCert_t

typedef bool(* XrdCryptoX509VerifyCert_t) (XrdCryptoX509 *c, XrdCryptoX509 *r)

Definition at line 70 of file XrdCryptoFactory.hh.

◆ XrdCryptoX509VerifyChain_t

typedef bool(* XrdCryptoX509VerifyChain_t) (XrdCryptoX509Chain *chain, int &errcode)

Definition at line 72 of file XrdCryptoFactory.hh.