XrdCryptoX509Chain Class Reference
#include <XrdCryptoX509Chain.hh>
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 |
XrdCryptoX509 * | End () const |
ECAStatus | StatusCA () const |
const char * | CAname () |
const char * | EECname () |
const char * | CAhash () |
const char * | EEChash () |
XrdCryptoX509 * | EffCA () 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) |
XrdCryptoX509 * | SearchByIssuer (const char *issuer, ESearchMode mode=kExact) |
XrdCryptoX509 * | SearchBySubject (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) |
XrdCryptoX509 * | Begin () |
XrdCryptoX509 * | Next () |
Protected Member Functions |
XrdCryptoX509ChainNode * | Find (XrdCryptoX509 *c) |
XrdCryptoX509ChainNode * | FindIssuer (const char *issuer, ESearchMode mode=kExact, XrdCryptoX509ChainNode **p=0) |
XrdCryptoX509ChainNode * | FindSubject (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 |
XrdCryptoX509ChainNode * | begin |
XrdCryptoX509ChainNode * | current |
XrdCryptoX509ChainNode * | end |
XrdCryptoX509ChainNode * | previous |
XrdCryptoX509ChainNode * | effca |
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:
kNone |
|
kInconsistent |
|
kTooMany |
|
kNoCA |
|
kNoCertificate |
|
kInvalidType |
|
kInvalidNames |
|
kRevoked |
|
kExpired |
|
kMissingExtension |
|
kVerifyFail |
|
kInvalidSign |
|
kCANotAutoSigned |
|
kNoEEC |
|
kTooManyEEC |
|
kInvalidProxy |
|
Constructor & Destructor Documentation
virtual XrdCryptoX509Chain::~XrdCryptoX509Chain |
( |
|
) |
[virtual] |
Member Function Documentation
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 |
) |
|
void XrdCryptoX509Chain::Dump |
( |
|
) |
|
const char* XrdCryptoX509Chain::EEChash |
( |
|
) |
|
const char* XrdCryptoX509Chain::EECname |
( |
|
) |
|
const char* XrdCryptoX509Chain::LastError |
( |
|
) |
const [inline] |
virtual int XrdCryptoX509Chain::Reorder |
( |
|
) |
[virtual] |
void XrdCryptoX509Chain::SetEffectiveCA |
( |
|
) |
[protected] |
void XrdCryptoX509Chain::SetStatusCA |
( |
ECAStatus |
st |
) |
[inline] |
int XrdCryptoX509Chain::Size |
( |
|
) |
const [inline] |
ECAStatus XrdCryptoX509Chain::StatusCA |
( |
|
) |
const [inline] |
const char* XrdCryptoX509Chain::X509ChainError |
( |
EX509ChainErr |
e |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: