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