summaryrefslogtreecommitdiff
path: root/src/network/ssl/qsslsocket.h
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2019-01-16 14:43:09 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2019-01-23 17:02:40 +0000
commite649c4143e37591d5e32ca0b6abb1487cfea4c86 (patch)
treeabd8cab09913caeb9cf1ef4b5803bc3c4df9e6ff /src/network/ssl/qsslsocket.h
parent237c3972fd8869698cea69ff57f751c982bec487 (diff)
downloadqtbase-e649c4143e37591d5e32ca0b6abb1487cfea4c86.tar.gz
Add class QOcspResponse, providing a bit more details
about why a certificate was revoked (if it was) and the responder's certificate, if we managed to verify a signature, as was previously shortly discussed in the 'OCSP stapling' patch-set. Auto-test update will be in a separate patch. [ChangeLog][QtNetwork][Ssl] Added class QOcspResponse as a part of OCSP stapling support. Change-Id: I4e17fb6fc4c3dae0b8ad04ff2897a4823736d16e Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket.h')
-rw-r--r--src/network/ssl/qsslsocket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket.h b/src/network/ssl/qsslsocket.h
index cf68aeeaf0..8dfb9f2018 100644
--- a/src/network/ssl/qsslsocket.h
+++ b/src/network/ssl/qsslsocket.h
@@ -60,6 +60,7 @@ class QSslCertificate;
class QSslConfiguration;
class QSslEllipticCurve;
class QSslPreSharedKeyAuthenticator;
+class QOcspResponse;
class QSslSocketPrivate;
class Q_NETWORK_EXPORT QSslSocket : public QTcpSocket
@@ -142,6 +143,7 @@ public:
QList<QSslCertificate> peerCertificateChain() const;
QSslCipher sessionCipher() const;
QSsl::SslProtocol sessionProtocol() const;
+ QOcspResponse ocspResponse() const;
// Private keys, for server sockets.
void setPrivateKey(const QSslKey &key);