mumble/src/SSL.h
2017-01-08 21:05:57 +01:00

24 lines
676 B
C++

// Copyright 2005-2017 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 <QString>
#include <QList>
#include <QSslCipher>
class MumbleSSL {
public:
static void initialize();
static void qsslSanityCheck();
static QString defaultOpenSSLCipherString();
static QList<QSslCipher> ciphersFromOpenSSLCipherString(QString cipherString);
static void addSystemCA();
static QString protocolToString(QSsl::SslProtocol protocol);
};
#endif