#include <XrdCryptoX509.hh>
Inheritance diagram for XrdCryptoX509:

Public Types | |
| enum | EX509Type |
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] |
Definition at line 33 of file XrdCryptoX509.hh.
Definition at line 37 of file XrdCryptoX509.hh.
| XrdCryptoX509::XrdCryptoX509 | ( | ) | [inline] |
| virtual XrdCryptoX509::~XrdCryptoX509 | ( | ) | [inline, virtual] |
Definition at line 42 of file XrdCryptoX509.hh.
| bool XrdCryptoX509::IsValid | ( | int | when = 0 |
) | [virtual] |
Definition at line 85 of file XrdCryptoX509.cc.
References kAllowedSkew, NotAfter(), and NotBefore().
Referenced by XrdCryptoX509Chain::Verify(), and XrdSslgsiX509CreateProxyReq().
| bool XrdCryptoX509::IsExpired | ( | int | when = 0 |
) | [virtual] |
| XrdCryptoX509data XrdCryptoX509::Opaque | ( | ) | [virtual] |
Definition at line 161 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptosslFactory::X509(), XrdCryptosslX509ParseBucket(), XrdCryptosslX509ParseFile(), XrdCryptosslX509VerifyCert(), XrdCryptosslX509VerifyChain(), XrdSslgsiX509CreateProxyReq(), and XrdSslgsiX509SignProxyReq().
| XrdCryptoRSA * XrdCryptoX509::PKI | ( | ) | [virtual] |
Definition at line 169 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoCert(), XrdSecProtocolgsi::ClientDoPxyreq(), Dump(), XrdSecProtocolgsi::QueryProxy(), XrdSecProtocolgsi::ServerDoCert(), XrdSecProtocolgsi::ServerDoSigpxy(), XrdCryptosslX509ParseBucket(), and XrdCryptosslX509ParseFile().
| void XrdCryptoX509::SetPKI | ( | XrdCryptoX509data | pki | ) | [virtual] |
Definition at line 177 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by main(), XrdSecProtocolgsi::ServerDoSigpxy(), XrdCryptosslX509ParseBucket(), and XrdCryptosslX509ParseFile().
| XrdSutBucket * XrdCryptoX509::Export | ( | ) | [virtual] |
Definition at line 209 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdSecProtocolgsi::ClientDoPxyreq().
| void XrdCryptoX509::Dump | ( | ) | [virtual] |
Definition at line 29 of file XrdCryptoX509.cc.
References asctime_r, EPNAME, IsExpired(), Issuer(), IssuerHash(), localtime_r, NotAfter(), NotBefore(), ParentFile(), PKI(), PRINT, SerialNumber(), Subject(), SubjectHash(), and Type().
Referenced by main().
| const char* XrdCryptoX509::Type | ( | EX509Type | t = kUnknown |
) | const [inline] |
Definition at line 60 of file XrdCryptoX509.hh.
References ctype, kUnknown, t, and type.
Referenced by Dump(), and XrdCryptosslgsiX509Chain::Verify().
| const char * XrdCryptoX509::ParentFile | ( | ) | [virtual] |
| int XrdCryptoX509::BitStrength | ( | ) | [virtual] |
| kXR_int64 XrdCryptoX509::SerialNumber | ( | ) | [virtual] |
| XrdOucString XrdCryptoX509::SerialNumberString | ( | ) | [virtual] |
Definition at line 193 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::Verify().
| int XrdCryptoX509::NotBefore | ( | ) | [virtual] |
| int XrdCryptoX509::NotAfter | ( | ) | [virtual] |
Definition at line 113 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Display(), Dump(), IsExpired(), IsValid(), main(), XrdSecProtocolgsi::QueryProxy(), and XrdSslgsiX509SignProxyReq().
| const char * XrdCryptoX509::Issuer | ( | ) | [virtual] |
Definition at line 137 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Display(), Dump(), XrdSecProtocolgsi::LoadCRL(), and XrdCryptosslgsiX509Chain::SubjectOK().
| const char * XrdCryptoX509::IssuerHash | ( | ) | [virtual] |
Definition at line 153 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Dump(), XrdSecProtocolgsi::LoadCRL(), main(), and XrdSecProtocolgsi::VerifyCA().
| const char * XrdCryptoX509::Subject | ( | ) | [virtual] |
Definition at line 121 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::CheckCA(), XrdSecProtocolgsi::ClientDoCert(), Display(), Dump(), XrdSecProtocolgsi::LoadCRL(), and XrdCryptosslgsiX509Chain::SubjectOK().
| const char * XrdCryptoX509::SubjectHash | ( | ) | [virtual] |
Definition at line 145 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by XrdCryptoX509Chain::CheckCA(), Dump(), XrdSecProtocolgsi::LoadCRL(), XrdSecProtocolgsi::VerifyCA(), and XrdCryptosslX509Crl::XrdCryptosslX509Crl().
| XrdCryptoX509data XrdCryptoX509::GetExtension | ( | const char * | oid | ) | [virtual] |
Definition at line 201 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by Display(), main(), XrdCryptosslgsiX509Chain::Verify(), and XrdCryptosslX509Crl::XrdCryptosslX509Crl().
| bool XrdCryptoX509::Verify | ( | XrdCryptoX509 * | ref | ) | [virtual] |
Definition at line 217 of file XrdCryptoX509.cc.
References ABSTRACTMETHOD.
Referenced by main(), and XrdCryptoX509Chain::Verify().
Definition at line 38 of file XrdCryptoX509.hh.
Referenced by XrdCryptoX509Chain::CheckCA(), XrdCryptosslgsiX509Chain::SubjectOK(), Type(), XrdCryptoX509Chain::Verify(), XrdCryptosslX509::XrdCryptosslX509(), XrdCryptosslX509Crl::XrdCryptosslX509Crl(), XrdCryptosslX509ParseBucket(), XrdCryptosslX509ParseFile(), XrdCryptosslX509VerifyChain(), and XrdCryptoX509().
const char * XrdCryptoX509::ctype [static, private] |
1.5.1