summaryrefslogtreecommitdiffstats
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-07 18:22:19 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-08 15:28:31 +0200
commitf81444bd57095cf8ff8e76b50f662aad0757f574 (patch)
tree70a1acb7b15be082cf66456b97b252fe6fb5f4dd /include/libssh/pki.h
parent38d00c0e7aa9d9104c7d3453bf57fde9678ff75b (diff)
downloadlibssh-f81444bd57095cf8ff8e76b50f662aad0757f574.tar.gz
libssh-f81444bd57095cf8ff8e76b50f662aad0757f574.tar.xz
libssh-f81444bd57095cf8ff8e76b50f662aad0757f574.zip
pki: Add pki_do_sign().
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 182079f..615b7c0 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -62,5 +62,7 @@ ssh_key pki_private_key_from_base64(ssh_session session,
const char *b64_key,
const char *passphrase);
ssh_key pki_publickey_from_privatekey(ssh_key privkey);
+struct signature_struct *pki_do_sign(ssh_key privatekey,
+ const unsigned char *hash);
#endif /* PKI_H_ */