1 #ifndef __CRYPTO_SSLGSIAUX_H__
2 #define __CRYPTO_SSLGSIAUX_H__
36 #include "XrdCrypto/XrdCryptosslgsiX509Chain.hh"
42 #define gsiProxyCertInfo_OLD_OID "1.3.6.1.4.1.3536.1.222"
43 #define gsiProxyCertInfo_OID "1.3.6.1.5.5.7.1.14"
65 XrdCryptosslgsiX509Chain *,
XrdCryptoRSA **,
const char *);
87 #define kErrPX_Error 1 // Generic error condition
88 #define kErrPX_BadEECfile 2 // Absent or bad EEC cert or key file
89 #define kErrPX_BadEECkey 3 // Inconsistent EEC key
90 #define kErrPX_ExpiredEEC 4 // EEC is expired
91 #define kErrPX_NoResources 5 // Unable to create new objects
92 #define kErrPX_SetAttribute 6 // Unable to set a certificate attribute
93 #define kErrPX_SetPathDepth 7 // Unable to set path depth
94 #define kErrPX_Signing 8 // Problems signing
95 #define kErrPX_GenerateKey 9 // Problem generating the RSA key
96 #define kErrPX_ProxyFile 10 // Problem creating / updating proxy file
97 #define kErrPX_BadNames 11 // Names in certificates are bad
98 #define kErrPX_BadSerial 12 // Problems resolving serial number
99 #define kErrPX_BadExtension 13 // Problems with the extensions
int XrdSslgsiX509CreateProxy(const char *, const char *, XrdProxyOpt_t *, XrdCryptosslgsiX509Chain *, XrdCryptoRSA **, const char *)
Definition: XrdCryptoRSA.hh:50
int XrdSslgsiX509SignProxyReq(XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **)
Definition: XrdCryptoFactory.hh:100
Definition: XrdCryptoX509Req.hh:50
int XrdSslgsiX509CreateProxyReq(XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **)
int XrdSslgsiX509DumpExtensions(XrdCryptoX509 *)
bool XrdSslgsiProxyCertInfo(const void *ext, int &pathlen, bool *haspolicy=0)
int XrdSslgsiX509CheckProxy3(XrdCryptoX509 *, XrdOucString &)
void XrdSslgsiSetPathLenConstraint(void *ext, int pathlen)
int XrdSslgsiX509GetVOMSAttr(XrdCryptoX509 *, XrdOucString &)
Definition: XrdCryptoX509.hh:51
Definition: XrdOucString.hh:254