diff options
author | Saturn&Eric <[email protected]> | 2021-12-13 18:46:23 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-13 18:46:23 +0000 |
commit | 5d8e24b7ce4620164c3268b4f1de43a30df19a86 (patch) | |
tree | 6defd5d68468a95de980752ccf2c4ef8a0753617 /src/gpg/function/GpgKeyImportExportor.h | |
parent | Create SECURITY.md (diff) | |
parent | Update Translations & README. (diff) | |
download | GpgFrontend-5d8e24b7ce4620164c3268b4f1de43a30df19a86.tar.gz GpgFrontend-5d8e24b7ce4620164c3268b4f1de43a30df19a86.zip |
Merge pull request #32 from saturneric/developv2.0.2
v2.0.2-beta.2
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()); |