|
xrootd
|
#include <XrdCryptoX509Chain.hh>


enum XrdCryptoX509Chain::ESearchMode [private] |
| XrdCryptoX509Chain::XrdCryptoX509Chain | ( | XrdCryptoX509 * | c = 0 | ) |
References previous, current, begin, end, size, lastError, caname, eecname, cahash, eechash, statusCA, kUnknown, XrdCryptoX509::type, XrdCryptoX509::kCA, XrdCryptoX509::Subject(), XrdCryptoX509::SubjectHash(), kNone, Verify(), kInvalid, and kValid.
| XrdCryptoX509Chain::XrdCryptoX509Chain | ( | XrdCryptoX509Chain * | ch | ) |
| XrdCryptoX509Chain::~XrdCryptoX509Chain | ( | ) | [virtual] |
References begin, and XrdCryptoX509ChainNode::Next().
| XrdCryptoX509 * XrdCryptoX509Chain::Begin | ( | ) |
References previous, current, begin, and XrdCryptoX509ChainNode::Cert().
Referenced by XrdCryptosslX509VerifyChain(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ParseFile(), XrdCryptosslX509ParseBucket(), XrdCryptoX509Chain(), main(), XrdSecProtocolgsi::getCredentials(), XrdSecProtocolgsi::VerifyCA(), and XrdSecProtocolgsi::GetCA().
| const char * XrdCryptoX509Chain::CAhash | ( | ) |
References EPNAME, cahash, XrdOucString::length(), statusCA, kUnknown, CheckCA(), DEBUG, and XrdOucString::c_str().
Referenced by XrdCryptoX509Chain().
| const char * XrdCryptoX509Chain::CAname | ( | ) |
References EPNAME, caname, XrdOucString::length(), statusCA, kUnknown, CheckCA(), DEBUG, and XrdOucString::c_str().
Referenced by XrdCryptoX509Chain(), and Dump().
| bool XrdCryptoX509Chain::CheckCA | ( | bool | checkselfsigned = 1 | ) |
References begin, lastError, XrdCryptoX509ChainNode::Next(), XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::type, XrdCryptoX509::kCA, caname, XrdCryptoX509::Subject(), cahash, XrdCryptoX509::SubjectHash(), kNone, Verify(), kVerifyFail, statusCA, kInvalid, X509ChainError(), kValid, XrdCryptoX509ChainNode::SetNext(), and end.
Referenced by Verify(), CAname(), CAhash(), XrdSecProtocolgsi::VerifyCA(), and XrdSecProtocolgsi::QueryProxy().
| int XrdCryptoX509Chain::CheckValidity | ( | bool | outatfirst = 1, |
| int | when = 0 |
||
| ) | [virtual] |
References EPNAME, size, DEBUG, begin, XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::IsValid(), and XrdCryptoX509ChainNode::Next().
Referenced by XrdSecProtocolgsi::QueryProxy().
| void XrdCryptoX509Chain::Cleanup | ( | bool | keepCA = 0 | ) |
References begin, XrdCryptoX509ChainNode::Next(), XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::type, previous, current, end, size, lastError, caname, eecname, cahash, eechash, statusCA, and kUnknown.
Referenced by XrdSecProtocolgsi::QueryProxy(), and gsiHSVars::~gsiHSVars().
| void XrdCryptoX509Chain::Dump | ( | ) |
References EPNAME, LOCDUMP, Size(), CAname(), EECname(), begin, XrdCryptoX509ChainNode::Next(), XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::IssuerHash(), XrdCryptoX509::SubjectHash(), and XrdCryptoX509::Type().
Referenced by XrdCryptosslgsiX509Chain::Verify(), main(), and XrdSecProtocolgsi::ServerDoSigpxy().
| const char * XrdCryptoX509Chain::EEChash | ( | ) |
| const char * XrdCryptoX509Chain::EECname | ( | ) |
References EPNAME, eecname, XrdOucString::length(), begin, XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::type, XrdCryptoX509::Subject(), XrdCryptoX509ChainNode::Next(), DEBUG, and XrdOucString::c_str().
Referenced by XrdCryptoX509Chain(), Dump(), XrdSecProtocolgsi::Authenticate(), XrdSecProtocolgsi::ServerDoSigpxy(), and XrdSecProtocolgsi::QueryGMAP().
| XrdCryptoX509* XrdCryptoX509Chain::End | ( | ) | const [inline] |
References end, and XrdCryptoX509ChainNode::Cert().
Referenced by XrdCryptosslX509ExportChain(), XrdCryptosslX509ChainToFile(), XrdSecgsiAuthzKey(), XrdSecProtocolgsi::Authenticate(), XrdSecProtocolgsi::ClientDoCert(), XrdSecProtocolgsi::ClientDoPxyreq(), XrdSecProtocolgsi::ServerDoCert(), XrdSecProtocolgsi::ServerDoSigpxy(), and XrdSecProtocolgsi::QueryProxy().
| XrdCryptoX509ChainNode * XrdCryptoX509Chain::Find | ( | XrdCryptoX509 * | c | ) | [private] |
References begin, XrdCryptoX509ChainNode::Next(), and XrdCryptoX509ChainNode::Cert().
Referenced by PutInFront(), InsertAfter(), and PushBack().
| XrdCryptoX509ChainNode * XrdCryptoX509Chain::FindIssuer | ( | const char * | issuer, |
| ESearchMode | mode = kExact, |
||
| XrdCryptoX509ChainNode ** | p = 0 |
||
| ) | [private] |
References begin, XrdCryptoX509ChainNode::Next(), XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::Issuer(), kExact, kBegin, and kEnd.
Referenced by SearchByIssuer().
| XrdCryptoX509ChainNode * XrdCryptoX509Chain::FindSubject | ( | const char * | subject, |
| ESearchMode | mode = kExact, |
||
| XrdCryptoX509ChainNode ** | p = 0 |
||
| ) | [private] |
References begin, XrdCryptoX509ChainNode::Next(), XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::Subject(), kExact, kBegin, and kEnd.
Referenced by SearchBySubject(), and Reorder().
| void XrdCryptoX509Chain::InsertAfter | ( | XrdCryptoX509 * | c, |
| XrdCryptoX509 * | cp | ||
| ) |
References Find(), XrdCryptoX509ChainNode::Next(), size, XrdCryptoX509ChainNode::SetNext(), end, and PushBack().
| const char* XrdCryptoX509Chain::LastError | ( | ) | const [inline] |
References lastError, and XrdOucString::c_str().
Referenced by XrdCryptoX509Chain(), XrdSecProtocolgsi::ClientDoCert(), and XrdSecProtocolgsi::ServerDoCert().
| XrdCryptoX509 * XrdCryptoX509Chain::Next | ( | ) |
| void XrdCryptoX509Chain::PushBack | ( | XrdCryptoX509 * | c | ) |
References Find(), begin, end, XrdCryptoX509ChainNode::SetNext(), and size.
Referenced by XrdCryptosslX509ParseFile(), XrdCryptosslX509ParseBucket(), XrdSslgsiX509CreateProxy(), InsertAfter(), main(), and XrdSecProtocolgsi::ServerDoSigpxy().
| void XrdCryptoX509Chain::PutInFront | ( | XrdCryptoX509 * | c | ) |
References Find(), begin, end, and size.
Referenced by XrdSecProtocolgsi::VerifyCA().
| void XrdCryptoX509Chain::Remove | ( | XrdCryptoX509 * | c | ) |
References current, previous, XrdCryptoX509ChainNode::Cert(), XrdCryptoX509ChainNode::Next(), begin, XrdCryptoX509::type, XrdCryptoX509::kCA, statusCA, kUnknown, caname, cahash, XrdCryptoX509ChainNode::SetNext(), and size.
Referenced by XrdSecProtocolgsi::VerifyCA().
| int XrdCryptoX509Chain::Reorder | ( | ) | [virtual] |
References EPNAME, size, DEBUG, begin, FindSubject(), kExact, XrdCryptoX509ChainNode::Next(), XrdCryptoX509ChainNode::SetNext(), end, statusCA, kAbsent, caname, XrdOucString::length(), cahash, kUnknown, XrdCryptoX509ChainNode::Cert(), XrdCryptoX509::Subject(), eecname, eechash, and XrdCryptoX509::Issuer().
Referenced by XrdCryptosslX509ExportChain(), XrdCryptosslX509ChainToFile(), XrdCryptosslgsiX509Chain::Verify(), Verify(), XrdSecgsiAuthzKey(), main(), XrdSecProtocolgsi::ServerDoCert(), and XrdSecProtocolgsi::QueryProxy().
| XrdCryptoX509 * XrdCryptoX509Chain::SearchByIssuer | ( | const char * | issuer, |
| ESearchMode | mode = kExact |
||
| ) |
References FindIssuer(), and XrdCryptoX509ChainNode::Cert().
| XrdCryptoX509 * XrdCryptoX509Chain::SearchBySubject | ( | const char * | subject, |
| ESearchMode | mode = kExact |
||
| ) |
References FindSubject(), and XrdCryptoX509ChainNode::Cert().
Referenced by XrdCryptosslX509ExportChain(), XrdCryptosslX509ChainToFile(), and XrdSecProtocolgsi::ServerDoSigpxy().
| void XrdCryptoX509Chain::SetStatusCA | ( | ECAStatus | st | ) | [inline] |
References statusCA.
Referenced by XrdSecProtocolgsi::VerifyCA().
| int XrdCryptoX509Chain::Size | ( | ) | const [inline] |
References size.
Referenced by XrdCryptosslX509VerifyChain(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ParseFile(), XrdCryptosslX509ParseBucket(), and Dump().
| ECAStatus XrdCryptoX509Chain::StatusCA | ( | ) | const [inline] |
References statusCA.
Referenced by XrdCryptoX509Chain().
| bool XrdCryptoX509Chain::Verify | ( | EX509ChainErr & | e, |
| x509ChainVerifyOpt_t * | vopt = 0 |
||
| ) | [virtual] |
Reimplemented in XrdCryptosslgsiX509Chain.
References EPNAME, kNone, size, DEBUG, Reorder(), kInconsistent, lastError, X509ChainError(), x509ChainVerifyOpt_t::when, x509ChainVerifyOpt_t::pathlen, x509ChainVerifyOpt_t::opt, kOptsCheckSelfSigned, kTooMany, CheckCA(), kNoCA, begin, XrdCryptoX509ChainNode::Cert(), XrdCryptoX509ChainNode::Next(), and XrdCryptoX509::kUnknown.
Referenced by XrdCryptosslgsiX509Chain::Verify(), XrdCryptoX509Chain(), CheckCA(), and main().
| bool XrdCryptoX509Chain::Verify | ( | EX509ChainErr & | e, |
| const char * | msg, | ||
| XrdCryptoX509::EX509Type | type, | ||
| int | when, | ||
| XrdCryptoX509 * | xcer, | ||
| XrdCryptoX509 * | xsig, | ||
| XrdCryptoX509Crl * | crl = 0 |
||
| ) | [private] |
| const char * XrdCryptoX509Chain::X509ChainError | ( | EX509ChainErr | e | ) |
References X509ChainErrStr.
Referenced by XrdCryptosslgsiX509Chain::Verify(), XrdCryptosslgsiX509Chain::SubjectOK(), CheckCA(), and Verify().
friend class XrdCryptosslgsiX509Chain [friend] |
XrdCryptoX509ChainNode* XrdCryptoX509Chain::begin [private] |
XrdOucString XrdCryptoX509Chain::cahash [private] |
XrdOucString XrdCryptoX509Chain::caname [private] |
Referenced by XrdCryptoX509Chain(), Cleanup(), Remove(), Begin(), and Next().
XrdOucString XrdCryptoX509Chain::eechash [private] |
Referenced by XrdCryptoX509Chain(), Cleanup(), Reorder(), and EEChash().
XrdOucString XrdCryptoX509Chain::eecname [private] |
Referenced by XrdCryptoX509Chain(), Cleanup(), Reorder(), and EECname().
XrdCryptoX509ChainNode* XrdCryptoX509Chain::end [private] |
Referenced by XrdCryptoX509Chain(), Cleanup(), CheckCA(), PutInFront(), InsertAfter(), PushBack(), Reorder(), and End().
XrdOucString XrdCryptoX509Chain::lastError [private] |
Referenced by XrdCryptoX509Chain(), Cleanup(), Remove(), Begin(), and Next().
int XrdCryptoX509Chain::size [private] |
Referenced by XrdCryptosslgsiX509Chain::Verify(), XrdCryptoX509Chain(), Cleanup(), PutInFront(), InsertAfter(), PushBack(), Remove(), Reorder(), Verify(), CheckValidity(), and Size().
ECAStatus XrdCryptoX509Chain::statusCA [private] |
Referenced by XrdCryptosslgsiX509Chain::Verify(), XrdCryptoX509Chain(), Cleanup(), CheckCA(), Remove(), Reorder(), CAname(), CAhash(), StatusCA(), and SetStatusCA().
1.7.5