You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
416 B
C
25 lines
416 B
C
8 years ago
|
#ifndef EETSIGNER_H
|
||
|
#define EETSIGNER_H
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QByteArray>
|
||
|
#include <Qca-qt5/QtCrypto/QtCrypto>
|
||
|
|
||
|
class EetSigner : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
explicit EetSigner(QObject *parent = 0);
|
||
|
QByteArray signData(const QByteArray &data);
|
||
|
QByteArray sha1HashData(const QByteArray &data);
|
||
|
|
||
|
private:
|
||
|
QCA::Initializer m_qcaInit;
|
||
|
|
||
|
signals:
|
||
|
|
||
|
public slots:
|
||
|
};
|
||
|
|
||
|
#endif // EETSIGNER_H
|