diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-09-03 11:12:12 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-11-26 22:07:56 +0100 |
commit | ffbfd8eda691be9e6814187015d87dffc2b0d58f (patch) | |
tree | 812f64a370cd4e30771201d821a0d12668b232ee /src/network/ssl/qsslsocket_p.h | |
parent | 153463ea956794053af755c22f6562fff4ed520a (diff) |
SSL: Add support for selecting which curves should be used by an elliptic cipher
[ChangeLog][QtNetwork][QtSSL] It is now possible to choose which elliptic
curves should be used by an elliptic curve cipher.
Change-Id: If5d0d58922768b6f1375836489180e576f5a015a
Done-with: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/ssl/qsslsocket_p.h')
-rw-r--r-- | src/network/ssl/qsslsocket_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_p.h b/src/network/ssl/qsslsocket_p.h index 6e7a2c5520..53f91ee205 100644 --- a/src/network/ssl/qsslsocket_p.h +++ b/src/network/ssl/qsslsocket_p.h @@ -135,6 +135,12 @@ public: static void setDefaultSupportedCiphers(const QList<QSslCipher> &ciphers); static void resetDefaultCiphers(); + static QVector<QSslEllipticCurve> defaultEllipticCurves(); + static QVector<QSslEllipticCurve> supportedEllipticCurves(); + static void setDefaultEllipticCurves(const QVector<QSslEllipticCurve> &curves); + static void setDefaultSupportedEllipticCurves(const QVector<QSslEllipticCurve> &curves); + static void resetDefaultEllipticCurves(); + static QList<QSslCertificate> defaultCaCertificates(); static QList<QSslCertificate> systemCaCertificates(); static void setDefaultCaCertificates(const QList<QSslCertificate> &certs); |