diff options
author | Richard J. Moore <rich@kde.org> | 2015-01-31 15:03:47 +0000 |
---|---|---|
committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-02-04 15:49:50 +0000 |
commit | 91a48160d62e6c2fd7e0e1d6739048a3401621b9 (patch) | |
tree | 4706c01555a9f41651b6df53d2b9034145fad711 /src/network/ssl/qasn1element_p.h | |
parent | 3bc5f8c08107bcf8b5c274411850a67aed92372d (diff) |
Move Rfc822NameType, DnsNameType and UniformResourceIdentifierType.
Move these types to QAsn1Element so that they can use the toString()
method which guards against malicious ASN.1.
Change-Id: I7d6155147a6fc2d41da6f3ae87551b6cb75aa9ce
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Reviewed-by: Daniel Molkentin <daniel@molkentin.de>
Diffstat (limited to 'src/network/ssl/qasn1element_p.h')
-rw-r--r-- | src/network/ssl/qasn1element_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/ssl/qasn1element_p.h b/src/network/ssl/qasn1element_p.h index 36a7c90de3..c6c4a75d13 100644 --- a/src/network/ssl/qasn1element_p.h +++ b/src/network/ssl/qasn1element_p.h @@ -81,6 +81,11 @@ public: SequenceType = 0x30, SetType = 0x31, + // GeneralNameTypes + Rfc822NameType = 0x81, + DnsNameType = 0x82, + UniformResourceIdentifierType = 0x86, + // context specific Context0Type = 0xA0, Context3Type = 0xA3 |