Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Dv::Ssl::X509Certificate Class Reference

Represents a X509 certificate. More...

#include <x509cert.h>

List of all members.

Public Member Functions

 X509Certificate (const SslSocket &so) throw (std::runtime_error)
 Constructor.

 ~X509Certificate ()
 Destructor.

const std::string & name () const
 Name appearing in certificate.

const std::string & issuer () const
 Issuer appearing in certificate.


Private Attributes

std::string name_
std::string issuer_


Detailed Description

Represents a X509 certificate.

Definition at line 17 of file x509cert.h.


Constructor & Destructor Documentation

Dv::Ssl::X509Certificate::X509Certificate const SslSocket so  )  throw (std::runtime_error)
 

Constructor.

The server certificate is retrieved from the client socket.

Parameters:
so open SslSocket
Exceptions:
std::runtime_error if no certificate obtained.

Dv::Ssl::X509Certificate::~X509Certificate  )  [inline]
 

Destructor.

Definition at line 25 of file x509cert.h.


Member Function Documentation

const std::string& Dv::Ssl::X509Certificate::name  )  const [inline]
 

Name appearing in certificate.

Definition at line 28 of file x509cert.h.

References name_.

const std::string& Dv::Ssl::X509Certificate::issuer  )  const [inline]
 

Issuer appearing in certificate.

Definition at line 30 of file x509cert.h.

References issuer_.


Member Data Documentation

std::string Dv::Ssl::X509Certificate::name_ [private]
 

Definition at line 32 of file x509cert.h.

Referenced by name().

std::string Dv::Ssl::X509Certificate::issuer_ [private]
 

Definition at line 33 of file x509cert.h.

Referenced by issuer().


The documentation for this class was generated from the following file:
dvssl-0.5.4 [19 September, 2003]