31 #include "core/typedef/GpgTypedef.h"
51 [[nodiscard]]
auto IsRevoked()
const -> bool;
59 [[nodiscard]]
auto IsExpired()
const -> bool;
67 [[nodiscard]]
auto IsInvalid()
const -> bool;
75 [[nodiscard]]
auto IsExportable()
const -> bool;
82 [[nodiscard]]
auto GetStatus()
const ->
GpgError;
89 [[nodiscard]]
auto GetKeyID()
const -> QString;
96 [[nodiscard]]
auto GetPubkeyAlgo()
const -> QString;
103 [[nodiscard]]
auto GetCreateTime()
const -> QDateTime;
110 [[nodiscard]]
auto GetExpireTime()
const -> QDateTime;
117 [[nodiscard]]
auto GetUID()
const -> QString;
124 [[nodiscard]]
auto GetName()
const -> QString;
131 [[nodiscard]]
auto GetEmail()
const -> QString;
138 [[nodiscard]]
auto GetComment()
const -> QString;
186 using KeySignatrueRefHandler =
187 std::unique_ptr<struct _gpgme_key_sig,
188 std::function<
void(gpgme_key_sig_t)>>;
190 KeySignatrueRefHandler signature_ref_ =
nullptr;
Definition: GpgKeySignature.h:43
GpgKeySignature()
Construct a new Gpg Key Signature object.
GpgKeySignature(GpgKeySignature &&) noexcept
Construct a new Gpg Key Signature object.
~GpgKeySignature()
Destroy the Gpg Key Signature object.
gpgme_error_t GpgError
gpgme error
Definition: GpgTypedef.h:42