tlsopensslserver.h
/*
Copyright (c) 2009-2023 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distributed
other than expressed in the named license agreement.
This software is distributed without any warranty.
*/
#ifndef TLSOPENSSLSERVER_H__
#define TLSOPENSSLSERVER_H__
#include "tlsopensslbase.h"
#include "config.h"
#ifdef HAVE_OPENSSL
#include <openssl/ssl.h>
namespace gloox
{
class OpenSSLServer : public OpenSSLBase
{
public:
OpenSSLServer( TLSHandler* th );
virtual ~OpenSSLServer();
private:
// reimplemented from OpenSSLBase
virtual bool privateInit();
// reimplemented from OpenSSLBase
virtual bool setType();
// reimplemented from OpenSSLBase
virtual int handshakeFunction();
};
}
#endif // HAVE_OPENSSL
#endif // TLSOPENSSLSERVER_H__
gloox::OpenSSLBase::OpenSSLBase
OpenSSLBase(TLSHandler *th, const std::string &server=EmptyString)
Definition tlsopensslbase.cpp:36
gloox::OpenSSLServer::~OpenSSLServer
virtual ~OpenSSLServer()
Definition tlsopensslserver.cpp:33
gloox::OpenSSLServer::OpenSSLServer
OpenSSLServer(TLSHandler *th)
Definition tlsopensslserver.cpp:28
gloox::TLSHandler
An interface that allows for interacting with TLS implementations derived from TLSBase.
Definition tlshandler.h:35
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28