14#include <QNetworkReply>
15#include <QSharedPointer>
16#include <QSslCertificate>
20class test_StateCheckRefreshAddress;
31 friend class ::test_StateCheckRefreshAddress;
34 QSharedPointer<QNetworkReply> mReply;
37 bool mCertificateFetched;
38 QVector<QUrl> mVerifiedRefreshUrlHosts;
42 [[nodiscard]]
bool isMatchingSameOriginPolicyInDevMode()
const;
45 QUrl determineSubjectUrl();
47 void sendGetRequest();
48 void fetchServerCertificate();
49 bool checkSslConnectionAndSaveCertificate(
const QSslConfiguration& pSslConfiguration);
51 void reportCommunicationError(
const GlobalStatus& pStatus);
54 void onSslHandshakeDone();
55 void onNetworkReply();
56 void onSslErrors(
const QList<QSslError>& errors);
57 void onSslHandshakeDoneFetchingServerCertificate();
58 void onNetworkErrorFetchingServerCertificate(QNetworkReply::NetworkError pError);
61 void onEntry(QEvent* pEvent)
override;
62 void onExit(QEvent* pEvent)
override;
Definition: AbstractState.h:20
Definition: GenericContextContainer.h:20
Definition: GlobalStatus.h:20
Definition: StateBuilder.h:18
Definition: StateCheckRefreshAddress.h:28
void onExit(QEvent *pEvent) override
Definition: StateCheckRefreshAddress.cpp:415
void onEntry(QEvent *pEvent) override
Definition: StateCheckRefreshAddress.cpp:407
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16