Bond's TCP Library  1.0
Bond's TCP Client/Server Library
tcpssl.h File Reference

Provides ssl client and server functionality. More...

#include <string>
#include <openssl/ssl.h>
#include "tcpsocket.h"
Include dependency graph for tcpssl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tcp::SSLContext
 Encapsulates an openSSL SSL_CTX record. More...
 
class  tcp::SSL
 Encapsulates an SSL connection data structure. More...
 

Namespaces

 tcp
 A tcp client/server library for linux that supports openSSL and EPoll.
 

Enumerations

enum  SSLMode { CLIENT, SERVER }
 

Functions

void tcp::initSSLLibrary ()
 Initialize the openSSL library. More...
 
void tcp::freeSSLLibrary ()
 Free up resources created by the openSSL library. More...
 
void tcp::printSSLErrors ()
 This method logs openSSL errors to cerr.
 
int tcp::wildcmp (const char *wild, const char *string)
 Wildcard compare function. More...
 

Detailed Description

Provides ssl client and server functionality.

A single SSLContext class is shared by all clients of an application A single SSLContext class is created for each listening server in an application

Author
Bond Keevil
Version
1.0
Date
2019

Definition in file tcpssl.h.