diff options
author | Saturneric <[email protected]> | 2022-01-04 16:03:18 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-04 16:03:18 +0000 |
commit | c2f05ec557ec53f62872e19cc463257481421e4f (patch) | |
tree | 9fd060663bca9f34cf3126e2a4c7cd4728159e9b /src/gpg/function/GpgFileOpera.h | |
parent | <fix, refactor>(core, ui): fixed known bugs for v2.0.4-beta.1. (diff) | |
download | GpgFrontend-c2f05ec557ec53f62872e19cc463257481421e4f.tar.gz GpgFrontend-c2f05ec557ec53f62872e19cc463257481421e4f.zip |
<feature, fix>(core, ui): support file symmetric encryption.
1. improve ui for file & text symmetric encryption.
Diffstat (limited to 'src/gpg/function/GpgFileOpera.h')
-rw-r--r-- | src/gpg/function/GpgFileOpera.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpg/function/GpgFileOpera.h b/src/gpg/function/GpgFileOpera.h index 6447e43b..f4508f42 100644 --- a/src/gpg/function/GpgFileOpera.h +++ b/src/gpg/function/GpgFileOpera.h @@ -42,6 +42,10 @@ class GpgFileOpera : public SingletonFunctionObject<GpgFileOpera> { GpgEncrResult& result, int _channel = GPGFRONTEND_DEFAULT_CHANNEL); + static unsigned int EncryptFileSymmetric( + const std::string& in_path, const std::string& out_path, + GpgEncrResult& result, int _channel = GPGFRONTEND_DEFAULT_CHANNEL); + static GpgError DecryptFile(const std::string& in_path, const std::string& out_path, GpgDecrResult& result); |