aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpg/function/GpgKeyImportExportor.h
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2021-12-13 14:50:57 +0000
committerGitHub <[email protected]>2021-12-13 14:50:57 +0000
commitee4752ed756e3114f740efddf63ce987ac154d03 (patch)
tree27653d56c88849c99c70b8fc7223f8ae98090f0b /src/gpg/function/GpgKeyImportExportor.h
parentUpdate CI for Release and Debug. (diff)
parentAdded & Fixed (diff)
downloadGpgFrontend-ee4752ed756e3114f740efddf63ce987ac154d03.tar.gz
GpgFrontend-ee4752ed756e3114f740efddf63ce987ac154d03.zip
Merge pull request #31 from saturneric/develop-ui
v2.0.2-beta.1
Diffstat (limited to 'src/gpg/function/GpgKeyImportExportor.h')
-rw-r--r--src/gpg/function/GpgKeyImportExportor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpg/function/GpgKeyImportExportor.h b/src/gpg/function/GpgKeyImportExportor.h
index 35a237ba..ad43d539 100644
--- a/src/gpg/function/GpgKeyImportExportor.h
+++ b/src/gpg/function/GpgKeyImportExportor.h
@@ -90,8 +90,13 @@ class GpgKeyImportExportor
bool ExportKey(const GpgKey& key, ByteArrayPtr& out_buffer) const;
+ bool ExportKeyOpenSSH(const GpgKey& key, ByteArrayPtr& out_buffer) const;
+
bool ExportSecretKey(const GpgKey& key, ByteArrayPtr& outBuffer) const;
+ bool ExportSecretKeyShortest(const GpgKey& key,
+ ByteArrayPtr& outBuffer) const;
+
private:
GpgContext& ctx =
GpgContext::GetInstance(SingletonFunctionObject::GetDefaultChannel());