22class StateCheckRefreshAddress
28 friend class ::test_StateCheckRefreshAddress;
31 QSharedPointer<QNetworkReply> mReply;
34 bool mCertificateFetched;
35 QList<QUrl> mVerifiedRefreshUrlHosts;
37 explicit StateCheckRefreshAddress(
const QSharedPointer<WorkflowContext>& pContext);
39 [[nodiscard]]
bool isMatchingSameOriginPolicyInDevMode()
const;
42 QUrl determineSubjectUrl()
const;
44 void sendGetRequest();
45 void fetchServerCertificate();
46 bool checkSslConnectionAndSaveCertificate(
const QSslConfiguration& pSslConfiguration);
48 void reportCommunicationError(
const GlobalStatus& pStatus,
const FailureCode& pFailure);
51 void onSslHandshakeDone();
52 void onNetworkReply();
53 void onSslErrors(
const QList<QSslError>& errors);
54 void onSslHandshakeDoneFetchingServerCertificate();
55 void onNetworkErrorFetchingServerCertificate(QNetworkReply::NetworkError pError);
58 void onEntry(QEvent* pEvent)
override;
59 void onExit(QEvent* pEvent)
override;
GenericContextContainer(const QSharedPointer< WorkflowContext > &pContext)
Definition GenericContextContainer.h:20