sshutils.h
Go to the documentation of this file.
/* SPDX-FileCopyrightText: 2015-2023 Greenbone AG
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef _GVM_SSHUTILS_H
#define _GVM_SSHUTILS_H
char *
gvm_ssh_pkcs8_decrypt (const char *, const char *);
char *
gvm_ssh_public_from_private (const char *, const char *);
#endif /* not _GVM_SSHUTILS_H */
gvm_ssh_public_from_private
char * gvm_ssh_public_from_private(const char *, const char *)
Exports a base64 encoded public key from a private key and its passphrase.
Definition sshutils.c:72
gvm_ssh_pkcs8_decrypt
char * gvm_ssh_pkcs8_decrypt(const char *, const char *)
Decrypts a base64 encrypted ssh private key.
Definition sshutils.c:34