|
xrootd
|
#include <XrdCryptosslX509.hh>


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 |
| XrdCryptosslX509::XrdCryptosslX509 | ( | const char * | cf, |
| const char * | kf = 0 |
||
| ) |
References XrdOucString::beginswith(), bucket, cert, DEBUG, EPNAME, 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 | ) |
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 | ) |
| int XrdCryptosslX509::BitStrength | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509.
| XrdSutBucket * XrdCryptosslX509::Export | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References bucket, cert, DEBUG, EPNAME, kXRS_x509, XrdSutBucket::SetBuf(), and XrdSutBucket::size.
| XrdCryptoX509data XrdCryptosslX509::GetExtension | ( | const char * | oid | ) | [virtual] |
Reimplemented from XrdCryptoX509.
| bool XrdCryptosslX509::IsCA | ( | ) | [private] |
References cert, DEBUG, EPNAME, and TRACE.
Referenced by XrdCryptosslX509().
| const char * XrdCryptosslX509::Issuer | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, issuer, and XrdOucString::length().
Referenced by XrdCryptosslX509().
| const char * XrdCryptosslX509::IssuerHash | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, issuerhash, and XrdOucString::length().
| int XrdCryptosslX509::NotAfter | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References cert, notafter, and XrdCryptosslASN1toUTC().
| int XrdCryptosslX509::NotBefore | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References cert, notbefore, and XrdCryptosslASN1toUTC().
| XrdCryptoX509data XrdCryptosslX509::Opaque | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509.
References cert.
| const char* XrdCryptosslX509::ParentFile | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509.
References XrdOucString::c_str(), and srcfile.
| XrdCryptoRSA* XrdCryptosslX509::PKI | ( | ) | [inline, virtual] |
Reimplemented from XrdCryptoX509.
References pki.
| kXR_int64 XrdCryptosslX509::SerialNumber | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
| XrdOucString XrdCryptosslX509::SerialNumberString | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References cert.
| void XrdCryptosslX509::SetPKI | ( | XrdCryptoX509data | pki | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References pki.
| const char * XrdCryptosslX509::Subject | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, XrdOucString::length(), and subject.
Referenced by XrdCryptosslX509().
| const char * XrdCryptosslX509::SubjectHash | ( | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References XrdOucString::c_str(), cert, DEBUG, EPNAME, XrdOucString::length(), and subjecthash.
| bool XrdCryptosslX509::Verify | ( | XrdCryptoX509 * | ref | ) | [virtual] |
Reimplemented from XrdCryptoX509.
References cert, DEBUG, EPNAME, and XrdCryptoX509::Opaque().
XrdSutBucket* XrdCryptosslX509::bucket [private] |
Referenced by Export(), and XrdCryptosslX509().
X509* XrdCryptosslX509::cert [private] |
Referenced by Export(), GetExtension(), IsCA(), Issuer(), IssuerHash(), NotAfter(), NotBefore(), Opaque(), SerialNumber(), SerialNumberString(), Subject(), SubjectHash(), Verify(), XrdCryptosslX509(), and ~XrdCryptosslX509().
XrdOucString XrdCryptosslX509::issuer [private] |
Referenced by Issuer(), and XrdCryptosslX509().
XrdOucString XrdCryptosslX509::issuerhash [private] |
Referenced by IssuerHash(), and XrdCryptosslX509().
int XrdCryptosslX509::notafter [private] |
Referenced by NotAfter(), and XrdCryptosslX509().
int XrdCryptosslX509::notbefore [private] |
Referenced by NotBefore(), and XrdCryptosslX509().
XrdCryptoRSA* XrdCryptosslX509::pki [private] |
Referenced by PKI(), SetPKI(), XrdCryptosslX509(), and ~XrdCryptosslX509().
XrdOucString XrdCryptosslX509::srcfile [private] |
Referenced by ParentFile(), and XrdCryptosslX509().
XrdOucString XrdCryptosslX509::subject [private] |
Referenced by Subject(), and XrdCryptosslX509().
XrdOucString XrdCryptosslX509::subjecthash [private] |
Referenced by SubjectHash(), and XrdCryptosslX509().
1.7.3