Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SSL.h « src - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/SSL.h
blob: 7f4b5703b343c74423ad9ecde43978961ef32dbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2005-2020 The Mumble Developers. All rights reserved.
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.

#ifndef MUMBLE_SSL_H_
#define MUMBLE_SSL_H_

#include <QList>
#include <QSslCipher>
#include <QString>

class MumbleSSL {
public:
	static void initialize();
	static void destroy();
	static QString defaultOpenSSLCipherString();
	static QList< QSslCipher > ciphersFromOpenSSLCipherString(QString cipherString);
	static void addSystemCA();
	static QString protocolToString(QSsl::SslProtocol protocol);
};

#endif