GpgVerifyResultAnalyse.h
#ifndef GPGFRONTEND_GPGVERIFYRESULTANALYSE_H
#define GPGFRONTEND_GPGVERIFYRESULTANALYSE_H
#include "GpgResultAnalyse.h"
#include "core/model/GpgKeySignature.h"
namespace GpgFrontend {
class GPGFRONTEND_CORE_EXPORT GpgVerifyResultAnalyse : public GpgResultAnalyse {
public:
explicit GpgVerifyResultAnalyse(GpgError error, GpgVerifyResult result);
gpgme_signature_t GetSignatures() const;
GpgVerifyResult TakeChargeOfResult();
private:
void do_analyse();
private:
bool print_signer(std::stringstream &stream, gpgme_signature_t sign);
GpgError error_;
GpgVerifyResult result_;
};
} // namespace GpgFrontend
#endif // GPGFRONTEND_GPGVERIFYRESULTANALYSE_H
GpgFrontend::beautify_fingerprint
GPGFRONTEND_CORE_EXPORT std::string beautify_fingerprint(BypeArrayConstRef fingerprint)
Definition: GpgConstants.cpp:90
GpgFrontend::GpgVerifyResultAnalyse::GpgVerifyResultAnalyse
GpgVerifyResultAnalyse(GpgError error, GpgVerifyResult result)
Construct a new Verify Result Analyse object.
Definition: GpgVerifyResultAnalyse.cpp:37
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::GpgVerifyResultAnalyse
Definition: GpgVerifyResultAnalyse.h:40
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::GpgVerifyResultAnalyse::print_signer
bool print_signer(std::stringstream &stream, gpgme_signature_t sign)
Definition: GpgVerifyResultAnalyse.cpp:176
GpgFrontend::GpgVerifyResultAnalyse::GetSignatures
gpgme_signature_t GetSignatures() const
Get the Signatures object.
Definition: GpgVerifyResultAnalyse.cpp:206
GpgFrontend::GpgVerifyResultAnalyse::TakeChargeOfResult
GpgVerifyResult TakeChargeOfResult()
Definition: GpgVerifyResultAnalyse.cpp:213