1 #ifndef __CRYPTO_SSLAUX_H__
2 #define __CRYPTO_SSLAUX_H__
40 #include <openssl/asn1.h>
42 #define kSslKDFunDefLen 24
103 #define sslTRACE_ALL 0x0007
104 #define sslTRACE_Dump 0x0004
105 #define sslTRACE_Debug 0x0002
106 #define sslTRACE_Notify 0x0001
111 #define kErrPX_Error 1 // Generic error condition
112 #define kErrPX_BadEECfile 2 // Absent or bad EEC cert or key file
113 #define kErrPX_BadEECkey 3 // Inconsistent EEC key
114 #define kErrPX_ExpiredEEC 4 // EEC is expired
115 #define kErrPX_NoResources 5 // Unable to create new objects
116 #define kErrPX_SetAttribute 6 // Unable to set a certificate attribute
117 #define kErrPX_SetPathDepth 7 // Unable to set path depth
118 #define kErrPX_Signing 8 // Problems signing
119 #define kErrPX_GenerateKey 9 // Problem generating the RSA key
120 #define kErrPX_ProxyFile 10 // Problem creating / updating proxy file
121 #define kErrPX_BadNames 11 // Names in certificates are bad
122 #define kErrPX_BadSerial 12 // Problems resolving serial number
123 #define kErrPX_BadExtension 13 // Problems with the extensions
Definition: XrdCryptoRSA.hh:50
bool XrdCryptosslX509VerifyChain(XrdCryptoX509Chain *chain, int &errcode)
int XrdCryptosslX509CheckProxy3(XrdCryptoX509 *, XrdOucString &)
int XrdCryptosslX509ParseFile(const char *fname, XrdCryptoX509Chain *c, const char *fkey=0)
int XrdCryptosslX509ChainToFile(XrdCryptoX509Chain *c, const char *fn)
int XrdCryptosslX509GetVOMSAttr(XrdCryptoX509 *, XrdOucString &)
Definition: XrdCryptoFactory.hh:100
int XrdCryptosslX509ParseBucket(XrdSutBucket *b, XrdCryptoX509Chain *c)
int XrdCryptosslX509CreateProxy(const char *, const char *, XrdProxyOpt_t *, XrdCryptogsiX509Chain *, XrdCryptoRSA **, const char *)
Definition: XrdCryptoX509Req.hh:50
int XrdCryptosslX509SignProxyReq(XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)
time_t XrdCryptosslASN1toUTC(const ASN1_TIME *tsn1)
int XrdCryptosslKDFunLen()
int XrdCryptosslX509ParseStack(XrdTlsPeerCerts *pc, XrdCryptoX509Chain *chain)
int XrdCryptosslX509ToFile(XrdCryptoX509 *x509, FILE *file, const char *fname)
XrdSutBucket * XrdCryptosslX509ExportChain(XrdCryptoX509Chain *c, bool key=0)
void XrdCryptosslSetPathLenConstraint(void *ext, int pathlen)
int XrdCryptosslKDFun(const char *pass, int plen, const char *salt, int slen, char *key, int len)
bool XrdCryptosslProxyCertInfo(const void *ext, int &pathlen, bool *haspolicy=0)
int XrdCryptosslX509CreateProxyReq(XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)
Definition: XrdCryptogsiX509Chain.hh:50
Definition: XrdSutBucket.hh:43
void XrdCryptosslNameOneLine(X509_NAME *nm, XrdOucString &s)
chain(pChain)
Definition: XrdTlsPeerCerts.hh:94
bool XrdCryptosslX509VerifyCert(XrdCryptoX509 *c, XrdCryptoX509 *r)
Definition: XrdCryptoX509.hh:51
Definition: XrdOucString.hh:254
Definition: XrdTlsPeerCerts.hh:34
Definition: XrdCryptoX509Chain.hh:80