Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MynahSA::SSLConnectionCertVerifier Class Reference

#include <sslconnectioncertverifier.hpp>

Inheritance diagram for MynahSA::SSLConnectionCertVerifier:

Inheritance graph
[legend]
Collaboration diagram for MynahSA::SSLConnectionCertVerifier:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SSLConnectionCertVerifier ()
 constructor
virtual ~SSLConnectionCertVerifier ()
 virtual destructor
virtual bool operator() (SSL *) const
 operator function - returning true allows the connection to proceed

Detailed Description

Class SSLConnectionCertVerifier performs basic X509 certificate verification on an incoming SSL connection. The requirements of a client are that:
1) It provide a valid certificate. No certificate -> rejection.
2) The Common Name field identifing the client matches the network name associated with the connecting host.

Notes: The SSLConnectionCertVerifier::operator( SSL* ) function will never be invoked if the certificate presented by the client is not verified during the connection process. This mechanism is normally used with a certificate authority file.

Definition at line 38 of file sslconnectioncertverifier.hpp.


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