GpgDecryptResultAnalyse.h
#ifndef GPGFRONTEND_GPGDECRYPTRESULTANALYSE_H
#define GPGFRONTEND_GPGDECRYPTRESULTANALYSE_H
#include "GpgResultAnalyse.h"
#include "core/GpgConstants.h"
namespace GpgFrontend {
class GPGFRONTEND_CORE_EXPORT GpgDecryptResultAnalyse
: public GpgResultAnalyse {
public:
explicit GpgDecryptResultAnalyse(GpgError m_error, GpgDecrResult m_result);
protected:
void do_analyse() final;
private:
void print_recipient(std::stringstream &stream, gpgme_recipient_t recipient);
GpgError error_;
GpgDecrResult result_;
};
} // namespace GpgFrontend
#endif // GPGFRONTEND_GPGDECRYPTRESULTANALYSE_H
GpgFrontend::GpgDecryptResultAnalyse::print_recipient
void print_recipient(std::stringstream &stream, gpgme_recipient_t recipient)
Definition: GpgDecryptResultAnalyse.cpp:75
GpgFrontend
Definition: CoreCommonUtil.cpp:29
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::GpgDecryptResultAnalyse::GpgDecryptResultAnalyse
GpgDecryptResultAnalyse(GpgError m_error, GpgDecrResult m_result)
Construct a new Decrypt Result Analyse object.
Definition: GpgDecryptResultAnalyse.cpp:33
GpgFrontend::GpgKeyGetter::GetKey
GpgKey GetKey(const std::string &id, bool use_cache=true)
Get the Key object.
Definition: GpgKeyGetter.cpp:47
GpgFrontend::GpgResultAnalyse
Definition: GpgResultAnalyse.h:37
GpgFrontend::GpgDecryptResultAnalyse
Definition: GpgDecryptResultAnalyse.h:41
GpgFrontend::GpgKey::GetName
std::string GetName() const
Definition: GpgKey.cpp:56