blob: c3ffbca4e0c5b34028b1da9e28282e6a153acc62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (C) 2018 Ford Motor Company
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef SSLSERVER_H
#define SSLSERVER_H
#include <QTcpServer>
QT_BEGIN_NAMESPACE
class QSslSocket;
QT_END_NAMESPACE
class SslServer : public QTcpServer
{
Q_OBJECT
public:
SslServer(QObject *parent=nullptr);
void incomingConnection(qintptr socketDescriptor) override;
signals:
void encryptedSocketReady(QSslSocket *socket);
};
#endif // SSLSERVER_H
|