aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2015-01-20 17:34:21 +0100
committerAndreas Schneider <asn@cryptomilk.org>2015-02-02 14:45:52 +0100
commit46bc11f97765a5243851c11eef57d1bff3bbdc59 (patch)
treea756c2bef016e8f39fb5ca78c1739b8ac4060094 /include
parent119840b0a97402d97850b670de070ec1a0428590 (diff)
downloadlibssh-46bc11f97765a5243851c11eef57d1bff3bbdc59.tar.gz
libssh-46bc11f97765a5243851c11eef57d1bff3bbdc59.tar.xz
libssh-46bc11f97765a5243851c11eef57d1bff3bbdc59.zip
ed25519: Add support to export OpenSSH container keys
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 50b58950..62ecb681 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -112,5 +112,7 @@ int pki_ed25519_sig_from_blob(ssh_signature sig, ssh_string sig_blob);
/* PKI Container OpenSSH */
ssh_key ssh_pki_openssh_privkey_import(const char *text_key,
const char *passphrase, ssh_auth_callback auth_fn, void *auth_data);
+ssh_string ssh_pki_openssh_privkey_export(const ssh_key privkey,
+ const char *passphrase, ssh_auth_callback auth_fn, void *auth_data);
#endif /* PKI_PRIV_H_ */