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
Static Public Members
| QSslEllipticCurve | fromLongName(const QString &name) |
Related Non-Members
| 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.
Note: This class is currently only supported in OpenSSL.
Member Function Documentation
[static] QSslEllipticCurve QSslEllipticCurve::fromLongName(const QString &name)
Returns an QSslEllipticCurve instance representing the named curve name. The name is a long name for the curve, whose exact spelling depends on the SSL implementation.
If the given name is not supported, returns an invalid QSslEllipticCurve instance.
Note: The OpenSSL implementation of this function treats the name case-sensitively.
See also longName().
QString QSslEllipticCurve::longName() const
Returns the conventional long name for this curve. If this curve is invalid, returns an empty string.
See also shortName().
QString QSslEllipticCurve::shortName() const
Returns the conventional short name for this curve. If this curve is invalid, returns an empty string.
See also longName().
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.