SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
ttest128apdu.h
Go to the documentation of this file.
1 /*
2 * SICAK - SIde-Channel Analysis toolKit
3 * Copyright (C) 2018-2019 Petr Socha, FIT, CTU in Prague
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18 
29 #ifndef TTEST128APDU_H
30 #define TTEST128APDU_H
31 
32 #include <QObject>
33 #include <QtPlugin>
34 #include <QString>
35 #include "measurement.h"
36 #include "exceptions.hpp"
37 
38 
46 class TTest128APDU : public QObject, Measurement {
47 
48  Q_OBJECT
49  Q_PLUGIN_METADATA(IID "cz.cvut.fit.Sicak.MeasurementInterface/1.0" FILE "ttest128apdu.json")
50  Q_INTERFACES(Measurement)
51 
52 public:
53 
54  TTest128APDU();
55  virtual ~TTest128APDU() override;
56 
57  virtual QString getPluginName() override;
58  virtual QString getPluginInfo() override;
59 
60  virtual void init(const char * param) override;
61  virtual void deInit() override;
62 
63  virtual void run(const char * measurementId, size_t measurements, Oscilloscope * oscilloscope, CharDevice * charDevice) override;
64 
65 
66 
67 };
68 
69 #endif /* TTEST128APDU_H */
70 
This header file contains exceptions.
Character device QT plugin interface.
Definition: chardevice.h:42
CPA Measurement scenario plugin: sends N times a command APDU: CLA=0x80, INS=0x60,...
Definition: ttest128apdu.h:46
virtual void init(const char *param) override
Initialize the plugin.
Definition: ttest128apdu.cpp:55
virtual void run(const char *measurementId, size_t measurements, Oscilloscope *oscilloscope, CharDevice *charDevice) override
Run the measurement scenario, given either initialized and configured oscilloscope/charDevice pointer...
Definition: ttest128apdu.cpp:63
Measurement scenario QT plugin interface.
Definition: measurement.h:43
Measurement scenario plugin interface for use e.g. in meas.
virtual QString getPluginInfo() override
Plugin info.
Definition: ttest128apdu.cpp:51
virtual void deInit() override
Deinitialize the plugin.
Definition: ttest128apdu.cpp:59
Oscilloscope QT plugin interface.
Definition: oscilloscope.h:42
virtual QString getPluginName() override
Plugin name.
Definition: ttest128apdu.cpp:47