TLSServer.h
Go to the documentation of this file.
#ifndef TLSServerSocket_h__
#define TLSServerSocket_h__
#include "Socket.h"
#include "TCPServer.h"
#include "Command.h"
#include "TCPSession.h"
#include "IPAddress.h"
namespace core {
class TLSServer : public TCPServer {
public:
TLSServer(EPoll &ePoll, IPAddress address);
~TLSServer();
TCPSession * getSocketAccept();
SSL_CTX *ctx;
private:
char *sip_cacert = (char *)"../testkeys/certs/pbxca.crt";
char *sip_cert = (char *)"../testkeys/certs/pbxserver.crt";
char *sip_key = (char *)"../testkeys/certs/pbxserver.key";
};
}
#endif
core::TLSServer::ctx
SSL_CTX * ctx
Definition: TLSServer.h:42
core::TLSServer::getSocketAccept
TCPSession * getSocketAccept()
Definition: TLSServer.cpp:62
core::Socket::ePoll
EPoll & ePoll
Definition: Socket.h:117
core::EPoll
Definition: EPoll.h:31
core::TLSServer::~TLSServer
~TLSServer()
Definition: TLSServer.cpp:58
core::TCPServer
Definition: TCPServer.h:24
core::TLSServer::TLSServer
TLSServer(EPoll &ePoll, IPAddress address)
Definition: TLSServer.cpp:22
IPAddress.h
TCPSession.h
core::TCPSession
Definition: TCPSession.h:25
core::IPAddress
Definition: IPAddress.h:9
core
Definition: Command.cpp:5
TCPServer.h
Command.h
Socket.h
core::TLSServer
Definition: TLSServer.h:19