| 1 | // Copyright (C) 2016 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | // Qt-Security score:significant reason:default |
| 4 | |
| 5 | #ifndef QSSLCIPHER_P_H |
| 6 | #define QSSLCIPHER_P_H |
| 7 | |
| 8 | #include <QtNetwork/private/qtnetworkglobal_p.h> |
| 9 | #include "qsslcipher.h" |
| 10 | |
| 11 | QT_BEGIN_NAMESPACE |
| 12 | |
| 13 | // W A R N I N G |
| 14 | // ------------- |
| 15 | // |
| 16 | // This file is not part of the Qt API. It exists for the convenience |
| 17 | // of the QLibrary class. This header file may change from |
| 18 | // version to version without notice, or even be removed. |
| 19 | // |
| 20 | // We mean it. |
| 21 | // |
| 22 | |
| 23 | class QSslCipherPrivate |
| 24 | { |
| 25 | public: |
| 26 | QSslCipherPrivate() |
| 27 | : isNull(true), supportedBits(0), bits(0), |
| 28 | exportable(false), protocol(QSsl::UnknownProtocol) |
| 29 | { |
| 30 | } |
| 31 | |
| 32 | bool isNull; |
| 33 | QString name; |
| 34 | int supportedBits; |
| 35 | int bits; |
| 36 | QString keyExchangeMethod; |
| 37 | QString authenticationMethod; |
| 38 | QString encryptionMethod; |
| 39 | bool exportable; |
| 40 | QString protocolString; |
| 41 | QSsl::SslProtocol protocol; |
| 42 | }; |
| 43 | |
| 44 | QT_END_NAMESPACE |
| 45 | |
| 46 | #endif // QSSLCIPHER_P_H |
| 47 | |