aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-09-13 13:45:46 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-09-18 09:53:49 +0200
commit1226de875b3bb419f8d0ad949156d6e1a2a153fa (patch)
tree27637d09503bcbf33227b15358f4f9523ceee7cd /include
parent2307be32cf7d235076a201cf666b844ac206166a (diff)
downloadlibssh-1226de875b3bb419f8d0ad949156d6e1a2a153fa.tar.gz
libssh-1226de875b3bb419f8d0ad949156d6e1a2a153fa.tar.xz
libssh-1226de875b3bb419f8d0ad949156d6e1a2a153fa.zip
pki: Implement reading public key from OpenSSH private key container
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index f8d94616..30af8d86 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -149,6 +149,7 @@ int pki_privkey_build_ed25519(ssh_key key,
ssh_string privkey);
/* PKI Container OpenSSH */
+ssh_key ssh_pki_openssh_pubkey_import(const char *text_key);
ssh_key ssh_pki_openssh_privkey_import(const char *text_key,
const char *passphrase, ssh_auth_callback auth_fn, void *auth_data);
ssh_string ssh_pki_openssh_privkey_export(const ssh_key privkey,