XrdCryptoX509Chain Class Reference

#include <XrdCryptoX509Chain.hh>

Inheritance diagram for XrdCryptoX509Chain:
Inheritance graph
[legend]
Collaboration diagram for XrdCryptoX509Chain:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ECAStatus { kUnknown = 0, kAbsent, kInvalid, kValid }
enum  EX509ChainErr {
  kNone = 0, kInconsistent, kTooMany, kNoCA,
  kNoCertificate, kInvalidType, kInvalidNames, kRevoked,
  kExpired, kMissingExtension, kVerifyFail, kInvalidSign,
  kCANotAutoSigned, kNoEEC, kTooManyEEC, kInvalidProxy
}

Public Member Functions

 XrdCryptoX509Chain (XrdCryptoX509 *c=0)
 XrdCryptoX509Chain (XrdCryptoX509Chain *ch)
virtual ~XrdCryptoX509Chain ()
const char * X509ChainError (EX509ChainErr e)
const char * LastError () const
void Dump ()
int Size () const
XrdCryptoX509End () const
ECAStatus StatusCA () const
const char * CAname ()
const char * EECname ()
const char * CAhash ()
const char * EEChash ()
XrdCryptoX509EffCA () const
void InsertAfter (XrdCryptoX509 *c, XrdCryptoX509 *cp)
void PutInFront (XrdCryptoX509 *c)
void PushBack (XrdCryptoX509 *c)
void Remove (XrdCryptoX509 *c)
bool CheckCA (bool checkselfsigned=1)
void Cleanup (bool keepCA=0)
void SetStatusCA (ECAStatus st)
XrdCryptoX509SearchByIssuer (const char *issuer, ESearchMode mode=kExact)
XrdCryptoX509SearchBySubject (const char *subject, ESearchMode mode=kExact)
virtual int CheckValidity (bool outatfirst=1, int when=0)
virtual int Reorder ()
virtual bool Verify (EX509ChainErr &e, x509ChainVerifyOpt_t *vopt=0)
XrdCryptoX509Begin ()
XrdCryptoX509Next ()

Protected Member Functions

XrdCryptoX509ChainNodeFind (XrdCryptoX509 *c)
XrdCryptoX509ChainNodeFindIssuer (const char *issuer, ESearchMode mode=kExact, XrdCryptoX509ChainNode **p=0)
XrdCryptoX509ChainNodeFindSubject (const char *subject, ESearchMode mode=kExact, XrdCryptoX509ChainNode **p=0)
void SetEffectiveCA ()
bool Verify (EX509ChainErr &e, const char *msg, XrdCryptoX509::EX509Type type, int when, XrdCryptoX509 *xcer, XrdCryptoX509 *xsig, XrdCryptoX509Crl *crl=0)

Protected Attributes

XrdCryptoX509ChainNodebegin
XrdCryptoX509ChainNodecurrent
XrdCryptoX509ChainNodeend
XrdCryptoX509ChainNodeprevious
XrdCryptoX509ChainNodeeffca
int size
XrdOucString lastError
XrdOucString caname
XrdOucString eecname
XrdOucString cahash
XrdOucString eechash
ECAStatus statusCA

Private Types

enum  ESearchMode { kExact = 0, kBegin = 1, kEnd = 2 }

Member Enumeration Documentation

Enumerator:
kUnknown 
kAbsent 
kInvalid 
kValid 
Enumerator:
kExact 
kBegin 
kEnd 
Enumerator:
kNone 
kInconsistent 
kTooMany 
kNoCA 
kNoCertificate 
kInvalidType 
kInvalidNames 
kRevoked 
kExpired 
kMissingExtension 
kVerifyFail 
kInvalidSign 
kCANotAutoSigned 
kNoEEC 
kTooManyEEC 
kInvalidProxy 

Constructor & Destructor Documentation

XrdCryptoX509Chain::XrdCryptoX509Chain ( XrdCryptoX509 c = 0  ) 
XrdCryptoX509Chain::XrdCryptoX509Chain ( XrdCryptoX509Chain ch  ) 
virtual XrdCryptoX509Chain::~XrdCryptoX509Chain (  )  [virtual]

Member Function Documentation

XrdCryptoX509* XrdCryptoX509Chain::Begin (  ) 
const char* XrdCryptoX509Chain::CAhash (  ) 
const char* XrdCryptoX509Chain::CAname (  ) 
bool XrdCryptoX509Chain::CheckCA ( bool  checkselfsigned = 1  ) 
virtual int XrdCryptoX509Chain::CheckValidity ( bool  outatfirst = 1,
int  when = 0 
) [virtual]
void XrdCryptoX509Chain::Cleanup ( bool  keepCA = 0  ) 

Referenced by gsiHSVars::~gsiHSVars().

void XrdCryptoX509Chain::Dump (  ) 
const char* XrdCryptoX509Chain::EEChash (  ) 
const char* XrdCryptoX509Chain::EECname (  ) 
XrdCryptoX509* XrdCryptoX509Chain::EffCA (  )  const [inline]
XrdCryptoX509* XrdCryptoX509Chain::End (  )  const [inline]
XrdCryptoX509ChainNode* XrdCryptoX509Chain::Find ( XrdCryptoX509 c  )  [protected]
XrdCryptoX509ChainNode* XrdCryptoX509Chain::FindIssuer ( const char *  issuer,
ESearchMode  mode = kExact,
XrdCryptoX509ChainNode **  p = 0 
) [protected]
XrdCryptoX509ChainNode* XrdCryptoX509Chain::FindSubject ( const char *  subject,
ESearchMode  mode = kExact,
XrdCryptoX509ChainNode **  p = 0 
) [protected]
void XrdCryptoX509Chain::InsertAfter ( XrdCryptoX509 c,
XrdCryptoX509 cp 
)
const char* XrdCryptoX509Chain::LastError (  )  const [inline]

References XrdOucString::c_str(), and lastError.

XrdCryptoX509* XrdCryptoX509Chain::Next (  ) 
void XrdCryptoX509Chain::PushBack ( XrdCryptoX509 c  ) 
void XrdCryptoX509Chain::PutInFront ( XrdCryptoX509 c  ) 
void XrdCryptoX509Chain::Remove ( XrdCryptoX509 c  ) 
virtual int XrdCryptoX509Chain::Reorder (  )  [virtual]
XrdCryptoX509* XrdCryptoX509Chain::SearchByIssuer ( const char *  issuer,
ESearchMode  mode = kExact 
)
XrdCryptoX509* XrdCryptoX509Chain::SearchBySubject ( const char *  subject,
ESearchMode  mode = kExact 
)
void XrdCryptoX509Chain::SetEffectiveCA (  )  [protected]
void XrdCryptoX509Chain::SetStatusCA ( ECAStatus  st  )  [inline]

References statusCA.

int XrdCryptoX509Chain::Size (  )  const [inline]

References size.

ECAStatus XrdCryptoX509Chain::StatusCA (  )  const [inline]

References statusCA.

bool XrdCryptoX509Chain::Verify ( EX509ChainErr e,
const char *  msg,
XrdCryptoX509::EX509Type  type,
int  when,
XrdCryptoX509 xcer,
XrdCryptoX509 xsig,
XrdCryptoX509Crl crl = 0 
) [protected]
virtual bool XrdCryptoX509Chain::Verify ( EX509ChainErr e,
x509ChainVerifyOpt_t vopt = 0 
) [virtual]

Reimplemented in XrdCryptogsiX509Chain.

const char* XrdCryptoX509Chain::X509ChainError ( EX509ChainErr  e  ) 

Member Data Documentation

Referenced by EffCA().

Referenced by End().

Referenced by LastError().

int XrdCryptoX509Chain::size [protected]

Referenced by Size().

Referenced by SetStatusCA(), and StatusCA().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 8 May 2020 for xrootd by  doxygen 1.6.1