13 #include <QNetworkReply>
14 #include <QScopedPointer>
15 #include <QSslCertificate>
19 class test_StateCheckRefreshAddress;
29 friend class ::test_StateCheckRefreshAddress;
34 QPointer<QNetworkReply> mReply;
37 bool mCertificateFetched;
38 QVector<QUrl> mVerifiedRefreshUrlHosts;
40 bool isMatchingSameOriginPolicyInDevMode()
const;
41 virtual void run()
override;
43 QUrl determineSubjectUrl();
45 void sendGetRequest();
46 void fetchServerCertificate();
47 bool checkSslConnectionAndSaveCertificate(
const QSslConfiguration& pSslConfiguration);
49 void reportCommunicationError(
const GlobalStatus& pStatus);
52 void onSslHandshakeDone();
53 void onNetworkReply();
54 void onSslErrors(
const QList<QSslError>& errors);
55 void onSslHandshakeDoneFetchingServerCertificate();
56 void onNetworkErrorFetchingServerCertificate(QNetworkReply::NetworkError pError);
Definition: GlobalStatus.h:18
Definition: AbstractGenericState.h:21
Definition: StateCheckRefreshAddress.h:24
Definition: StateBuilder.h:17