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

pki: Add ssh_pki_import_pubkey_file().

This commit is contained in:
Andreas Schneider
2011-08-16 00:07:36 +02:00
parent 47ebcac4cd
commit c085892802
2 changed files with 76 additions and 0 deletions

View File

@@ -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,