![]() |
XRootD
|
#include <XrdCryptoX509.hh>
Public Types | |
enum | EX509Type { kUnknown = -1 , kCA = 0 , kEEC = 1 , kProxy = 2 } |
Public Member Functions | |
XrdCryptoX509 () | |
virtual | ~XrdCryptoX509 () |
virtual int | BitStrength () |
virtual void | Dump () |
virtual int | DumpExtensions (bool=0) |
virtual XrdSutBucket * | Export () |
virtual XrdCryptoX509data | GetExtension (const char *oid) |
virtual bool | IsExpired (int when=0) |
virtual const char * | Issuer () |
const char * | IssuerHash () |
virtual const char * | IssuerHash (int) |
virtual bool | IsValid (int when=0) |
virtual bool | MatchesSAN (const char *fqdn, bool &hasSAN)=0 |
virtual time_t | NotAfter () |
virtual time_t | NotBefore () |
virtual XrdCryptoX509data | Opaque () |
virtual const char * | ParentFile () |
virtual XrdCryptoRSA * | PKI () |
virtual const char * | ProxyType () const |
virtual kXR_int64 | SerialNumber () |
virtual XrdOucString | SerialNumberString () |
virtual void | SetPKI (XrdCryptoX509data pki) |
virtual const char * | Subject () |
const char * | SubjectHash () |
virtual const char * | SubjectHash (int) |
const char * | Type (EX509Type t=kUnknown) const |
virtual bool | Verify (XrdCryptoX509 *ref) |
Static Public Member Functions | |
static bool | MatchHostnames (const char *match_pattern, const char *fqdn) |
Public Attributes | |
EX509Type | type |
Definition at line 51 of file XrdCryptoX509.hh.
|
inline |
Definition at line 59 of file XrdCryptoX509.hh.
|
inlinevirtual |
Definition at line 60 of file XrdCryptoX509.hh.
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 97 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Display(), and main().
|
virtual |
Definition at line 49 of file XrdCryptoX509.cc.
References EPNAME, IsExpired(), Issuer(), IssuerHash(), NotAfter(), NotBefore(), ParentFile(), PKI(), PRINT, SerialNumber(), Subject(), SubjectHash(), and Type().
Referenced by main().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 245 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Display().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 229 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Authenticate().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 221 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509Crl::XrdCryptosslX509Crl(), Display(), main(), and XrdCryptogsiX509Chain::Verify().
|
virtual |
Definition at line 115 of file XrdCryptoX509.cc.
References NotAfter().
Referenced by Dump().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 157 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Display(), Dump(), XrdCryptoX509Chain::FindIssuer(), main(), XrdCryptoX509Chain::Reorder(), XrdCryptosslX509ChainToFile(), and XrdCryptosslX509ExportChain().
|
inline |
Definition at line 99 of file XrdCryptoX509.hh.
References IssuerHash().
Referenced by Dump(), and IssuerHash().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 173 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::Dump(), XrdSecProtocolgsi::getCredentials(), main(), XrdCryptoX509Chain::SetEffectiveCA(), and XrdCryptosslX509ExportChain().
|
virtual |
Definition at line 105 of file XrdCryptoX509.cc.
References kAllowedSkew, NotAfter(), and NotBefore().
Referenced by XrdCryptoX509Chain::CheckValidity(), and XrdCryptoX509Chain::Verify().
|
pure virtual |
Implemented in XrdCryptosslX509.
|
static |
Definition at line 253 of file XrdCryptoX509.cc.
References XrdOucString::c_str(), XrdOucString::erasefromstart(), XrdOucString::length(), XrdOucString::lower(), XrdOucString::matches(), and XrdOucString::tokenize().
Referenced by XrdCryptosslX509::MatchesSAN().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 133 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Authenticate(), Display(), Dump(), IsExpired(), IsValid(), and main().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 125 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Dump(), and IsValid().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 181 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509::Verify(), XrdCryptosslX509Crl::Verify(), XrdVomsFun::VOMSFun(), XrdCryptosslFactory::X509(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ParseBucket(), XrdCryptosslX509ParseFile(), XrdCryptosslX509ToFile(), XrdCryptosslX509VerifyCert(), and XrdCryptosslX509VerifyChain().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 149 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Dump().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 189 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Dump(), main(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ParseBucket(), and XrdCryptosslX509ParseFile().
|
inlinevirtual |
Reimplemented in XrdCryptosslX509.
Definition at line 83 of file XrdCryptoX509.hh.
Referenced by Display().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 205 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Dump().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 213 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::Verify().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 197 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by main(), XrdCryptosslX509ParseBucket(), and XrdCryptosslX509ParseFile().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 141 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::XrdCryptoX509Chain(), XrdCryptoX509Chain::CheckCA(), Display(), Dump(), XrdCryptoX509Chain::EECname(), XrdCryptoX509Chain::FindSubject(), main(), XrdCryptoX509Chain::Reorder(), XrdCryptoX509Chain::SetEffectiveCA(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ParseFile(), and XrdSecgsiAuthzKey().
|
inline |
Definition at line 104 of file XrdCryptoX509.hh.
References SubjectHash().
Referenced by Dump(), and SubjectHash().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 165 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509Crl::XrdCryptosslX509Crl(), XrdCryptoX509Chain::XrdCryptoX509Chain(), XrdCryptoX509Chain::CheckCA(), XrdCryptoX509Chain::Dump(), XrdCryptoX509Chain::EEChash(), XrdSecProtocolgsi::getCredentials(), XrdCryptoX509Chain::SetEffectiveCA(), and XrdCryptosslX509ExportChain().
Definition at line 80 of file XrdCryptoX509.hh.
References kUnknown, and type.
Referenced by Display(), Dump(), and XrdCryptoX509Chain::Dump().
|
virtual |
Reimplemented in XrdCryptosslX509.
Definition at line 237 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by main(), and XrdCryptoX509Chain::Verify().
EX509Type XrdCryptoX509::type |
Definition at line 56 of file XrdCryptoX509.hh.
Referenced by XrdCryptosslX509Crl::XrdCryptosslX509Crl(), XrdCryptoX509(), XrdCryptoX509Chain::XrdCryptoX509Chain(), XrdCryptoX509Chain::CheckCA(), XrdCryptoX509Chain::Cleanup(), Display(), XrdCryptoX509Chain::EEChash(), XrdCryptoX509Chain::EECname(), XrdSecProtocolgsi::getCredentials(), XrdCryptosslX509::MatchesSAN(), XrdCryptoX509Chain::Remove(), XrdCryptoX509Chain::SetEffectiveCA(), Type(), XrdCryptoX509Chain::Verify(), XrdCryptogsiX509Chain::Verify(), XrdVomsFun::VOMSFun(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ParseBucket(), XrdCryptosslX509ParseFile(), and XrdCryptosslX509VerifyChain().