22 lines
547 B
C++
22 lines
547 B
C++
#ifndef EETV4SIGNER_H
|
|
#define EETV4SIGNER_H
|
|
|
|
#include <QByteArray>
|
|
#include <QString>
|
|
|
|
#include "eetcpp_global.h"
|
|
|
|
class EETCPPSHARED_EXPORT EetV4Signer
|
|
{
|
|
public:
|
|
static QByteArray signSoap(const QByteArray &unsignedSoap,
|
|
const QString &pkcs12Path,
|
|
const QByteArray &pkcs12Password,
|
|
QString *error = nullptr);
|
|
|
|
static bool verifySoap(const QByteArray &signedSoap,
|
|
QString *error = nullptr);
|
|
};
|
|
|
|
#endif // EETV4SIGNER_H
|