OpenVAS Libraries
6.0+beta5
|
#include <glib.h>
Go to the source code of this file.
Functions | |
gboolean | openvas_certificate_file_write (GHashTable *certs, char *filename) |
Writes all certificates found in certs. More... | |
GHashTable * | openvas_certificate_file_read (char *filename) |
Reads all certificates found in file filename, creates. More... | |
GHashTable* openvas_certificate_file_read | ( | char * | filename) |
Reads all certificates found in file filename, creates.
certificate_t structs, stores these in a GHashTable (with fingerprints as keys) and returns the hashtable.
Certificates can be written to that file calling openvas_certificate_file_write.
filename | Path to file to read certificates from. |
gboolean openvas_certificate_file_write | ( | GHashTable * | certs, |
char * | filename | ||
) |
Writes all certificates found in certs.
(might be NULL) to the file filename.
Certificates can be retrieved from that file calling openvas_certificate_file_read.
context | Context of which the certificates shall be stored. |
filename | Filename used to save the certificates. |