diff options
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); |