From 1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc Mon Sep 17 00:00:00 2001 From: Saturneric Date: Fri, 3 Dec 2021 05:35:16 +0800 Subject: Fixed. 1. Fixed known issue in File Operations. --- src/gpg/function/GpgFileOpera.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gpg/function/GpgFileOpera.h') diff --git a/src/gpg/function/GpgFileOpera.h b/src/gpg/function/GpgFileOpera.h index 5b467357..4aaf09f1 100644 --- a/src/gpg/function/GpgFileOpera.h +++ b/src/gpg/function/GpgFileOpera.h @@ -33,17 +33,18 @@ namespace GpgFrontend { class GpgFileOpera : public SingletonFunctionObject { public: - static GpgError EncryptFile(KeyArgsList&& keys, const std::string& path, + static GpgError EncryptFile(KeyListPtr keys, const std::string& path, GpgEncrResult& result); static GpgError DecryptFile(const std::string& path, GpgDecrResult& result); - static GpgError SignFile(KeyArgsList&& keys, const std::string& path, + static GpgError SignFile(KeyListPtr keys, const std::string& path, GpgSignResult& result); static GpgError VerifyFile(const std::string& path, GpgVerifyResult& result); - static GpgError EncryptSignFile(KeyArgsList&& keys, const std::string& path, + static GpgError EncryptSignFile(KeyListPtr keys, KeyListPtr signer_keys, + const std::string& path, GpgEncrResult& encr_res, GpgSignResult& sign_res); -- cgit v1.2.3