summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-16 22:45:42 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-16 23:04:25 +0200
commitc39181437b10fb49cd236f625c599c01af41f1b2 (patch)
tree477edb9d5ae80cfd925dc8c2f8bb9f763ef61d09 /include
parentddcb88070be3060ee2ab089d292b9eb357c30ed7 (diff)
downloadlibssh-c39181437b10fb49cd236f625c599c01af41f1b2.tar.gz
libssh-c39181437b10fb49cd236f625c599c01af41f1b2.tar.xz
libssh-c39181437b10fb49cd236f625c599c01af41f1b2.zip
pki: Add ssh_pki_export_publickey_file().
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 12c52cb..630938b 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -459,6 +459,8 @@ LIBSSH_API int ssh_pki_import_pubkey_file(const char *filename,
ssh_key *pkey);
LIBSSH_API int ssh_pki_export_publickey_base64(const ssh_key key,
char **b64_key);
+LIBSSH_API int ssh_pki_export_publickey_file(const ssh_key key,
+ const char *filename);
LIBSSH_API int ssh_userauth_pki_pubkey(ssh_session session, const char *username,
ssh_string publickey, ssh_key privatekey);