diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 19:33:24 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 19:33:24 +0200 |
commit | 254c30be2e97812a892c96210491720d63538994 (patch) | |
tree | fd2eb1e707dff650317ccd0d14a059aa03351d3b /include/libssh/pki.h | |
parent | 25a21088090dcb18ef6f0b12a47bd1db6b871153 (diff) | |
download | libssh-254c30be2e97812a892c96210491720d63538994.tar.gz libssh-254c30be2e97812a892c96210491720d63538994.tar.xz libssh-254c30be2e97812a892c96210491720d63538994.zip |
pki: Remove session from ssh_pki_import_pubkey_* functions.
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r-- | include/libssh/pki.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h index 60bac978..429dd168 100644 --- a/include/libssh/pki.h +++ b/include/libssh/pki.h @@ -68,6 +68,12 @@ ssh_key ssh_key_dup(const ssh_key key); void ssh_key_clean (ssh_key key); ssh_key ssh_pki_publickey_from_privatekey(const ssh_key privkey); + +int ssh_pki_import_pubkey_blob(const ssh_string key_blob, + ssh_key *pkey); + +ssh_string ssh_pki_publickey_to_blob(const ssh_key key); + ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf, ssh_key privatekey); |