diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 00:07:36 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 00:47:43 +0200 |
commit | c085892802304eeef846cd575249d1aab9a0efcb (patch) | |
tree | ae635868db57a27a632eaac1913a0fb09d08c42f /include/libssh/libssh.h | |
parent | 47ebcac4cd83af0ef58982b3c77da57b220d36fd (diff) | |
download | libssh-c085892802304eeef846cd575249d1aab9a0efcb.tar.gz libssh-c085892802304eeef846cd575249d1aab9a0efcb.tar.xz libssh-c085892802304eeef846cd575249d1aab9a0efcb.zip |
pki: Add ssh_pki_import_pubkey_file().
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index b74a2bc..cbe9ff1 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -440,6 +440,9 @@ LIBSSH_API int ssh_pki_import_pubkey_base64(ssh_session session, LIBSSH_API int ssh_pki_import_pubkey_blob(ssh_session session, const ssh_string key_blob, ssh_key *pkey); +LIBSSH_API int ssh_pki_import_pubkey_file(ssh_session session, + const char *filename, + ssh_key *pkey); LIBSSH_API ssh_string ssh_pki_publickey_to_blob(const ssh_key key); LIBSSH_API int ssh_userauth_pki_pubkey(ssh_session session, const char *username, |