1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2026-01-06 14:21:55 +03:00

pki: Add ssh_pki_export_publickey_file().

This commit is contained in:
Andreas Schneider
2011-08-16 22:45:42 +02:00
parent ddcb88070b
commit c39181437b
2 changed files with 62 additions and 1 deletions

View File

@@ -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);