GENERIC_SERVER
0.0.0.9
A light-weight, cross-platform, pluggable, extensible and secure framework for deploying C++ plug-ins.
|
Utility class for TLS. Please refer excellent documentation at: http://www.openssl.org/docs/ssl/ssl.html. More...
#include <sslserver.h>
Public Member Functions | |
SSLServer () | |
Constructors. | |
SSLServer (char *cFile, char *kFile) | |
int | set_priv_key (string priv_key) |
int | set_ca_cert (string ca_cert) |
int | set_cert_file (string server_cert_file) |
int | set_verify_client (bool status_flag) |
int | CreateCTX (void) |
Load algorithms and create context. | |
int | LoadCerts (void) |
Load certification files. | |
SSL_CTX * | get_ctx (void) |
int | tls_init (void) |
int | tls_cleanup (void) |
Private Attributes | |
SSL_CTX * | ctx |
string | cert_file |
string | priv_key_file |
string | ca_certificate |
bool | verify_client |
Utility class for TLS. Please refer excellent documentation at: http://www.openssl.org/docs/ssl/ssl.html.
Definition at line 50 of file sslserver.h.
int SSLServer::tls_init | ( | void | ) |
Initialize TLS. Setup CRYPTO locking callbacks,RNG,mutuxes.
Definition at line 74 of file sslserver.cpp.