#include <XrdCrypto/XrdCryptosslgsiX509Chain.hh>
#include <XrdCrypto/XrdCryptoX509Req.hh>
#include <XrdCrypto/XrdCryptoRSA.hh>
Go to the source code of this file.
Classes |
| struct | XrdProxyOpt_t |
Defines |
| #define | gsiProxyCertInfo_OID "1.3.6.1.4.1.3536.1.222" |
| #define | kErrPX_Error 1 |
| #define | kErrPX_BadEECfile 2 |
| #define | kErrPX_BadEECkey 3 |
| #define | kErrPX_ExpiredEEC 4 |
| #define | kErrPX_NoResources 5 |
| #define | kErrPX_SetAttribute 6 |
| #define | kErrPX_SetPathDepth 7 |
| #define | kErrPX_Signing 8 |
| #define | kErrPX_GenerateKey 9 |
| #define | kErrPX_ProxyFile 10 |
| #define | kErrPX_BadNames 11 |
| #define | kErrPX_BadSerial 12 |
| #define | kErrPX_BadExtension 13 |
Functions |
| bool | XrdSslgsiProxyCertInfo (const void *ext, int &pathlen, bool *haspolicy=0) |
| void | XrdSslgsiSetPathLenConstraint (void *ext, int pathlen) |
| int | XrdSslgsiX509CreateProxy (const char *, const char *, XrdProxyOpt_t *, XrdCryptosslgsiX509Chain *, XrdCryptoRSA **, const char *) |
| int | XrdSslgsiX509CreateProxyReq (XrdCryptoX509 *, XrdCryptoX509Req **, XrdCryptoRSA **) |
| int | XrdSslgsiX509SignProxyReq (XrdCryptoX509 *, XrdCryptoRSA *, XrdCryptoX509Req *, XrdCryptoX509 **) |
Define Documentation
| #define gsiProxyCertInfo_OID "1.3.6.1.4.1.3536.1.222" |
| #define kErrPX_BadEECfile 2 |
| #define kErrPX_BadEECkey 3 |
| #define kErrPX_BadExtension 13 |
| #define kErrPX_BadNames 11 |
| #define kErrPX_BadSerial 12 |
| #define kErrPX_ExpiredEEC 4 |
| #define kErrPX_GenerateKey 9 |
| #define kErrPX_NoResources 5 |
| #define kErrPX_ProxyFile 10 |
| #define kErrPX_SetAttribute 6 |
| #define kErrPX_SetPathDepth 7 |
Function Documentation
| bool XrdSslgsiProxyCertInfo |
( |
const void * |
ext, |
|
|
int & |
pathlen, |
|
|
bool * |
haspolicy = 0 | |
|
) |
| | |
| void XrdSslgsiSetPathLenConstraint |
( |
void * |
ext, |
|
|
int |
pathlen | |
|
) |
| | |
References XrdProxyOpt_t::bits, DEBUG, XrdProxyOpt_t::depthlen, EPNAME, fclose(), fopen, XrdSutRndm::GetUInt(), gsiProxyCertInfo_new(), gsiProxyCertInfo_OID, i2d_gsiProxyCertInfo(), OBJ_txt2obj_fix(), PRINT, gsiProxyCertInfo_t::proxyCertPathLengthConstraint, XrdCryptoX509Chain::PushBack(), XrdProxyOpt_t::valid, and XrdCryptosslASN1toUTC().
Referenced by XrdSecProtocolgsi::InitProxy(), and main().
References d2i_gsiProxyCertInfo(), DEBUG, EPNAME, XrdSutRndm::GetUInt(), gsiProxyCertInfo_new(), gsiProxyCertInfo_OID, i2d_gsiProxyCertInfo(), XrdCryptoX509::IsValid(), OBJ_txt2obj_fix(), XrdCryptoX509::Opaque(), PRINT, and gsiProxyCertInfo_t::proxyCertPathLengthConstraint.
Referenced by main(), and XrdSecProtocolgsi::ServerDoCert().
References d2i_gsiProxyCertInfo(), DEBUG, EPNAME, XrdOucString::erase(), gsiProxyCertInfo_new(), gsiProxyCertInfo_OID, i2d_gsiProxyCertInfo(), XrdCryptoRSA::kComplete, XrdOucString::length(), XrdCryptoX509::NotAfter(), OBJ_txt2obj_fix(), XrdCryptoX509Req::Opaque(), XrdCryptoRSA::Opaque(), XrdCryptoX509::Opaque(), PRINT, gsiProxyCertInfo_t::proxyCertPathLengthConstraint, XrdOucString::rfind(), XrdCryptoRSA::status, and XrdCryptoX509Req::Version().
Referenced by XrdSecProtocolgsi::ClientDoPxyreq(), and main().