16#include <QNetworkReply>
17#include <QSharedPointer>
18#include <QSslCertificate>
22class test_StateCheckRefreshAddress;
33 friend class ::test_StateCheckRefreshAddress;
36 QSharedPointer<QNetworkReply> mReply;
39 bool mCertificateFetched;
40 QVector<QUrl> mVerifiedRefreshUrlHosts;
44 [[nodiscard]]
bool isMatchingSameOriginPolicyInDevMode()
const;
47 QUrl determineSubjectUrl();
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;
Definition AbstractState.h:23
Reason
Definition FailureCode.h:26
Definition GenericContextContainer.h:22
Definition GlobalStatus.h:22
Definition StateBuilder.h:20
Definition StateCheckRefreshAddress.h:30
void onExit(QEvent *pEvent) override
Definition StateCheckRefreshAddress.cpp:442
void onEntry(QEvent *pEvent) override
Definition StateCheckRefreshAddress.cpp:434
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16