xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdCryptosslX509Crl Class Reference

#include <XrdCryptosslX509Crl.hh>

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

Public Member Functions

 XrdCryptosslX509Crl (const char *crlf, int opt=0)
 
 XrdCryptosslX509Crl (FILE *, const char *crlf)
 
 XrdCryptosslX509Crl (XrdCryptoX509 *cacert)
 
virtual ~XrdCryptosslX509Crl ()
 
bool IsValid ()
 
XrdCryptoX509Crldata Opaque ()
 
void Dump ()
 
const char * ParentFile ()
 
time_t LastUpdate ()
 
time_t NextUpdate ()
 
const char * Issuer ()
 
const char * IssuerHash (int)
 
bool IsRevoked (int serialnumber, int when=0)
 
bool IsRevoked (const char *sernum, int when=0)
 
bool Verify (XrdCryptoX509 *ref)
 
bool ToFile (FILE *fh)
 
bool hasCriticalExtension ()
 
- Public Member Functions inherited from XrdCryptoX509Crl
 XrdCryptoX509Crl ()
 
virtual ~XrdCryptoX509Crl ()
 
virtual bool IsExpired (int when=0)
 
const char * IssuerHash ()
 

Private Member Functions

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

Private Attributes

X509_CRL * crl {nullptr}
 
time_t lastupdate {-1}
 
time_t nextupdate {-1}
 
XrdOucString issuer
 
XrdOucString issuerhash
 
XrdOucString issueroldhash
 
XrdOucString srcfile
 
XrdOucString crluri
 
int nrevoked {0}
 
XrdSutCache cache
 

Constructor & Destructor Documentation

◆ XrdCryptosslX509Crl() [1/3]

XrdCryptosslX509Crl::XrdCryptosslX509Crl ( const char *  crlf,
int  opt = 0 
)

◆ XrdCryptosslX509Crl() [2/3]

XrdCryptosslX509Crl::XrdCryptosslX509Crl ( FILE *  ,
const char *  crlf 
)

◆ XrdCryptosslX509Crl() [3/3]

XrdCryptosslX509Crl::XrdCryptosslX509Crl ( XrdCryptoX509 cacert)

◆ ~XrdCryptosslX509Crl()

virtual XrdCryptosslX509Crl::~XrdCryptosslX509Crl ( )
virtual

Member Function Documentation

◆ Dump()

void XrdCryptosslX509Crl::Dump ( )
virtual

Reimplemented from XrdCryptoX509Crl.

◆ GetFileType()

int XrdCryptosslX509Crl::GetFileType ( const char *  crlfn)
private

◆ hasCriticalExtension()

bool XrdCryptosslX509Crl::hasCriticalExtension ( )

◆ Init() [1/2]

int XrdCryptosslX509Crl::Init ( const char *  crlf)
private

◆ Init() [2/2]

int XrdCryptosslX509Crl::Init ( FILE *  fc,
const char *  crlf 
)
private

◆ InitFromURI()

int XrdCryptosslX509Crl::InitFromURI ( const char *  uri,
const char *  hash 
)
private

◆ IsRevoked() [1/2]

bool XrdCryptosslX509Crl::IsRevoked ( const char *  sernum,
int  when = 0 
)
virtual

Reimplemented from XrdCryptoX509Crl.

◆ IsRevoked() [2/2]

bool XrdCryptosslX509Crl::IsRevoked ( int  serialnumber,
int  when = 0 
)
virtual

Reimplemented from XrdCryptoX509Crl.

◆ Issuer()

const char * XrdCryptosslX509Crl::Issuer ( )
virtual

Reimplemented from XrdCryptoX509Crl.

◆ IssuerHash()

const char * XrdCryptosslX509Crl::IssuerHash ( int  )
virtual

Reimplemented from XrdCryptoX509Crl.

◆ IsValid()

bool XrdCryptosslX509Crl::IsValid ( )
inlinevirtual

Reimplemented from XrdCryptoX509Crl.

References crl.

◆ LastUpdate()

time_t XrdCryptosslX509Crl::LastUpdate ( )
virtual

Reimplemented from XrdCryptoX509Crl.

◆ LoadCache()

int XrdCryptosslX509Crl::LoadCache ( )
private

◆ NextUpdate()

time_t XrdCryptosslX509Crl::NextUpdate ( )
virtual

Reimplemented from XrdCryptoX509Crl.

◆ Opaque()

XrdCryptoX509Crldata XrdCryptosslX509Crl::Opaque ( )
inlinevirtual

Reimplemented from XrdCryptoX509Crl.

References crl.

◆ ParentFile()

const char * XrdCryptosslX509Crl::ParentFile ( )
inlinevirtual

Reimplemented from XrdCryptoX509Crl.

References XrdOucString::c_str(), and srcfile.

◆ ToFile()

bool XrdCryptosslX509Crl::ToFile ( FILE *  fh)

◆ Verify()

bool XrdCryptosslX509Crl::Verify ( XrdCryptoX509 ref)
virtual

Reimplemented from XrdCryptoX509Crl.

Member Data Documentation

◆ cache

XrdSutCache XrdCryptosslX509Crl::cache
private

◆ crl

X509_CRL* XrdCryptosslX509Crl::crl {nullptr}
private

Referenced by IsValid(), and Opaque().

◆ crluri

XrdOucString XrdCryptosslX509Crl::crluri
private

◆ issuer

XrdOucString XrdCryptosslX509Crl::issuer
private

◆ issuerhash

XrdOucString XrdCryptosslX509Crl::issuerhash
private

◆ issueroldhash

XrdOucString XrdCryptosslX509Crl::issueroldhash
private

◆ lastupdate

time_t XrdCryptosslX509Crl::lastupdate {-1}
private

◆ nextupdate

time_t XrdCryptosslX509Crl::nextupdate {-1}
private

◆ nrevoked

int XrdCryptosslX509Crl::nrevoked {0}
private

◆ srcfile

XrdOucString XrdCryptosslX509Crl::srcfile
private

Referenced by ParentFile().


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