GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgVerifyResult.h
1
29
#pragma once
30
31
#include "core/GpgFrontendCoreExport.h"
32
#include "core/typedef/GpgTypedef.h"
33
34
namespace
GpgFrontend
{
35
36
class
GPGFRONTEND_CORE_EXPORT
GpgVerifyResult
{
37
public
:
38
[[nodiscard]]
auto
IsGood()
const
-> bool;
39
40
[[nodiscard]]
auto
GetRaw()
const
-> gpgme_verify_result_t;
41
42
[[nodiscard]]
auto
GetSignature()
const
-> std::vector<GpgSignature>;
43
44
explicit
GpgVerifyResult
(gpgme_verify_result_t);
45
46
GpgVerifyResult
();
47
48
virtual
~
GpgVerifyResult
();
49
50
private
:
51
std::shared_ptr<struct _gpgme_op_verify_result> result_ref_ =
nullptr
;
52
};
53
}
// namespace GpgFrontend
GpgFrontend::GpgVerifyResult
Definition:
GpgVerifyResult.h:36
GpgFrontend
Definition:
app.cpp:39
src
core
model
GpgVerifyResult.h
Generated by
1.9.1