|
xrootd
|
#include <XrdCryptosslX509Crl.hh>


Public Member Functions | |
| XrdCryptosslX509Crl (const char *crlf, int opt=0) | |
| XrdCryptosslX509Crl (XrdCryptoX509 *cacert) | |
| virtual | ~XrdCryptosslX509Crl () |
| bool | IsValid () |
| XrdCryptoX509Crldata | Opaque () |
| void | Dump () |
| const char * | ParentFile () |
| int | LastUpdate () |
| int | NextUpdate () |
| const char * | Issuer () |
| const char * | IssuerHash () |
| bool | IsRevoked (int serialnumber, int when=0) |
| bool | IsRevoked (const char *sernum, int when=0) |
| bool | Verify (XrdCryptoX509 *ref) |
Private Member Functions | |
| int | LoadCache () |
| int | Init (const char *crlf) |
| int | InitFromURI (const char *uri, const char *hash) |
Private Attributes | |
| X509_CRL * | crl |
| int | lastupdate |
| int | nextupdate |
| XrdOucString | issuer |
| XrdOucString | issuerhash |
| XrdOucString | srcfile |
| XrdOucString | crluri |
| int | nrevoked |
| XrdSutCache | cache |
| XrdCryptosslX509Crl::XrdCryptosslX509Crl | ( | const char * | crlf, |
| int | opt = 0 |
||
| ) |
References crl, DEBUG, EPNAME, Init(), InitFromURI(), issuer, issuerhash, lastupdate, nextupdate, nrevoked, and srcfile.
| XrdCryptosslX509Crl::XrdCryptosslX509Crl | ( | XrdCryptoX509 * | cacert | ) |
References XrdOucString::beginswith(), XrdOucString::c_str(), crl, crluri, DEBUG, EPNAME, XrdCryptoX509::GetExtension(), InitFromURI(), issuer, issuerhash, XrdCryptoX509::kCA, lastupdate, nextupdate, nrevoked, XrdOucString::replace(), srcfile, XrdCryptoX509::SubjectHash(), XrdOucString::tokenize(), and XrdCryptoX509::type.
| XrdCryptosslX509Crl::~XrdCryptosslX509Crl | ( | ) | [virtual] |
References crl.
| void XrdCryptosslX509Crl::Dump | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References EPNAME, XrdCryptoX509Crl::IsExpired(), Issuer(), IssuerHash(), LastUpdate(), localtime_r, NextUpdate(), nrevoked, ParentFile(), and PRINT.
Referenced by LoadCache().
| int XrdCryptosslX509Crl::Init | ( | const char * | crlf | ) | [private] |
References crl, DEBUG, EPNAME, fclose(), fopen, Issuer(), LoadCache(), srcfile, and stat().
Referenced by InitFromURI(), and XrdCryptosslX509Crl().
| int XrdCryptosslX509Crl::InitFromURI | ( | const char * | uri, |
| const char * | hash | ||
| ) | [private] |
References XrdOucString::c_str(), DEBUG, EPNAME, Init(), XrdOucString::replace(), stat(), and unlink().
Referenced by XrdCryptosslX509Crl().
| bool XrdCryptosslX509Crl::IsRevoked | ( | int | serialnumber, |
| int | when = 0 |
||
| ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References cache, DEBUG, EPNAME, XrdSutCache::Get(), XrdSutPFEntry::mtime, NextUpdate(), and nrevoked.
| bool XrdCryptosslX509Crl::IsRevoked | ( | const char * | sernum, |
| int | when = 0 |
||
| ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References cache, DEBUG, EPNAME, XrdSutCache::Get(), XrdSutPFEntry::mtime, NextUpdate(), and nrevoked.
| const char * XrdCryptosslX509Crl::Issuer | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References XrdOucString::c_str(), crl, DEBUG, EPNAME, issuer, and XrdOucString::length().
| const char * XrdCryptosslX509Crl::IssuerHash | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References XrdOucString::c_str(), crl, DEBUG, EPNAME, issuerhash, and XrdOucString::length().
Referenced by Dump().
| bool XrdCryptosslX509Crl::IsValid | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509Crl.
References crl.
| int XrdCryptosslX509Crl::LastUpdate | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References crl, lastupdate, and XrdCryptosslASN1toUTC().
Referenced by Dump().
| int XrdCryptosslX509Crl::LoadCache | ( | ) | [private] |
References XrdSutCache::Add(), cache, crl, DEBUG, Dump(), EPNAME, XrdSutCache::Init(), XrdSutPFEntry::mtime, nrevoked, XrdSutCache::Rehash(), TRACE, and XrdCryptosslASN1toUTC().
Referenced by Init().
| int XrdCryptosslX509Crl::NextUpdate | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References crl, nextupdate, and XrdCryptosslASN1toUTC().
Referenced by Dump(), and IsRevoked().
| XrdCryptoX509Crldata XrdCryptosslX509Crl::Opaque | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509Crl.
References crl.
| const char* XrdCryptosslX509Crl::ParentFile | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509Crl.
References XrdOucString::c_str(), and srcfile.
Referenced by Dump().
| bool XrdCryptosslX509Crl::Verify | ( | XrdCryptoX509 * | ref | ) | [virtual] |
Reimplemented from XrdCryptoX509Crl.
References crl, and XrdCryptoX509::Opaque().
XrdSutCache XrdCryptosslX509Crl::cache [private] |
Referenced by IsRevoked(), and LoadCache().
X509_CRL* XrdCryptosslX509Crl::crl [private] |
Referenced by Init(), Issuer(), IssuerHash(), IsValid(), LastUpdate(), LoadCache(), NextUpdate(), Opaque(), Verify(), XrdCryptosslX509Crl(), and ~XrdCryptosslX509Crl().
XrdOucString XrdCryptosslX509Crl::crluri [private] |
Referenced by XrdCryptosslX509Crl().
XrdOucString XrdCryptosslX509Crl::issuer [private] |
Referenced by Issuer(), and XrdCryptosslX509Crl().
XrdOucString XrdCryptosslX509Crl::issuerhash [private] |
Referenced by IssuerHash(), and XrdCryptosslX509Crl().
int XrdCryptosslX509Crl::lastupdate [private] |
Referenced by LastUpdate(), and XrdCryptosslX509Crl().
int XrdCryptosslX509Crl::nextupdate [private] |
Referenced by NextUpdate(), and XrdCryptosslX509Crl().
int XrdCryptosslX509Crl::nrevoked [private] |
Referenced by Dump(), IsRevoked(), LoadCache(), and XrdCryptosslX509Crl().
XrdOucString XrdCryptosslX509Crl::srcfile [private] |
Referenced by Init(), ParentFile(), and XrdCryptosslX509Crl().
1.7.3