|
xrootd
|
#include <XrdCryptoX509.hh>

Public Types | |
| enum | EX509Type { kUnknown = -1, kCA = 0, kEEC = 1, kProxy = 2 } |
Public Member Functions | |
| XrdCryptoX509 () | |
| virtual | ~XrdCryptoX509 () |
| virtual bool | IsValid (int when=0) |
| virtual bool | IsExpired (int when=0) |
| virtual XrdCryptoX509data | Opaque () |
| virtual XrdCryptoRSA * | PKI () |
| virtual void | SetPKI (XrdCryptoX509data pki) |
| virtual XrdSutBucket * | Export () |
| virtual void | Dump () |
| const char * | Type (EX509Type t=kUnknown) const |
| virtual const char * | ParentFile () |
| virtual int | BitStrength () |
| virtual kXR_int64 | SerialNumber () |
| virtual XrdOucString | SerialNumberString () |
| virtual int | NotBefore () |
| virtual int | NotAfter () |
| virtual const char * | Issuer () |
| virtual const char * | IssuerHash () |
| virtual const char * | Subject () |
| virtual const char * | SubjectHash () |
| virtual XrdCryptoX509data | GetExtension (const char *oid) |
| virtual bool | Verify (XrdCryptoX509 *ref) |
Public Attributes | |
| EX509Type | type |
Static Private Attributes | |
| static const char * | ctype [4] = { "Unknown", "CA", "EEC", "Proxy" } |
| virtual XrdCryptoX509::~XrdCryptoX509 | ( | ) | [inline, virtual] |
| int XrdCryptoX509::BitStrength | ( | ) | [virtual] |
| void XrdCryptoX509::Dump | ( | ) | [virtual] |
References EPNAME, NotBefore(), localtime_r, NotAfter(), PRINT, ParentFile(), Type(), SerialNumber(), Subject(), SubjectHash(), Issuer(), IssuerHash(), IsExpired(), and PKI().
Referenced by main().
| XrdSutBucket * XrdCryptoX509::Export | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::Authenticate(), XrdSecProtocolgsi::ClientDoPxyreq(), and XrdSecProtocolgsi::GetSrvCertEnt().
| XrdCryptoX509data XrdCryptoX509::GetExtension | ( | const char * | oid | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslgsiX509Chain::Verify(), XrdCryptosslX509Crl::XrdCryptosslX509Crl(), Display(), and main().
| bool XrdCryptoX509::IsExpired | ( | int | when = 0 | ) | [virtual] |
References NotAfter().
Referenced by Dump().
| const char * XrdCryptoX509::Issuer | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509ExportChain(), XrdCryptosslX509ChainToFile(), XrdCryptosslgsiX509Chain::SubjectOK(), Dump(), XrdCryptoX509Chain::FindIssuer(), XrdCryptoX509Chain::Reorder(), and Display().
| const char * XrdCryptoX509::IssuerHash | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509ExportChain(), Dump(), XrdCryptoX509Chain::Dump(), main(), XrdSecProtocolgsi::getCredentials(), XrdSecProtocolgsi::VerifyCA(), and XrdSecProtocolgsi::GetSrvCertEnt().
| bool XrdCryptoX509::IsValid | ( | int | when = 0 | ) | [virtual] |
References NotBefore(), kAllowedSkew, and NotAfter().
Referenced by XrdSslgsiX509CreateProxyReq(), XrdCryptoX509Chain::CheckValidity(), XrdCryptoX509Chain::Verify(), and XrdSecProtocolgsi::GetSrvCertEnt().
| int XrdCryptoX509::NotAfter | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdSslgsiX509SignProxyReq(), Dump(), IsValid(), IsExpired(), main(), Display(), XrdSecProtocolgsi::Authenticate(), XrdSecProtocolgsi::QueryProxy(), and XrdSecProtocolgsi::GetSrvCertEnt().
| int XrdCryptoX509::NotBefore | ( | ) | [virtual] |
| XrdCryptoX509data XrdCryptoX509::Opaque | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509VerifyCert(), XrdCryptosslX509VerifyChain(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ParseFile(), XrdCryptosslX509ParseBucket(), XrdCryptosslFactory::X509(), XrdSslgsiX509CreateProxyReq(), XrdSslgsiX509SignProxyReq(), XrdSslgsiX509DumpExtensions(), XrdSslgsiX509GetVOMSAttr(), XrdCryptosslX509::Verify(), and XrdCryptosslX509Crl::Verify().
| const char * XrdCryptoX509::ParentFile | ( | ) | [virtual] |
| XrdCryptoRSA * XrdCryptoX509::PKI | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509ExportChain(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ParseFile(), XrdCryptosslX509ParseBucket(), Dump(), main(), XrdSecProtocolgsi::ClientDoCert(), XrdSecProtocolgsi::ClientDoPxyreq(), XrdSecProtocolgsi::ServerDoCert(), XrdSecProtocolgsi::ServerDoSigpxy(), XrdSecProtocolgsi::QueryProxy(), and XrdSecProtocolgsi::GetSrvCertEnt().
| kXR_int64 XrdCryptoX509::SerialNumber | ( | ) | [virtual] |
| XrdOucString XrdCryptoX509::SerialNumberString | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::Verify().
| void XrdCryptoX509::SetPKI | ( | XrdCryptoX509data | pki | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509ParseFile(), XrdCryptosslX509ParseBucket(), main(), and XrdSecProtocolgsi::ServerDoSigpxy().
| const char * XrdCryptoX509::Subject | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509ExportChain(), XrdCryptosslgsiX509Chain::SubjectOK(), Dump(), XrdCryptoX509Chain::XrdCryptoX509Chain(), XrdCryptoX509Chain::CheckCA(), XrdCryptoX509Chain::FindSubject(), XrdCryptoX509Chain::Reorder(), XrdCryptoX509Chain::EECname(), XrdSecgsiAuthzKey(), Display(), and XrdSecProtocolgsi::ClientDoCert().
| const char * XrdCryptoX509::SubjectHash | ( | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslX509ExportChain(), XrdCryptosslX509Crl::XrdCryptosslX509Crl(), Dump(), XrdCryptoX509Chain::XrdCryptoX509Chain(), XrdCryptoX509Chain::CheckCA(), XrdCryptoX509Chain::Dump(), XrdCryptoX509Chain::EEChash(), XrdSecProtocolgsi::getCredentials(), XrdSecProtocolgsi::ServerDoSigpxy(), XrdSecProtocolgsi::LoadCRL(), and XrdSecProtocolgsi::VerifyCA().
| const char* XrdCryptoX509::Type | ( | EX509Type | t = kUnknown | ) | const [inline] |
References kUnknown, ctype, and type.
Referenced by XrdCryptosslgsiX509Chain::Verify(), Dump(), XrdCryptoX509Chain::Dump(), and XrdSecProtocolgsi::GetSrvCertEnt().
| bool XrdCryptoX509::Verify | ( | XrdCryptoX509 * | ref | ) | [virtual] |
Reimplemented in XrdCryptosslX509.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::Verify(), and main().
const char * XrdCryptoX509::ctype = { "Unknown", "CA", "EEC", "Proxy" } [static, private] |
Referenced by Type().
Referenced by XrdCryptosslX509VerifyChain(), XrdCryptosslX509ExportChain(), XrdCryptosslX509ChainToFile(), XrdCryptosslX509ParseFile(), XrdCryptosslX509ParseBucket(), XrdCryptosslgsiX509Chain::SubjectOK(), XrdCryptosslX509::XrdCryptosslX509(), XrdCryptosslX509Crl::XrdCryptosslX509Crl(), XrdCryptoX509(), Type(), XrdCryptoX509Chain::XrdCryptoX509Chain(), XrdCryptoX509Chain::Cleanup(), XrdCryptoX509Chain::CheckCA(), XrdCryptoX509Chain::Remove(), XrdCryptoX509Chain::Verify(), XrdCryptoX509Chain::EECname(), XrdCryptoX509Chain::EEChash(), XrdSecProtocolgsi::getCredentials(), and XrdSecProtocolgsi::GetSrvCertEnt().
1.7.5