1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2026-01-06 14:21:55 +03:00

pki: Add ssh_pki_import_pubkey_string().

This commit is contained in:
Andreas Schneider
2011-08-13 11:49:06 +02:00
parent 74d755873d
commit 0523adf95c
2 changed files with 111 additions and 26 deletions

View File

@@ -71,6 +71,9 @@ int pki_pubkey_build_rsa(ssh_key key,
ssh_string e,
ssh_string n);
int ssh_pki_import_pubkey_string(ssh_session session,
const ssh_string pubkey,
ssh_key *pkey);
struct signature_struct *pki_do_sign(const ssh_key privatekey,
const unsigned char *hash);