aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/pki_priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-11-27 20:02:43 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-11-27 22:54:40 +0100
commita375b6c996f20dbaa290fd61edb719f4e96c3363 (patch)
tree15b8cbf48b39ab910422d5bd5dc36a0367006dbc /include/libssh/pki_priv.h
parentecb01e05a27006205c63b8bf30c2518b6be9796d (diff)
downloadlibssh-a375b6c996f20dbaa290fd61edb719f4e96c3363.tar.gz
libssh-a375b6c996f20dbaa290fd61edb719f4e96c3363.tar.xz
libssh-a375b6c996f20dbaa290fd61edb719f4e96c3363.zip
pki_gcrypt: Add pki_private_key_to_pem() stub.
Diffstat (limited to 'include/libssh/pki_priv.h')
-rw-r--r--include/libssh/pki_priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 2c361e43..54a59a03 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -51,6 +51,11 @@ ssh_key pki_private_key_from_base64(const char *b64_key,
ssh_auth_callback auth_fn,
void *auth_data);
+ssh_string pki_private_key_to_pem(const ssh_key key,
+ const char *passphrase,
+ ssh_auth_callback auth_fn,
+ void *auth_data);
+
/* SSH Public Key Functions */
int pki_pubkey_build_dss(ssh_key key,
ssh_string p,