aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-08-19 11:14:23 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-08-19 11:14:23 +0200
commitc575de17a8d020149ac9122da3b772ebca180115 (patch)
tree98ee403bee5aa2e21ab51d4cca50da50c12f76db /include/libssh/pki.h
parent3e56ac650cdd5d28fd3a4c6b1e6686b3a7725e7e (diff)
downloadlibssh-c575de17a8d020149ac9122da3b772ebca180115.tar.gz
libssh-c575de17a8d020149ac9122da3b772ebca180115.tar.xz
libssh-c575de17a8d020149ac9122da3b772ebca180115.zip
pki: Use a consistent naming scheme.
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r--include/libssh/pki.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index 429dd168..20fb7c96 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -60,7 +60,7 @@ int pki_pubkey_build_dss(ssh_key key,
int pki_pubkey_build_rsa(ssh_key key,
ssh_string e,
ssh_string n);
-ssh_string pki_publickey_to_string(const ssh_key key);
+ssh_string pki_publickey_to_blob(const ssh_key key);
/* half public ssh pki functions */
@@ -72,7 +72,7 @@ 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_export_pubkey_blob(const ssh_key key);
ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf,
ssh_key privatekey);