#include <x509cert.h>
Public Member Functions | |
X509Certificate (const Socket &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_ |
Definition at line 12 of file x509cert.h.
Dv::Ssl::X509Certificate::X509Certificate | ( | const Socket & | so | ) | throw (std::runtime_error) |
Constructor.
The server certificate is retrieved from the client socket.
so | open Dv::Ssl::Socket |
std::runtime_error | if no certificate obtained. |
Dv::Ssl::X509Certificate::~X509Certificate | ( | ) | [inline] |
const std::string& Dv::Ssl::X509Certificate::name | ( | ) | const [inline] |
Name appearing in certificate.
Definition at line 25 of file x509cert.h.
References name_.
const std::string& Dv::Ssl::X509Certificate::issuer | ( | ) | const [inline] |
Issuer appearing in certificate.
Definition at line 29 of file x509cert.h.
References issuer_.
std::string Dv::Ssl::X509Certificate::name_ [private] |
std::string Dv::Ssl::X509Certificate::issuer_ [private] |