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;
Definition: GpgTOFUInfo.h:39
GpgTOFUInfo(const GpgTOFUInfo &)=delete
Construct a new Gpg T O F U Info object.
GpgTOFUInfo & operator=(const GpgTOFUInfo &)=delete
GpgTOFUInfo()
Construct a new Gpg T O F U Info object.
Definition: CoreCommonUtil.cpp:29