#include <XrdCryptosslX509.hh>
Inheritance diagram for XrdCryptosslX509:
Public Member Functions | |
XrdCryptosslX509 (const char *cf, const char *kf=0) | |
XrdCryptosslX509 (XrdSutBucket *bck) | |
XrdCryptosslX509 (X509 *cert) | |
virtual | ~XrdCryptosslX509 () |
XrdCryptoX509data | Opaque () |
XrdCryptoRSA * | PKI () |
void | SetPKI (XrdCryptoX509data pki) |
XrdSutBucket * | Export () |
const char * | ParentFile () |
int | BitStrength () |
kXR_int64 | SerialNumber () |
XrdOucString | SerialNumberString () |
int | NotBefore () |
int | NotAfter () |
const char * | Subject () |
const char * | Issuer () |
const char * | SubjectHash () |
const char * | IssuerHash () |
XrdCryptoX509data | GetExtension (const char *oid) |
bool | Verify (XrdCryptoX509 *ref) |
Private Member Functions | |
bool | IsCA () |
Private Attributes | |
X509 * | cert |
int | notbefore |
int | notafter |
XrdOucString | subject |
XrdOucString | issuer |
XrdOucString | subjecthash |
XrdOucString | issuerhash |
XrdOucString | srcfile |
XrdSutBucket * | bucket |
XrdCryptoRSA * | pki |
Definition at line 30 of file XrdCryptosslX509.hh.
XrdCryptosslX509::XrdCryptosslX509 | ( | const char * | cf, | |
const char * | kf = 0 | |||
) |
Definition at line 31 of file XrdCryptosslX509.cc.
References XrdOucString::beginswith(), bucket, cert, DEBUG, EPNAME, fc, fclose(), XrdOucString::find(), fopen, IsCA(), issuer, Issuer(), issuerhash, XrdCryptoX509::kCA, XrdCryptoX509::kEEC, XrdCryptoX509::kProxy, notafter, notbefore, pki, S_IRGRP, S_IROTH, S_ISDIR, S_ISREG, S_IWGRP, S_IWOTH, S_IWUSR, srcfile, stat, subject, Subject(), subjecthash, and XrdCryptoX509::type.
XrdCryptosslX509::XrdCryptosslX509 | ( | XrdSutBucket * | bck | ) |
Definition at line 147 of file XrdCryptosslX509.cc.
References XrdOucString::beginswith(), bucket, XrdSutBucket::buffer, cert, DEBUG, EPNAME, XrdOucString::find(), IsCA(), issuer, Issuer(), issuerhash, XrdCryptoX509::kCA, XrdCryptoX509::kEEC, XrdCryptoX509::kProxy, notafter, notbefore, pki, XrdSutBucket::size, srcfile, subject, Subject(), subjecthash, and XrdCryptoX509::type.
XrdCryptosslX509::XrdCryptosslX509 | ( | X509 * | cert | ) |
Definition at line 221 of file XrdCryptosslX509.cc.
References XrdOucString::beginswith(), bucket, cert, DEBUG, EPNAME, XrdOucString::find(), IsCA(), issuer, Issuer(), issuerhash, XrdCryptoX509::kCA, XrdCryptoX509::kEEC, XrdCryptoX509::kProxy, notafter, notbefore, pki, srcfile, subject, Subject(), subjecthash, and XrdCryptoX509::type.
XrdCryptosslX509::~XrdCryptosslX509 | ( | ) | [virtual] |
XrdCryptoX509data XrdCryptosslX509::Opaque | ( | ) | [inline, virtual] |
XrdCryptoRSA* XrdCryptosslX509::PKI | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 43 of file XrdCryptosslX509.hh.
References pki.
void XrdCryptosslX509::SetPKI | ( | XrdCryptoX509data | pki | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 285 of file XrdCryptosslX509.cc.
References pki.
XrdSutBucket * XrdCryptosslX509::Export | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 586 of file XrdCryptosslX509.cc.
References bucket, cert, DEBUG, EPNAME, kXRS_x509, XrdSutBucket::SetBuf(), and XrdSutBucket::size.
const char* XrdCryptosslX509::ParentFile | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 50 of file XrdCryptosslX509.hh.
References XrdOucString::c_str(), and srcfile.
int XrdCryptosslX509::BitStrength | ( | ) | [inline, virtual] |
kXR_int64 XrdCryptosslX509::SerialNumber | ( | ) | [virtual] |
XrdOucString XrdCryptosslX509::SerialNumberString | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 448 of file XrdCryptosslX509.cc.
References cert.
int XrdCryptosslX509::NotBefore | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 298 of file XrdCryptosslX509.cc.
References cert, notbefore, and XrdCryptosslASN1toUTC().
int XrdCryptosslX509::NotAfter | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 314 of file XrdCryptosslX509.cc.
References cert, notafter, and XrdCryptosslASN1toUTC().
const char * XrdCryptosslX509::Subject | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 330 of file XrdCryptosslX509.cc.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, XrdOucString::length(), and subject.
Referenced by XrdCryptosslX509().
const char * XrdCryptosslX509::Issuer | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 353 of file XrdCryptosslX509.cc.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, issuer, and XrdOucString::length().
Referenced by XrdCryptosslX509().
const char * XrdCryptosslX509::SubjectHash | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 403 of file XrdCryptosslX509.cc.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, XrdOucString::length(), sprintf(), and subjecthash.
const char * XrdCryptosslX509::IssuerHash | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
Definition at line 376 of file XrdCryptosslX509.cc.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, issuerhash, XrdOucString::length(), and sprintf().
XrdCryptoX509data XrdCryptosslX509::GetExtension | ( | const char * | oid | ) | [virtual] |
bool XrdCryptosslX509::Verify | ( | XrdCryptoX509 * | ref | ) | [virtual] |
bool XrdCryptosslX509::IsCA | ( | ) | [private] |
Definition at line 529 of file XrdCryptosslX509.cc.
References cert, DEBUG, EPNAME, i, p, and TRACE.
Referenced by XrdCryptosslX509().
X509* XrdCryptosslX509::cert [private] |
Definition at line 78 of file XrdCryptosslX509.hh.
Referenced by Export(), GetExtension(), IsCA(), Issuer(), IssuerHash(), NotAfter(), NotBefore(), SerialNumber(), SerialNumberString(), Subject(), SubjectHash(), Verify(), XrdCryptosslX509(), and ~XrdCryptosslX509().
int XrdCryptosslX509::notbefore [private] |
Definition at line 79 of file XrdCryptosslX509.hh.
Referenced by NotBefore(), and XrdCryptosslX509().
int XrdCryptosslX509::notafter [private] |
Definition at line 80 of file XrdCryptosslX509.hh.
Referenced by NotAfter(), and XrdCryptosslX509().
XrdOucString XrdCryptosslX509::subject [private] |
XrdOucString XrdCryptosslX509::issuer [private] |
XrdOucString XrdCryptosslX509::subjecthash [private] |
Definition at line 83 of file XrdCryptosslX509.hh.
Referenced by SubjectHash(), and XrdCryptosslX509().
XrdOucString XrdCryptosslX509::issuerhash [private] |
Definition at line 84 of file XrdCryptosslX509.hh.
Referenced by IssuerHash(), and XrdCryptosslX509().
XrdOucString XrdCryptosslX509::srcfile [private] |
Definition at line 85 of file XrdCryptosslX509.hh.
Referenced by ParentFile(), and XrdCryptosslX509().
XrdSutBucket* XrdCryptosslX509::bucket [private] |
XrdCryptoRSA* XrdCryptosslX509::pki [private] |
Definition at line 87 of file XrdCryptosslX509.hh.
Referenced by PKI(), SetPKI(), XrdCryptosslX509(), and ~XrdCryptosslX509().