Go to the documentation of this file. 1 #ifndef __CRYPTO_SSLFACTORY_H__
2 #define __CRYPTO_SSLFACTORY_H__
37 #ifndef __CRYPTO_FACTORY_H__
46 #define XrdCryptosslFactoryID 1
48 #define SSLFACTORY_MAX_CRYPTO_MUTEX 256
68 int liv,
const char *iv);
bool(* XrdCryptoProxyCertInfo_t)(const void *, int &, bool *)
Definition: XrdCryptoFactory.hh:96
bool SupportedMsgDigest(const char *dgst)
int kXR_int32
Definition: XPtypes.hh:89
Definition: XrdCryptoCipher.hh:48
void(* XrdCryptoSetPathLenConstraint_t)(void *, int)
Definition: XrdCryptoFactory.hh:98
XrdCryptoX509ParseStack_t X509ParseStack()
XrdCryptoX509 * X509(const char *cf, const char *kf=0)
XrdCryptoSetPathLenConstraint_t SetPathLenConstraint()
XrdCryptoCipher * Cipher(const XrdCryptoCipher &c)
XrdCryptoRSA * RSA(const XrdCryptoRSA &r)
Definition: XrdCryptoMsgDigest.hh:47
Definition: XrdSysPthread.hh:166
void SetTrace(kXR_int32 trace)
XrdCryptoX509ParseBucket_t X509ParseBucket()
XrdCryptoRSA * RSA(const char *pub, int lpub=0)
#define XrdCryptoDefRSABits
Definition: XrdCryptoAux.hh:53
XrdCryptoCipher * Cipher(XrdSutBucket *b)
virtual ~XrdCryptosslFactory()
Definition: XrdCryptosslFactory.hh:54
XrdCryptoX509CreateProxy_t X509CreateProxy()
XrdCryptoX509ParseFile_t X509ParseFile()
XrdCryptoRSA * RSA(int bits=XrdCryptoDefRSABits, int exp=XrdCryptoDefRSAExp)
XrdCryptoX509GetVOMSAttr_t X509GetVOMSAttr()
XrdCryptoX509CreateProxyReq_t X509CreateProxyReq()
XrdCryptoX509VerifyCert_t X509VerifyCert()
int(* XrdCryptoX509ParseBucket_t)(XrdSutBucket *, XrdCryptoX509Chain *)
Definition: XrdCryptoFactory.hh:89
XrdCryptoX509VerifyChain_t X509VerifyChain()
XrdCryptoX509ChainToFile_t X509ChainToFile()
bool(* XrdCryptoX509VerifyChain_t)(XrdCryptoX509Chain *chain, int &errcode)
Definition: XrdCryptoFactory.hh:72
bool(* XrdCryptoX509VerifyCert_t)(XrdCryptoX509 *c, XrdCryptoX509 *r)
Definition: XrdCryptoFactory.hh:70
XrdCryptoCipher * Cipher(int bits, char *pub, int lpub, const char *t=0)
XrdCryptoCipher * Cipher(const char *t, int l, const char *k, int liv, const char *iv)
bool SupportedCipher(const char *t)
#define XrdCryptoDefRSAExp
Definition: XrdCryptoAux.hh:54
XrdCryptoCipher * Cipher(bool padded, int bits, char *pub, int lpub, const char *t=0)
static XrdSysMutex * CryptoMutexPool[SSLFACTORY_MAX_CRYPTO_MUTEX]
Definition: XrdCryptosslFactory.hh:113
XrdCryptoX509Req * X509Req(XrdSutBucket *bck)
XrdCryptoProxyCertInfo_t ProxyCertInfo()
XrdCryptoX509Crl * X509Crl(const char *crlfile, int opt=0)
XrdCryptoCipher * Cipher(const char *t, int l=0)
XrdCryptoX509Crl * X509Crl(XrdCryptoX509 *cacert)
Definition: XrdCryptoX509Req.hh:50
XrdCryptoX509SignProxyReq_t X509SignProxyReq()
int(* XrdCryptoX509CreateProxy_t)(const char *, const char *, XrdProxyOpt_t *, XrdCryptogsiX509Chain *, XrdCryptoRSA **, const char *)
Definition: XrdCryptoFactory.hh:107
int(* XrdCryptoX509CheckProxy3_t)(XrdCryptoX509 *, XrdOucString &)
Definition: XrdCryptoFactory.hh:116
int(* XrdCryptoKDFunLen_t)()
Definition: XrdCryptoAux.hh:59
XrdSutBucket *(* XrdCryptoX509ExportChain_t)(XrdCryptoX509Chain *, bool)
Definition: XrdCryptoFactory.hh:75
Definition: XrdCryptoRSA.hh:51
Definition: XrdCryptosslFactory.hh:51
Definition: XrdCryptoX509.hh:51
int(* XrdCryptoX509ParseStack_t)(void *ssl_conn, XrdCryptoX509Chain *c)
Definition: XrdCryptoFactory.hh:85
XrdCryptoX509ExportChain_t X509ExportChain()
XrdCryptoKDFunLen_t KDFunLen()
int(* XrdCryptoX509GetVOMSAttr_t)(XrdCryptoX509 *, XrdOucString &)
Definition: XrdCryptoFactory.hh:119
int(* XrdCryptoX509SignProxyReq_t)(XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)
Definition: XrdCryptoFactory.hh:113
int(* XrdCryptoX509ChainToFile_t)(XrdCryptoX509Chain *, const char *)
Definition: XrdCryptoFactory.hh:78
int(* XrdCryptoX509ParseFile_t)(const char *fname, XrdCryptoX509Chain *)
Definition: XrdCryptoFactory.hh:81
Definition: XrdCryptoX509Crl.hh:49
XrdCryptoX509 * X509(XrdSutBucket *b)
#define SSLFACTORY_MAX_CRYPTO_MUTEX
Definition: XrdCryptosslFactory.hh:48
XrdCryptoMsgDigest * MsgDigest(const char *dgst)
Definition: XrdCryptoFactory.hh:122
Definition: XrdSutBucket.hh:44
XrdCryptoX509CheckProxy3_t X509CheckProxy3()
int(* XrdCryptoX509CreateProxyReq_t)(XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)
Definition: XrdCryptoFactory.hh:110
int(* XrdCryptoKDFun_t)(const char *pass, int plen, const char *salt, int slen, char *key, int klen)
Definition: XrdCryptoAux.hh:60
int DebugON
Definition: XrdCryptosslFactory.hh:43