QSslEllipticCurve Class

Represents an elliptic curve for use by elliptic-curve cipher algorithms. More...

Header: #include <QSslEllipticCurve>
qmake: QT += network
Since: Qt 5.5

Note: All functions in this class are reentrant.

Public Functions

QSslEllipticCurve()
bool isTlsNamedCurve() const
bool isValid() const
QString longName() const
QString shortName() const

Static Public Members

QSslEllipticCurve fromLongName(const QString &name)
QSslEllipticCurve fromShortName(const QString &name)
QDebug operator<<(QDebug debug, QSslEllipticCurve curve)

Detailed Description

Represents an elliptic curve for use by elliptic-curve cipher algorithms.

The class QSslEllipticCurve represents an elliptic curve for use by elliptic-curve cipher algorithms.

Elliptic curves can be constructed from a "short name" (SN) (fromShortName()), and by a call to QSslConfiguration::supportedEllipticCurves().

QSslEllipticCurve instances can be compared for equality and can be used as keys in QHash and QSet. They cannot be used as key in a QMap.

Member Function Documentation

QSslEllipticCurve::QSslEllipticCurve()

Default constructs an instance of QSslEllipticCurve.

[static] QSslEllipticCurve QSslEllipticCurve::fromLongName(const QString &name)

[static] QSslEllipticCurve QSslEllipticCurve::fromShortName(const QString &name)

bool QSslEllipticCurve::isTlsNamedCurve() const

bool QSslEllipticCurve::isValid() const

QString QSslEllipticCurve::longName() const

QString QSslEllipticCurve::shortName() const

Related Non-Members

QDebug operator<<(QDebug debug, QSslEllipticCurve curve)

Writes the elliptic curve curve into the debug object debug for debugging purposes.

This function was introduced in Qt 5.5.

See also Debugging Techniques.