aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/function/GpgKeyOpera.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-06 15:58:23 +0000
committerSaturneric <[email protected]>2021-12-06 15:58:43 +0000
commit97d13004e4f1cb33941a9be57c7e7662e223890b (patch)
tree6bf2466046379fd8ac2a0e9ca3605e15dce4672d /src/gpg/function/GpgKeyOpera.h
parentMerge branch 'develop' of github.com:saturneric/GpgFrontend into develop-ci (diff)
downloadGpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.tar.gz
GpgFrontend-97d13004e4f1cb33941a9be57c7e7662e223890b.zip
Improve UI & Functions
Diffstat (limited to 'src/gpg/function/GpgKeyOpera.h')
-rw-r--r--src/gpg/function/GpgKeyOpera.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpg/function/GpgKeyOpera.h b/src/gpg/function/GpgKeyOpera.h
index 71e2de8b..568a125d 100644
--- a/src/gpg/function/GpgKeyOpera.h
+++ b/src/gpg/function/GpgKeyOpera.h
@@ -41,6 +41,11 @@ class GpgKeyOpera : public SingletonFunctionObject<GpgKeyOpera> {
static void GenerateRevokeCert(const GpgKey& key,
const std::string& output_file_name);
+ GpgFrontend::GpgError ModifyPassword(const GpgKey& key);
+
+ GpgFrontend::GpgError ModifyTOFUPolicy(const GpgKey& key,
+ gpgme_tofu_policy_t tofu_policy);
+
GpgFrontend::GpgError GenerateKey(const std::unique_ptr<GenKeyInfo>& params);
GpgFrontend::GpgError GenerateSubkey(