Home C-Bits Package Documentation Project Page

Main Page   Namespace List   Compound List   File List   Compound Members   File Members  

cbits::SSLCert Class Reference

This class represents a X.509 digital certificate. More...

#include <SSLCert.h>

List of all members.

Public Methods

const std::string getFromDate () const
 Access the 'start' date of the certificate's term of validity. More...

const std::string getIssuer () const
 Access the certificate's Issuer. More...

const std::string getSerial () const
 Access the certificate's serial number. More...

const std::string getSubject () const
 Access the certificate's Subject. More...

const std::string getToDate () const
 Access the 'end' date of the certificate's term of validity. More...

const std::string getVersion () const
 Access the certificate's Version. More...

const bool isExpired () const
 Check if the certificate is expired. More...

const bool isRevoked () const
 Check if the certificate has been revoked. More...


Private Methods

 SSLCert (X509 *x509)
 SSLCert (const SSLCert &c)
 ~SSLCert ()
SSLCert & operator= (const SSLCert &c)

Private Attributes

X509 * _x509

Friends

class SSLSocket
class SSLServerSocket
class SSLPeer


Detailed Description

This class represents a X.509 digital certificate.


Constructor & Destructor Documentation

SSLCert::SSLCert X509 *    x509 [private]
 

SSLCert::SSLCert const SSLCert &    c [private]
 

SSLCert::~SSLCert   [private]
 


Member Function Documentation

const std::string SSLCert::getFromDate   const
 

Access the 'start' date of the certificate's term of validity.

const std::string SSLCert::getIssuer   const
 

Access the certificate's Issuer.

const std::string SSLCert::getSerial   const
 

Access the certificate's serial number.

const std::string SSLCert::getSubject   const
 

Access the certificate's Subject.

const std::string SSLCert::getToDate   const
 

Access the 'end' date of the certificate's term of validity.

const std::string SSLCert::getVersion   const
 

Access the certificate's Version.

const bool SSLCert::isExpired   const
 

Check if the certificate is expired.

const bool SSLCert::isRevoked   const
 

Check if the certificate has been revoked.

SSLCert & SSLCert::operator= const SSLCert &    c [private]
 


Friends And Related Function Documentation

friend class SSLPeer [friend]
 

friend class SSLServerSocket [friend]
 

friend class SSLSocket [friend]
 


Member Data Documentation

X509* cbits::SSLCert::_x509 [private]
 


The documentation for this class was generated from the following files:
Generated by
doxygen
Hosted by
SourceForge