XrdCryptoX509 Class Reference

#include <XrdCryptoX509.hh>

Inheritance diagram for XrdCryptoX509:

XrdCryptosslX509 List of all members.

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 XrdCryptoRSAPKI ()
virtual void SetPKI (XrdCryptoX509data pki)
virtual XrdSutBucketExport ()
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]

Detailed Description

Definition at line 33 of file XrdCryptoX509.hh.


Member Enumeration Documentation

enum XrdCryptoX509::EX509Type

Definition at line 37 of file XrdCryptoX509.hh.


Constructor & Destructor Documentation

XrdCryptoX509::XrdCryptoX509 (  )  [inline]

Definition at line 41 of file XrdCryptoX509.hh.

References kUnknown, and type.

virtual XrdCryptoX509::~XrdCryptoX509 (  )  [inline, virtual]

Definition at line 42 of file XrdCryptoX509.hh.


Member Function Documentation

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]

Definition at line 95 of file XrdCryptoX509.cc.

References NotAfter().

Referenced by Dump().

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]

Definition at line 129 of file XrdCryptoX509.cc.

References ABSTRACTMETHOD.

Referenced by Dump().

int XrdCryptoX509::BitStrength (  )  [virtual]

Definition at line 77 of file XrdCryptoX509.cc.

References ABSTRACTMETHOD.

Referenced by Display(), and main().

kXR_int64 XrdCryptoX509::SerialNumber (  )  [virtual]

Definition at line 185 of file XrdCryptoX509.cc.

References ABSTRACTMETHOD.

Referenced by Dump().

XrdOucString XrdCryptoX509::SerialNumberString (  )  [virtual]

Definition at line 193 of file XrdCryptoX509.cc.

References ABSTRACTMETHOD.

Referenced by XrdCryptoX509Chain::Verify().

int XrdCryptoX509::NotBefore (  )  [virtual]

Definition at line 105 of file XrdCryptoX509.cc.

References ABSTRACTMETHOD.

Referenced by Dump(), and IsValid().

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().


Member Data Documentation

EX509Type XrdCryptoX509::type

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]

Definition at line 91 of file XrdCryptoX509.hh.

Referenced by Type().


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