31 #include "GpgKeySignature.h"
32 #include "GpgTOFUInfo.h"
39 class GPGFRONTEND_CORE_EXPORT
GpgUID {
46 [[nodiscard]]
auto GetName()
const -> QString;
53 [[nodiscard]]
auto GetEmail()
const -> QString;
60 [[nodiscard]]
auto GetComment()
const -> QString;
67 [[nodiscard]]
auto GetUID()
const -> QString;
75 [[nodiscard]]
auto GetRevoked()
const -> bool;
83 [[nodiscard]]
auto GetInvalid()
const -> bool;
90 [[nodiscard]]
auto GetTofuInfos()
const
91 -> std::unique_ptr<std::vector<GpgTOFUInfo>>;
98 [[nodiscard]]
auto GetSignatures()
const
99 -> std::unique_ptr<std::vector<GpgKeySignature>>;
112 explicit GpgUID(gpgme_user_id_t uid);
143 using UidRefHandler =
144 std::unique_ptr<
struct _gpgme_user_id,
145 std::function<void(gpgme_user_id_t)>>;
147 UidRefHandler uid_ref_ = nullptr;
GpgUID()
Construct a new Gpg U I D object.
GpgUID(const GpgUID &)=delete
Construct a new Gpg U I D object.
auto operator=(const GpgUID &) -> GpgUID &=delete
auto operator=(GpgUID &&o) noexcept -> GpgUID &