aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/GpgUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/utils/GpgUtils.h')
-rw-r--r--src/core/utils/GpgUtils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/utils/GpgUtils.h b/src/core/utils/GpgUtils.h
index 7710f56e..b453cc0a 100644
--- a/src/core/utils/GpgUtils.h
+++ b/src/core/utils/GpgUtils.h
@@ -157,4 +157,20 @@ auto GPGFRONTEND_CORE_EXPORT GetGpgKeyDatabaseName(int channel) -> QString;
auto GPGFRONTEND_CORE_EXPORT Convert2RawGpgMEKeyList(
const QContainer<GpgKey>& keys) -> QContainer<gpgme_key_t>;
+/**
+ * @brief
+ *
+ * @param key
+ * @return QString
+ */
+auto GPGFRONTEND_CORE_EXPORT GetUsagesByKey(const GpgKey& key) -> QString;
+
+/**
+ * @brief
+ *
+ * @param key
+ * @return QString
+ */
+auto GPGFRONTEND_CORE_EXPORT GetUsagesBySubkey(const GpgSubKey& key) -> QString;
+
} // namespace GpgFrontend \ No newline at end of file