1 #ifndef __CRYPTO_SSLAUX_H__
2 #define __CRYPTO_SSLAUX_H__
40 #include <openssl/asn1.h>
42 #define kSslKDFunDefLen 24
94 #define sslTRACE_ALL 0x0007
95 #define sslTRACE_Dump 0x0004
96 #define sslTRACE_Debug 0x0002
97 #define sslTRACE_Notify 0x0001
102 #define kErrPX_Error 1 // Generic error condition
103 #define kErrPX_BadEECfile 2 // Absent or bad EEC cert or key file
104 #define kErrPX_BadEECkey 3 // Inconsistent EEC key
105 #define kErrPX_ExpiredEEC 4 // EEC is expired
106 #define kErrPX_NoResources 5 // Unable to create new objects
107 #define kErrPX_SetAttribute 6 // Unable to set a certificate attribute
108 #define kErrPX_SetPathDepth 7 // Unable to set path depth
109 #define kErrPX_Signing 8 // Problems signing
110 #define kErrPX_GenerateKey 9 // Problem generating the RSA key
111 #define kErrPX_ProxyFile 10 // Problem creating / updating proxy file
112 #define kErrPX_BadNames 11 // Names in certificates are bad
113 #define kErrPX_BadSerial 12 // Problems resolving serial number
114 #define kErrPX_BadExtension 13 // Problems with the extensions
Definition: XrdCryptoRSA.hh:50
bool XrdCryptosslX509VerifyChain(XrdCryptoX509Chain *chain, int &errcode)
int XrdCryptosslX509CheckProxy3(XrdCryptoX509 *, XrdOucString &)
int XrdCryptosslX509ChainToFile(XrdCryptoX509Chain *c, const char *fn)
int XrdCryptosslX509GetVOMSAttr(XrdCryptoX509 *, XrdOucString &)
Definition: XrdCryptoFactory.hh:94
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()
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
int XrdCryptosslX509ParseFile(const char *fname, XrdCryptoX509Chain *c)
void XrdCryptosslNameOneLine(X509_NAME *nm, XrdOucString &s)
bool XrdCryptosslX509VerifyCert(XrdCryptoX509 *c, XrdCryptoX509 *r)
Definition: XrdCryptoX509.hh:51
Definition: XrdOucString.hh:254
Definition: XrdCryptoX509Chain.hh:80