15#include <QNetworkReply>
16#include <QNetworkRequest>
18#include <QSharedPointer>
35 void startDownloadIfPending();
42 void onMetadataChanged();
43 void onNetworkReplyFinished();
Definition Downloader.h:26
~Downloader() override
Definition Downloader.cpp:149
Downloader()
Definition Downloader.cpp:142
void fireDownloadProgress(const QUrl &pUpdateUrl, qint64 pBytesReceived, qint64 pBytesTotal)
void fireDownloadUnnecessary(const QUrl &pUpdateUrl)
virtual void download(const QUrl &pUpdateUrl, const QDateTime &pCurrentTimestamp=QDateTime())
Definition Downloader.cpp:190
bool abort(const QUrl &pUpdateUrl)
Definition Downloader.cpp:159
void fireDownloadSuccess(const QUrl &pUpdateUrl, const QDateTime &pNewTimestamp, const QByteArray &pData)
void fireDownloadFailed(const QUrl &pUpdateUrl, GlobalStatus::Code pErrorCode)
Code
Definition GlobalStatus.h:30
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114