summaryrefslogtreecommitdiffstats
path: root/src/network/ssl/qasn1element_p.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2014-09-03 11:41:22 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2014-09-05 14:20:44 +0200
commit070fcf9ce1ef3c2912bd15f1f39db9740cc754c6 (patch)
tree3447d1878ad60d451f247f2cbb18964dc0000cc9 /src/network/ssl/qasn1element_p.h
parent2e667c9171f141c6ee0a279aae4479d4414c99f3 (diff)
ssl: common certificate parser support for extensions
This makes non-OpenSSL backends able to handle to certificate extensions. This also converts the Q_OS_WINRT #ifdef's in the unit test to QT_NO_OPENSSL as the behavior is the same for any non-OpenSSL backend. Change-Id: I6a8306dc5c97a659ec96063d5a59cee2ee9a63a9 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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/network/ssl/qasn1element_p.h b/src/network/ssl/qasn1element_p.h
index b4445dacfd..36a7c90de3 100644
--- a/src/network/ssl/qasn1element_p.h
+++ b/src/network/ssl/qasn1element_p.h
@@ -59,6 +59,9 @@
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")
+
class Q_AUTOTEST_EXPORT QAsn1Element
{
public:
@@ -78,10 +81,6 @@ public:
SequenceType = 0x30,
SetType = 0x31,
- // application
- Rfc822NameType = 0x81,
- DnsNameType = 0x82,
-
// context specific
Context0Type = 0xA0,
Context3Type = 0xA3