Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

mysqlpp::SslOption Class Reference

Specialized option for handling SSL parameters. More...

#include <options.h>

Inheritance diagram for mysqlpp::SslOption:

Inheritance graph
[legend]
Collaboration diagram for mysqlpp::SslOption:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SslOption (const char *key=0, const char *cert=0, const char *ca=0, const char *capath=0, const char *cipher=0)
 Create a set of SSL connection option parameters.

Detailed Description

Specialized option for handling SSL parameters.


Constructor & Destructor Documentation

mysqlpp::SslOption::SslOption const char *  key = 0,
const char *  cert = 0,
const char *  ca = 0,
const char *  capath = 0,
const char *  cipher = 0
[inline]
 

Create a set of SSL connection option parameters.

Parameters:
key the pathname to the key file
cert the pathname to the certificate file
ca the pathname to the certificate authority file
capath directory that contains trusted SSL CA certificates in pem format.
cipher list of allowable ciphers to use
This option replaces Connection::enable_ssl() from MySQL++ version 2. Now you can set this connection option just like any other.


The documentation for this class was generated from the following file:
Generated on Thu Nov 27 01:21:43 2008 for MySQL++ by  doxygen 1.3.9.1