4#ifndef QSSLELLIPTICCURVE_H
5#define QSSLELLIPTICCURVE_H
7#include <QtNetwork/qtnetworkglobal.h>
8#include <QtCore/QString>
9#include <QtCore/QMetaType>
10#include <QtCore/qhashfunctions.h>
42 {
return lhs.id == rhs.id; }
44 {
return !(lhs == rhs); }
56#ifndef QT_NO_DEBUG_STREAM
Represents an elliptic curve for use by elliptic-curve cipher algorithms.
friend constexpr bool operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) noexcept
Q_NETWORK_EXPORT QString shortName() const
Returns the conventional short name for this curve.
constexpr QSslEllipticCurve() noexcept
Constructs an invalid elliptic curve.
static Q_NETWORK_EXPORT QSslEllipticCurve fromShortName(const QString &name)
Returns an QSslEllipticCurve instance representing the named curve name.
Q_NETWORK_EXPORT bool isTlsNamedCurve() const noexcept
Returns true if this elliptic curve is one of the named curves that can be used in the key exchange w...
static Q_NETWORK_EXPORT QSslEllipticCurve fromLongName(const QString &name)
Returns an QSslEllipticCurve instance representing the named curve name.
constexpr bool isValid() const noexcept
Returns true if this elliptic curve is a valid curve, false otherwise.
Q_NETWORK_EXPORT QString longName() const
Returns the conventional long name for this curve.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
Q_NETWORK_EXPORT QDebug operator<<(QDebug debug, QSslEllipticCurve curve)
constexpr size_t qHash(QSslEllipticCurve curve, size_t seed=0) noexcept
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)