diff options
author | Saturneric <[email protected]> | 2021-12-02 21:35:16 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-02 21:35:16 +0000 |
commit | 1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc (patch) | |
tree | 58cabfa5c0065632b97823b6e6f068c04f1fa2e9 /src/gpg/function/GpgFileOpera.h | |
parent | Fix and Modified. (diff) | |
download | GpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.tar.gz GpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.zip |
Fixed.
1. Fixed known issue in File Operations.
Diffstat (limited to '')
-rw-r--r-- | src/gpg/function/GpgFileOpera.h | 7 |
1 files changed, 4 insertions, 3 deletions
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<GpgFileOpera> { 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); |