summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qsslellipticcurve.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2014-11-24 11:01:17 +0100
committerAndré Klitzing <aklitzing@gmail.com>2015-01-21 10:41:39 +0100
commit2ec2dbed67f8d4af562953f8199856e4ed181523 (patch)
treec14e086f73004c19d2fbea97ba00610f5d8840b7 /src/network/ssl/qsslellipticcurve.cpp
parent309c8042391a6b7365309702e1dbd4b9eb6fcc44 (diff)
QSslEllipticCurve: add fromLongName
Since the conversion to a long name was already there, also support creation from a long name. Change-Id: Iad712db7447fb0a0a18f600b7db54da5b5b87154 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/network/ssl/qsslellipticcurve.cpp')
-rw-r--r--src/network/ssl/qsslellipticcurve.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/network/ssl/qsslellipticcurve.cpp b/src/network/ssl/qsslellipticcurve.cpp
index 7e122557df..d70975591d 100644
--- a/src/network/ssl/qsslellipticcurve.cpp
+++ b/src/network/ssl/qsslellipticcurve.cpp
@@ -92,6 +92,19 @@ QT_BEGIN_NAMESPACE
\sa shortName()
*/
+/*!
+ \fn QSslEllipticCurve QSslEllipticCurve::fromLongName(const QString &name)
+
+ Returns an QSslEllipticCurve instance representing the named curve \a name.
+ The \a name is a long name for the curve, whose exact spelling depends on the
+ SSL implementation.
+
+ If the given \a name is not supported, returns an invalid QSslEllipticCurve instance.
+
+ \note The OpenSSL implementation of this function treats the name case-sensitively.
+
+ \sa longName()
+*/
/*!
\fn QString QSslEllipticCurve::shortName() const