aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/gpg/GpgKeyImportExporter.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-04-15 23:19:53 +0000
committersaturneric <[email protected]>2025-04-15 23:19:53 +0000
commit73a0f7ddf8a8db0057201374f1518d2063ad9a06 (patch)
tree4dfdf140fa639f0ab8799433c4d9cf5079a92bf0 /src/core/function/gpg/GpgKeyImportExporter.h
parentrefactor: code cleanup (diff)
downloadGpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.tar.gz
GpgFrontend-73a0f7ddf8a8db0057201374f1518d2063ad9a06.zip
feat: support key groups
Diffstat (limited to 'src/core/function/gpg/GpgKeyImportExporter.h')
-rw-r--r--src/core/function/gpg/GpgKeyImportExporter.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/function/gpg/GpgKeyImportExporter.h b/src/core/function/gpg/GpgKeyImportExporter.h
index cc7b3f6f..4f938cb7 100644
--- a/src/core/function/gpg/GpgKeyImportExporter.h
+++ b/src/core/function/gpg/GpgKeyImportExporter.h
@@ -68,9 +68,9 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyImportExporter
* @param ascii
* @return std::tuple<GpgError, GFBuffer>
*/
- [[nodiscard]] auto ExportKey(const GpgKey& key, bool secret, bool ascii,
- bool shortest, bool ssh_mode = false) const
- -> std::tuple<GpgError, GFBuffer>;
+ [[nodiscard]] auto ExportKey(
+ const GpgAbstractKeyPtr& key, bool secret, bool ascii, bool shortest,
+ bool ssh_mode = false) const -> std::tuple<GpgError, GFBuffer>;
/**
* @brief
@@ -91,7 +91,7 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyImportExporter
* @return true
* @return false
*/
- void ExportKeys(const KeyArgsList& keys, bool secret, bool ascii,
+ void ExportKeys(const GpgAbstractKeyPtrList& keys, bool secret, bool ascii,
bool shortest, bool ssh_mode,
const GpgOperationCallback& cb) const;
@@ -103,7 +103,7 @@ class GPGFRONTEND_CORE_EXPORT GpgKeyImportExporter
* @param ascii
* @param cb
*/
- void ExportAllKeys(const KeyArgsList& keys, bool secret, bool ascii,
+ void ExportAllKeys(const GpgAbstractKeyPtrList& keys, bool secret, bool ascii,
const GpgOperationCallback& cb) const;
private: