diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-15 18:47:18 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-15 18:48:08 +0200 |
commit | 6ffee224486500ef3f01f7812d5b9c84f5b1aac4 (patch) | |
tree | a9a001f18c0b232cf7a11c56e8b01809a40e4d98 /include/libssh/pki.h | |
parent | fe375132c33cbfd3ec6cbfdde35efe5439dbbdbb (diff) | |
download | libssh-6ffee224486500ef3f01f7812d5b9c84f5b1aac4.tar.gz libssh-6ffee224486500ef3f01f7812d5b9c84f5b1aac4.tar.xz libssh-6ffee224486500ef3f01f7812d5b9c84f5b1aac4.zip |
pki: Add ssh_pki_publickey_to_string().
Diffstat (limited to 'include/libssh/pki.h')
-rw-r--r-- | include/libssh/pki.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h index 10dfea14..2115b8b4 100644 --- a/include/libssh/pki.h +++ b/include/libssh/pki.h @@ -58,6 +58,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); /* half public ssh pki functions */ @@ -67,6 +68,7 @@ void ssh_key_clean (ssh_key key); ssh_key ssh_pki_publickey_from_privatekey(const ssh_key privkey); ssh_string ssh_pki_do_sign(ssh_session session, ssh_buffer sigbuf, ssh_key privatekey); +ssh_string ssh_pki_publickey_to_string(const ssh_key key); /* temporary functions, to be removed after migration to ssh_key */ ssh_public_key ssh_pki_convert_key_to_publickey(ssh_key key); |