44 [[nodiscard]]
auto GetID()
const -> QString;
51 [[nodiscard]]
auto GetFingerprint()
const -> QString;
58 [[nodiscard]]
auto GetPubkeyAlgo()
const -> QString;
65 [[nodiscard]]
auto GetKeyAlgo()
const -> QString;
72 [[nodiscard]]
auto GetKeyLength()
const ->
unsigned int;
80 [[nodiscard]]
auto IsHasEncryptionCapability()
const -> bool;
88 [[nodiscard]]
auto IsHasSigningCapability()
const -> bool;
96 [[nodiscard]]
auto IsHasCertificationCapability()
const -> bool;
104 [[nodiscard]]
auto IsHasAuthenticationCapability()
const -> bool;
112 [[nodiscard]]
auto IsPrivateKey()
const -> bool;
120 [[nodiscard]]
auto IsExpired()
const -> bool;
128 [[nodiscard]]
auto IsRevoked()
const -> bool;
136 [[nodiscard]]
auto IsDisabled()
const -> bool;
144 [[nodiscard]]
auto IsSecretKey()
const -> bool;
152 [[nodiscard]]
auto IsCardKey()
const -> bool;
159 [[nodiscard]]
auto GetCreateTime()
const -> QDateTime;
166 [[nodiscard]] QDateTime GetExpireTime()
const;
179 explicit GpgSubKey(gpgme_subkey_t subkey);
216 auto operator==(
const GpgSubKey& o)
const -> bool;
219 using SubkeyRefHandler =
220 std::unique_ptr<
struct _gpgme_subkey,
221 std::function<void(gpgme_subkey_t)>>;
223 SubkeyRefHandler subkey_ref_ = nullptr;
Definition: GpgSubKey.h:37
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