GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef GPGFRONTEND_GPGTOFU_H
30 #define GPGFRONTEND_GPGTOFU_H
32 #include "core/GpgConstants.h"
46 [[nodiscard]]
unsigned GetValidity()
const;
52 [[nodiscard]]
unsigned GetPolicy()
const;
59 [[nodiscard]]
unsigned long GetSignCount()
const;
66 [[nodiscard]]
unsigned long GetEncrCount()
const;
73 [[nodiscard]]
unsigned long GetSignFirst()
const;
80 [[nodiscard]]
unsigned long GetSignLast()
const;
87 [[nodiscard]]
unsigned long GetEncrLast()
const;
94 [[nodiscard]] std::string GetDescription()
const;
138 using SubkeyRefHandler =
139 std::unique_ptr<
struct _gpgme_tofu_info,
140 std::function<void(gpgme_tofu_info_t)>>;
142 SubkeyRefHandler _tofu_info_ref = nullptr;
147 #endif // GPGFRONTEND_GPGTOFU_H
GpgTOFUInfo()
Construct a new Gpg T O F U Info object.
GpgTOFUInfo & operator=(GpgTOFUInfo &&o) noexcept
Definition: GpgTOFUInfo.cpp:40
unsigned GetPolicy() const
Definition: GpgTOFUInfo.cpp:50
Definition: CoreCommonUtil.cpp:29
std::string GetDescription() const
Definition: GpgTOFUInfo.cpp:89
Definition: GpgTOFUInfo.h:39
unsigned long GetEncrLast() const
Definition: GpgTOFUInfo.cpp:80
unsigned long GetSignLast() const
Definition: GpgTOFUInfo.cpp:71
unsigned long GetSignFirst() const
Definition: GpgTOFUInfo.cpp:62
unsigned GetValidity() const
Definition: GpgTOFUInfo.cpp:46
unsigned long GetEncrCount() const
Definition: GpgTOFUInfo.cpp:58
unsigned long GetSignCount() const
Definition: GpgTOFUInfo.cpp:54