diff options
author | Jeremy Lainé <jeremy.laine@m4x.org> | 2014-08-23 12:46:05 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@digia.com> | 2014-08-24 06:01:05 +0200 |
commit | 4040bc21ab09408cb6f188c4c747fb55499d9f5c (patch) | |
tree | 756a57c1a0f7590082d55e9d76467991bf375bbc /src/network/ssl/qsslcertificate_p.h | |
parent | 2d0072b0b3992b82385c72c2dad7e754d35e0bf7 (diff) |
Added QAsn1Element
This element can be used for backends that do not offer all the
information that is needed when implementing a ssl certificate backend.
WinRT and the SecureTransport lack functionality in this area for
example.
The sources and tests are added for ssl and openssl configurations in order
to be tested. The condition for adding these can be changed as soon
as they are used by an actual implementation
Change-Id: I2b836133105afdc178bf3b1ee7d732bea069effa
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/network/ssl/qsslcertificate_p.h')
-rw-r--r-- | src/network/ssl/qsslcertificate_p.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/ssl/qsslcertificate_p.h b/src/network/ssl/qsslcertificate_p.h index 4bee9edcb9..0eeff0db41 100644 --- a/src/network/ssl/qsslcertificate_p.h +++ b/src/network/ssl/qsslcertificate_p.h @@ -99,9 +99,18 @@ public: QDateTime notValidAfter; QDateTime notValidBefore; +#ifdef QT_NO_OPENSSL + bool subjectMatchesIssuer; + QSsl::KeyAlgorithm publicKeyAlgorithm; + QByteArray publicKeyDerData; + QMultiMap<QSsl::AlternativeNameEntryType, QString> subjectAlternativeNames; + + QByteArray derData; +#endif X509 *x509; void init(const QByteArray &data, QSsl::EncodingFormat format); + bool parse(const QByteArray &data); static QByteArray asn1ObjectId(ASN1_OBJECT *object); static QByteArray asn1ObjectName(ASN1_OBJECT *object); |