aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/utils/GpgUtils.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-01-27 18:59:29 +0000
committersaturneric <[email protected]>2025-01-27 18:59:29 +0000
commitfb2e47db7b8cd5ca7aac9c0ee1ca8b58ada0158f (patch)
tree6ea9a200bdc9dfe4dfe5b0e97c841d99e303ee66 /src/core/utils/GpgUtils.h
parentfeat: upgrade gnupg info gathering module to v1.2.1 (diff)
downloadGpgFrontend-fb2e47db7b8cd5ca7aac9c0ee1ca8b58ada0158f.tar.gz
GpgFrontend-fb2e47db7b8cd5ca7aac9c0ee1ca8b58ada0158f.zip
refactor: reduce code duplication
Diffstat (limited to 'src/core/utils/GpgUtils.h')
-rw-r--r--src/core/utils/GpgUtils.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/utils/GpgUtils.h b/src/core/utils/GpgUtils.h
index ab0c328f..89f3720a 100644
--- a/src/core/utils/GpgUtils.h
+++ b/src/core/utils/GpgUtils.h
@@ -147,4 +147,13 @@ auto GPGFRONTEND_CORE_EXPORT GetGpgKeyDatabaseInfos() -> QList<KeyDatabaseInfo>;
*/
auto GPGFRONTEND_CORE_EXPORT GetGpgKeyDatabaseName(int channel) -> QString;
+/**
+ * @brief
+ *
+ * @param keys
+ * @return QContainer<gpgme_key_t>
+ */
+auto GPGFRONTEND_CORE_EXPORT Convert2RawGpgMEKeyList(
+ const QContainer<GpgKey>& keys) -> QContainer<gpgme_key_t>;
+
} // namespace GpgFrontend \ No newline at end of file