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