33 #include "core/GpgFrontendCoreExport.h"
48 [[nodiscard]]
auto GetID()
const -> QString;
55 [[nodiscard]]
auto GetFingerprint()
const -> QString;
62 [[nodiscard]]
auto GetPubkeyAlgo()
const -> QString;
69 [[nodiscard]]
auto GetKeyAlgo()
const -> QString;
76 [[nodiscard]]
auto GetKeyLength()
const ->
unsigned int;
84 [[nodiscard]]
auto IsHasEncryptionCapability()
const -> bool;
92 [[nodiscard]]
auto IsHasSigningCapability()
const -> bool;
100 [[nodiscard]]
auto IsHasCertificationCapability()
const -> bool;
108 [[nodiscard]]
auto IsHasAuthenticationCapability()
const -> bool;
116 [[nodiscard]]
auto IsPrivateKey()
const -> bool;
124 [[nodiscard]]
auto IsExpired()
const -> bool;
132 [[nodiscard]]
auto IsRevoked()
const -> bool;
140 [[nodiscard]]
auto IsDisabled()
const -> bool;
148 [[nodiscard]]
auto IsSecretKey()
const -> bool;
156 [[nodiscard]]
auto IsCardKey()
const -> bool;
163 [[nodiscard]]
auto GetCreateTime()
const -> QDateTime;
170 [[nodiscard]] QDateTime GetExpireTime()
const;
183 explicit GpgSubKey(gpgme_subkey_t subkey);
220 auto operator==(
const GpgSubKey& o)
const -> bool;
223 using SubkeyRefHandler =
224 std::unique_ptr<
struct _gpgme_subkey,
225 std::function<void(gpgme_subkey_t)>>;
227 SubkeyRefHandler subkey_ref_ = nullptr;
Definition: GpgSubKey.h:41
GpgSubKey()
Construct a new Gpg Sub Key object.
GpgSubKey(const GpgSubKey &)=delete
Construct a new Gpg Sub Key object.
auto operator=(const GpgSubKey &) -> GpgSubKey &=delete