diff options
Diffstat (limited to 'src/core/function/gpg/GpgFileOpera.h')
-rw-r--r-- | src/core/function/gpg/GpgFileOpera.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/function/gpg/GpgFileOpera.h b/src/core/function/gpg/GpgFileOpera.h index 73649d47..f0880dc1 100644 --- a/src/core/function/gpg/GpgFileOpera.h +++ b/src/core/function/gpg/GpgFileOpera.h @@ -66,6 +66,19 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera const GpgOperationCallback& cb); /** + * @brief + * + * @param keys + * @param in_path + * @param ascii + * @param out_path + * @param cb + */ + void EncryptDirectory(KeyArgsList keys, const std::filesystem::path& in_path, + bool ascii, const std::filesystem::path& out_path, + const GpgOperationCallback& cb); + + /** * @brief Encrypted file symmetrically (with password) * * @param in_path @@ -91,6 +104,17 @@ class GPGFRONTEND_CORE_EXPORT GpgFileOpera const GpgOperationCallback& cb); /** + * @brief + * + * @param in_path + * @param out_path + * @param cb + */ + void DecryptArchive(const std::filesystem::path& in_path, + const std::filesystem::path& out_path, + const GpgOperationCallback& cb); + + /** * @brief Sign file with private key * * @param keys |