summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h3
1 files changed, 3 insertions, 0 deletions
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);