NetSurf
Functions
ssl_cert.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nserror gtk_cert_verify (struct nsurl *url, const struct ssl_cert_info *certs, unsigned long num, nserror(*cb)(bool proceed, void *pw), void *cbpw)
 Prompt the user to verify a certificate with issuse. More...
 

Function Documentation

◆ gtk_cert_verify()

nserror gtk_cert_verify ( struct nsurl url,
const struct ssl_cert_info certs,
unsigned long  num,
nserror(*)(bool proceed, void *pw)  cb,
void *  cbpw 
)

Prompt the user to verify a certificate with issuse.

Parameters
urlThe URL being verified.
certsThe certificate to be verified
numThe number of certificates to be verified.
cbCallback upon user decision.
cbpwContext pointer passed to cb
Returns
NSERROR_OK or error code if prompt creation failed.

Definition at line 170 of file ssl_cert.c.

References nsgtk_crtvrfy_window::builder, nsgtk_corewindow::cb_table, nsgtk_crtvrfy_window::core, nsgtk_crtvrfy_window::dlg, nsgtk_corewindow::draw, nsgtk_corewindow::drawing_area, nsgtk_corewindow::key, nsgtk_corewindow::mouse, NSERROR_NOMEM, NSERROR_OK, nsgtk_builder_new_from_resname(), nsgtk_corewindow_init(), nsgtk_crtvrfy_accept(), nsgtk_crtvrfy_delete_event(), nsgtk_crtvrfy_draw(), nsgtk_crtvrfy_key(), nsgtk_crtvrfy_mouse(), nsgtk_crtvrfy_reject(), nsgtk_current_scaffolding(), nsgtk_scaffolding_window(), NSLOG, nsgtk_corewindow::scrolled, nsgtk_crtvrfy_window::ssl_data, sslcert_viewer_create_session_data(), and sslcert_viewer_init().

Here is the call graph for this function: