Greenbone Vulnerability Management Libraries: util/sshutils.h Source File

Greenbone Vulnerability Management Libraries 23.1.1

sshutils.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2015-2023 Greenbone AG
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
10
11#ifndef _GVM_UTIL_SSHUTILS_H
12#define _GVM_UTIL_SSHUTILS_H
13
14char *
15 gvm_ssh_pkcs8_decrypt (const char *, const char *);
16
17char *
18 gvm_ssh_public_from_private (const char *, const char *);
19
20int
21 gvm_ssh_private_key_info (const char *, const char *, const char **, char **);
22
23#endif /* not _GVM_UTIL_SSHUTILS_H */
gvm_ssh_private_key_info
int gvm_ssh_private_key_info(const char *, const char *, const char **, char **)
Gets information from a SSH private key.
Definition sshutils.c:116
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:75
gvm_ssh_pkcs8_decrypt
char * gvm_ssh_pkcs8_decrypt(const char *, const char *)
Decrypts a base64 encrypted ssh private key.
Definition sshutils.c:34