diff options
author | Saturn&Eric <[email protected]> | 2021-12-13 14:50:57 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-13 14:50:57 +0000 |
commit | ee4752ed756e3114f740efddf63ce987ac154d03 (patch) | |
tree | 27653d56c88849c99c70b8fc7223f8ae98090f0b /src/gpg/function/GpgKeyImportExportor.h | |
parent | Update CI for Release and Debug. (diff) | |
parent | Added & Fixed (diff) | |
download | GpgFrontend-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.h | 5 |
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()); |