|
Greenbone Vulnerability Management Libraries 22.26.0
|
Implementation of SSH related API. More...
#include "sshutils.h"#include <glib.h>#include <gnutls/gnutls.h>#include <gnutls/x509.h>#include <libssh/libssh.h>#include <string.h>Macros | |
| #define | G_LOG_DOMAIN "libgvm util" |
| GLib logging domain. | |
Functions | |
| char * | gvm_ssh_pkcs8_decrypt (const char *pkcs8_key, const char *passphrase) |
| Decrypts a base64 encrypted ssh private key. | |
| char * | gvm_ssh_public_from_private (const char *private_key, const char *passphrase) |
| Exports a base64 encoded public key from a private key and its passphrase. | |
Implementation of SSH related API.
| #define G_LOG_DOMAIN "libgvm util" |
GLib logging domain.
| char * gvm_ssh_pkcs8_decrypt | ( | const char * | pkcs8_key, |
| const char * | passphrase ) |
Decrypts a base64 encrypted ssh private key.
| [in] | pkcs8_key | PKCS#8 encrypted private key. |
| [in] | passphrase | Passphrase for the private key. |
| char * gvm_ssh_public_from_private | ( | const char * | private_key, |
| const char * | passphrase ) |
Exports a base64 encoded public key from a private key and its passphrase.
| [in] | private_key | Private key to export. |
| [in] | passphrase | Passphrase for the private key. |