summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authormilo <milo@r0ot.me>2011-03-17 10:05:59 +0100
committermilo <milo@r0ot.me>2011-04-14 14:05:44 +0200
commitb308bb9d5233b60f46ff259dd88aa706d55ac11c (patch)
tree041daa43ea2c7d90fa3dc3077fb4119013702a9b /include/libssh/pki.h
parentc1f65492f7a5b80cbe76b58ae1f4798f502fad4a (diff)
downloadlibssh-b308bb9d5233b60f46ff259dd88aa706d55ac11c.tar.gz
libssh-b308bb9d5233b60f46ff259dd88aa706d55ac11c.tar.xz
libssh-b308bb9d5233b60f46ff259dd88aa706d55ac11c.zip
[pki] added ssh_pki_do_sign() function
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index fe83fc5..7aed09a 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -48,6 +48,8 @@ int ssh_key_import_private(ssh_key key, ssh_session session,
const char *filename, const char *passphrase);
ssh_key ssh_pki_publickey_from_privatekey(ssh_key privkey);
+ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
+ ssh_key privatekey);
/* temporary functions, to be removed after migration to ssh_key */
ssh_key ssh_pki_convert_privatekey_to_key(ssh_private_key priv);