aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgKey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/GpgKey.h')
-rw-r--r--src/core/model/GpgKey.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/core/model/GpgKey.h b/src/core/model/GpgKey.h
index a3fe8396..e2743670 100644
--- a/src/core/model/GpgKey.h
+++ b/src/core/model/GpgKey.h
@@ -123,9 +123,9 @@ class GPGFRONTEND_CORE_EXPORT GpgKey {
auto operator<=(const GpgKey&) const -> bool;
/**
- * @brief
- *
- * @return gpgme_key_t
+ * @brief
+ *
+ * @return gpgme_key_t
*/
// NOLINTNEXTLINE(google-explicit-constructor)
operator gpgme_key_t() const;
@@ -364,6 +364,13 @@ class GPGFRONTEND_CORE_EXPORT GpgKey {
*/
[[nodiscard]] auto GetUIDs() const -> std::unique_ptr<QContainer<GpgUID>>;
+ /**
+ * @brief Get the Primary Key object
+ *
+ * @return GpgSubKey
+ */
+ [[nodiscard]] auto GetPrimaryKey() const -> GpgSubKey;
+
private:
/**
* @brief