XrdCryptosslX509 Class Reference

#include <XrdCryptosslX509.hh>

Inheritance diagram for XrdCryptosslX509:

XrdCryptoX509 List of all members.

Public Member Functions

 XrdCryptosslX509 (const char *cf, const char *kf=0)
 XrdCryptosslX509 (XrdSutBucket *bck)
 XrdCryptosslX509 (X509 *cert)
virtual ~XrdCryptosslX509 ()
XrdCryptoX509data Opaque ()
XrdCryptoRSAPKI ()
void SetPKI (XrdCryptoX509data pki)
XrdSutBucketExport ()
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
XrdSutBucketbucket
XrdCryptoRSApki

Detailed Description

Definition at line 30 of file XrdCryptosslX509.hh.


Constructor & Destructor Documentation

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]

Definition at line 274 of file XrdCryptosslX509.cc.

References cert, and pki.


Member Function Documentation

XrdCryptoX509data XrdCryptosslX509::Opaque (  )  [inline, virtual]

Reimplemented from XrdCryptoX509.

Definition at line 40 of file XrdCryptosslX509.hh.

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]

Reimplemented from XrdCryptoX509.

Definition at line 53 of file XrdCryptosslX509.hh.

kXR_int64 XrdCryptosslX509::SerialNumber (  )  [virtual]

Reimplemented from XrdCryptoX509.

Definition at line 430 of file XrdCryptosslX509.cc.

References cert, and strtoll.

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]

Reimplemented from XrdCryptoX509.

Definition at line 466 of file XrdCryptosslX509.cc.

References cert, DEBUG, EPNAME, i, and s.

bool XrdCryptosslX509::Verify ( XrdCryptoX509 ref  )  [virtual]

Reimplemented from XrdCryptoX509.

Definition at line 643 of file XrdCryptosslX509.cc.

References cert, DEBUG, and EPNAME.

bool XrdCryptosslX509::IsCA (  )  [private]

Definition at line 529 of file XrdCryptosslX509.cc.

References cert, DEBUG, EPNAME, i, p, and TRACE.

Referenced by XrdCryptosslX509().


Member Data Documentation

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]

Definition at line 81 of file XrdCryptosslX509.hh.

Referenced by Subject(), and XrdCryptosslX509().

XrdOucString XrdCryptosslX509::issuer [private]

Definition at line 82 of file XrdCryptosslX509.hh.

Referenced by Issuer(), and XrdCryptosslX509().

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]

Definition at line 86 of file XrdCryptosslX509.hh.

Referenced by Export(), and XrdCryptosslX509().

XrdCryptoRSA* XrdCryptosslX509::pki [private]

Definition at line 87 of file XrdCryptosslX509.hh.

Referenced by PKI(), SetPKI(), XrdCryptosslX509(), and ~XrdCryptosslX509().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:30 2011 for ROOT_528-00b_version by  doxygen 1.5.1