diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-07-27 08:17:55 -0700 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-07-31 09:08:47 +0000 |
commit | 76ce564674439ea05c35aadc149c86fdbd844d7f (patch) | |
tree | 377e7b0926f7c42a3c3910a8884dca985af3ddc1 /src/network/ssl/qasn1element_p.h | |
parent | 0aedca2f9756fa33420fb6b3f003f364424f9134 (diff) |
ssl: add support for EC keys to non-OpenSSL backends
Adds basic support for QSslKey reading / writing Elliptic Curve keys on
backends other than OpenSSL (i.e. WinRT / SecureTransport for now).
Change-Id: I67012dbe6b844a3ed5b22b63e0cdbacf0497a74a
Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/ssl/qasn1element_p.h')
-rw-r--r-- | src/network/ssl/qasn1element_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/ssl/qasn1element_p.h b/src/network/ssl/qasn1element_p.h index 68acbe33ee..e58b974661 100644 --- a/src/network/ssl/qasn1element_p.h +++ b/src/network/ssl/qasn1element_p.h @@ -53,6 +53,7 @@ QT_BEGIN_NAMESPACE #define RSA_ENCRYPTION_OID QByteArrayLiteral("1.2.840.113549.1.1.1") #define DSA_ENCRYPTION_OID QByteArrayLiteral("1.2.840.10040.4.1") +#define EC_ENCRYPTION_OID QByteArrayLiteral("1.2.840.10045.2.1") class Q_AUTOTEST_EXPORT QAsn1Element { @@ -80,6 +81,7 @@ public: // context specific Context0Type = 0xA0, + Context1Type = 0xA1, Context3Type = 0xA3 }; |