xrootd
Public Member Functions | Private Member Functions | Private Attributes
XrdCryptosslX509Crl Class Reference

#include <XrdCryptosslX509Crl.hh>

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

List of all members.

Public Member Functions

 XrdCryptosslX509Crl (const char *crlf, int opt=0)
 XrdCryptosslX509Crl (XrdCryptoX509 *cacert)
virtual ~XrdCryptosslX509Crl ()
bool IsValid ()
XrdCryptoX509Crldata Opaque ()
void Dump ()
const char * ParentFile ()
int LastUpdate ()
int NextUpdate ()
const char * Issuer ()
const char * IssuerHash ()
bool IsRevoked (int serialnumber, int when=0)
bool IsRevoked (const char *sernum, int when=0)
bool Verify (XrdCryptoX509 *ref)

Private Member Functions

int GetFileType (const char *crlfn)
int LoadCache ()
int Init (const char *crlf)
int InitFromURI (const char *uri, const char *hash)

Private Attributes

X509_CRL * crl
int lastupdate
int nextupdate
XrdOucString issuer
XrdOucString issuerhash
XrdOucString srcfile
XrdOucString crluri
int nrevoked
XrdSutCache cache

Constructor & Destructor Documentation

XrdCryptosslX509Crl::XrdCryptosslX509Crl ( const char *  crlf,
int  opt = 0 
)
XrdCryptosslX509Crl::XrdCryptosslX509Crl ( XrdCryptoX509 cacert)
XrdCryptosslX509Crl::~XrdCryptosslX509Crl ( ) [virtual]

References crl.


Member Function Documentation

void XrdCryptosslX509Crl::Dump ( ) [virtual]
int XrdCryptosslX509Crl::GetFileType ( const char *  crlfn) [private]

References EPNAME, PRINT, fopen, and fclose().

Referenced by InitFromURI().

int XrdCryptosslX509Crl::Init ( const char *  crlf) [private]
int XrdCryptosslX509Crl::InitFromURI ( const char *  uri,
const char *  hash 
) [private]
bool XrdCryptosslX509Crl::IsRevoked ( int  serialnumber,
int  when = 0 
) [virtual]
bool XrdCryptosslX509Crl::IsRevoked ( const char *  sernum,
int  when = 0 
) [virtual]
const char * XrdCryptosslX509Crl::Issuer ( ) [virtual]

Reimplemented from XrdCryptoX509Crl.

References EPNAME, issuer, XrdOucString::length(), crl, DEBUG, and XrdOucString::c_str().

Referenced by Init(), and Dump().

const char * XrdCryptosslX509Crl::IssuerHash ( ) [virtual]

Reimplemented from XrdCryptoX509Crl.

References EPNAME, issuerhash, XrdOucString::length(), crl, DEBUG, and XrdOucString::c_str().

Referenced by Dump().

bool XrdCryptosslX509Crl::IsValid ( ) [inline, virtual]

Reimplemented from XrdCryptoX509Crl.

References crl.

int XrdCryptosslX509Crl::LastUpdate ( ) [virtual]

Reimplemented from XrdCryptoX509Crl.

References lastupdate, crl, and XrdCryptosslASN1toUTC().

Referenced by Dump().

int XrdCryptosslX509Crl::LoadCache ( ) [private]
int XrdCryptosslX509Crl::NextUpdate ( ) [virtual]

Reimplemented from XrdCryptoX509Crl.

References nextupdate, crl, and XrdCryptosslASN1toUTC().

Referenced by IsRevoked(), and Dump().

XrdCryptoX509Crldata XrdCryptosslX509Crl::Opaque ( ) [inline, virtual]

Reimplemented from XrdCryptoX509Crl.

References crl.

const char* XrdCryptosslX509Crl::ParentFile ( ) [inline, virtual]

Reimplemented from XrdCryptoX509Crl.

References srcfile, and XrdOucString::c_str().

Referenced by Dump().

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

Reimplemented from XrdCryptoX509Crl.

References crl, and XrdCryptoX509::Opaque().


Member Data Documentation

Referenced by LoadCache(), and IsRevoked().

X509_CRL* XrdCryptosslX509Crl::crl [private]

Referenced by XrdCryptosslX509Crl().

Referenced by XrdCryptosslX509Crl(), and Issuer().

Referenced by XrdCryptosslX509Crl(), and IssuerHash().

Referenced by XrdCryptosslX509Crl(), and LastUpdate().

Referenced by XrdCryptosslX509Crl(), and NextUpdate().


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