OpenVAS Libraries
9.0.3
|
Go to the source code of this file.
Functions | |
char * | openvas_ssh_pkcs8_decrypt (const char *, const char *) |
Decrypts a base64 encrypted ssh private key. More... | |
char * | openvas_ssh_public_from_private (const char *, const char *) |
Exports a base64 encoded public key from a private key and its passphrase. More... | |
char* openvas_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. |
Definition at line 40 of file openvas_ssh.c.
Referenced by openvas_ssh_public_from_private().
char* openvas_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. |
Definition at line 78 of file openvas_ssh.c.
References openvas_ssh_pkcs8_decrypt().