Greenbone Vulnerability Management Libraries  22.8.0
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 
11 #ifndef _GVM_SSHUTILS_H
12 #define _GVM_SSHUTILS_H
13 
14 char *
15 gvm_ssh_pkcs8_decrypt (const char *, const char *);
16 
17 char *
18 gvm_ssh_public_from_private (const char *, const char *);
19 
20 #endif /* not _GVM_SSHUTILS_H */
gvm_ssh_pkcs8_decrypt
char * gvm_ssh_pkcs8_decrypt(const char *, const char *)
Decrypts a base64 encrypted ssh private key.
Definition: sshutils.c:34
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