GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgVerifyResultAnalyse.h
1
29#ifndef GPGFRONTEND_GPGVERIFYRESULTANALYSE_H
30#define GPGFRONTEND_GPGVERIFYRESULTANALYSE_H
31
32#include "GpgResultAnalyse.h"
33#include "core/model/GpgKeySignature.h"
34
35namespace GpgFrontend {
40class GPGFRONTEND_CORE_EXPORT GpgVerifyResultAnalyse : public GpgResultAnalyse {
41 public:
48 explicit GpgVerifyResultAnalyse(GpgError error, GpgVerifyResult result);
49
55 gpgme_signature_t GetSignatures() const;
56
62 GpgVerifyResult TakeChargeOfResult();
63
64 private:
69 void do_analyse();
70
71 private:
80 bool print_signer(std::stringstream &stream, gpgme_signature_t sign);
81
82 GpgError error_;
83 GpgVerifyResult result_;
84};
85
86} // namespace GpgFrontend
87
88#endif // GPGFRONTEND_GPGVERIFYRESULTANALYSE_H
Definition: GpgResultAnalyse.h:37
Definition: GpgVerifyResultAnalyse.h:40
Definition: CoreCommonUtil.cpp:29