27class StateCheckRefreshAddress
33 friend class ::test_StateCheckRefreshAddress;
36 QSharedPointer<QNetworkReply> mReply;
39 bool mCertificateFetched;
40 QList<QUrl> mVerifiedRefreshUrlHosts;
42 explicit StateCheckRefreshAddress(
const QSharedPointer<WorkflowContext>& pContext);
44 [[nodiscard]]
bool isMatchingSameOriginPolicyInDevMode()
const;
47 QUrl determineSubjectUrl()
const;
49 void sendGetRequest();
50 void fetchServerCertificate();
51 bool checkSslConnectionAndSaveCertificate(
const QSslConfiguration& pSslConfiguration);
56 void onSslHandshakeDone();
57 void onNetworkReply();
58 void onSslErrors(
const QList<QSslError>& errors);
59 void onSslHandshakeDoneFetchingServerCertificate();
60 void onNetworkErrorFetchingServerCertificate(QNetworkReply::NetworkError pError);
63 void onEntry(QEvent* pEvent)
override;
64 void onExit(QEvent* pEvent)
override;
GenericContextContainer(const QSharedPointer< WorkflowContext > &pContext)
Definition GenericContextContainer.h:27