From 0523adf95cdc89c18b28cef3815b0e9f32a759f2 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 13 Aug 2011 11:49:06 +0200 Subject: pki: Add ssh_pki_import_pubkey_string(). --- include/libssh/pki.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/libssh') diff --git a/include/libssh/pki.h b/include/libssh/pki.h index 81414aa..ca87ddd 100644 --- a/include/libssh/pki.h +++ b/include/libssh/pki.h @@ -71,6 +71,9 @@ int pki_pubkey_build_rsa(ssh_key key, ssh_string e, ssh_string n); +int ssh_pki_import_pubkey_string(ssh_session session, + const ssh_string pubkey, + ssh_key *pkey); struct signature_struct *pki_do_sign(const ssh_key privatekey, const unsigned char *hash); -- cgit