xrootd
Public Types | Public Member Functions | Public Attributes | Static Private Attributes | List of all members
XrdCryptoX509 Class Reference

#include <XrdCryptoX509.hh>

Inheritance diagram for XrdCryptoX509:
Inheritance graph
[legend]

Public Types

enum  EX509Type { kUnknown = -1, kCA = 0, kEEC = 1, kProxy = 2 }
 

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 (int)
 
const char * IssuerHash ()
 
virtual const char * Subject ()
 
virtual const char * SubjectHash (int)
 
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] = { "Unknown", "CA", "EEC", "Proxy" }
 

Member Enumeration Documentation

Enumerator
kUnknown 
kCA 
kEEC 
kProxy 

Constructor & Destructor Documentation

XrdCryptoX509::XrdCryptoX509 ( )
inline

References kUnknown, and type.

virtual XrdCryptoX509::~XrdCryptoX509 ( )
inlinevirtual

Member Function Documentation

int XrdCryptoX509::BitStrength ( )
virtual

Reimplemented in XrdCryptosslX509.

References ABSTRACTMETHOD.

Referenced by Display(), and main().

void XrdCryptoX509::Dump ( )
virtual
XrdSutBucket * XrdCryptoX509::Export ( )
virtual
XrdCryptoX509data XrdCryptoX509::GetExtension ( const char *  oid)
virtual
bool XrdCryptoX509::IsExpired ( int  when = 0)
virtual

References NotAfter(), and XrdCryptoTZCorr().

Referenced by Dump().

const char * XrdCryptoX509::Issuer ( )
virtual
const char * XrdCryptoX509::IssuerHash ( int  )
virtual
const char* XrdCryptoX509::IssuerHash ( )
inline

References IssuerHash().

Referenced by Dump(), and IssuerHash().

bool XrdCryptoX509::IsValid ( int  when = 0)
virtual
int XrdCryptoX509::NotAfter ( )
virtual
int XrdCryptoX509::NotBefore ( )
virtual

Reimplemented in XrdCryptosslX509.

References ABSTRACTMETHOD.

Referenced by Dump(), and IsValid().

XrdCryptoX509data XrdCryptoX509::Opaque ( )
virtual
const char * XrdCryptoX509::ParentFile ( )
virtual

Reimplemented in XrdCryptosslX509.

References ABSTRACTMETHOD.

Referenced by Dump().

XrdCryptoRSA * XrdCryptoX509::PKI ( )
virtual
kXR_int64 XrdCryptoX509::SerialNumber ( )
virtual

Reimplemented in XrdCryptosslX509.

References ABSTRACTMETHOD.

Referenced by Dump().

XrdOucString XrdCryptoX509::SerialNumberString ( )
virtual

Reimplemented in XrdCryptosslX509.

References ABSTRACTMETHOD.

Referenced by XrdCryptoX509Chain::Verify().

void XrdCryptoX509::SetPKI ( XrdCryptoX509data  pki)
virtual
const char * XrdCryptoX509::Subject ( )
virtual
const char * XrdCryptoX509::SubjectHash ( int  )
virtual
const char* XrdCryptoX509::SubjectHash ( )
inline

References SubjectHash().

Referenced by Dump(), and SubjectHash().

const char* XrdCryptoX509::Type ( EX509Type  t = kUnknown) const
inline
bool XrdCryptoX509::Verify ( XrdCryptoX509 ref)
virtual

Reimplemented in XrdCryptosslX509.

References ABSTRACTMETHOD.

Referenced by main(), and XrdCryptoX509Chain::Verify().

Member Data Documentation

const char * XrdCryptoX509::ctype = { "Unknown", "CA", "EEC", "Proxy" }
staticprivate

Referenced by Type().

EX509Type XrdCryptoX509::type

The documentation for this class was generated from the following files: