/home/bradarant/barant/ServerCore/TLSServerSocket.h
#ifndef TLSServerSocket_h__
#define TLSServerSocket_h__
#include "Socket.h"
#include "TCPServerSocket.h"
#include "Command.h"
#include "Session.h"
#include "IPAddress.h"
#include "Service.h"
namespace core {
class TLSServerSocket : public TCPServerSocket {
public:
TLSServerSocket(EPoll &ePoll, Service service, IPAddress address);
~TLSServerSocket();
// SSL_CTX *ctx;
private:
void tlsServerInit();
char *sip_cacert = (char *)"/home/barant/testkeys/certs/pbxca.crt";
char *sip_cert = (char *)"/home/barant/testkeys/certs/pbxserver.crt";
char *sip_key = (char *)"/home/barant/testkeys/certs/pbxserver.key";
};
}
#endif
core::EPoll
Definition: EPoll.h:31
core::TCPServerSocket::service
Service & service
Definition: TCPServerSocket.h:50
core
Definition: Command.cpp:4
core::IPAddress
Definition: IPAddress.h:9
core::Service
Definition: Service.h:20
core::TLSServerSocket::~TLSServerSocket
~TLSServerSocket()
Definition: TLSServerSocket.cpp:43
core::TCPServerSocket
Definition: TCPServerSocket.h:23
core::TLSServerSocket::TLSServerSocket
TLSServerSocket(EPoll &ePoll, Service service, IPAddress address)
Definition: TLSServerSocket.cpp:19
core::TLSServerSocket
Definition: TLSServerSocket.h:20