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

Go to the source code of this file.

Functions

nserror ami_cert_verify (struct nsurl *url, const struct cert_chain *chain, nserror(*cb)(bool proceed, void *pw), void *cbpw)
 Prompt the user to verify a certificate with issues. More...
 

Function Documentation

◆ ami_cert_verify()

nserror ami_cert_verify ( struct nsurl url,
const struct cert_chain chain,
nserror(*)(bool proceed, void *pw)  cb,
void *  cbpw 
)

Prompt the user to verify a certificate with issues.

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 300 of file sslcert.c.

References ami_corewindow_init(), ami_crtvrfy_create_window(), ami_crtvrfy_draw(), ami_crtvrfy_event(), ami_crtvrfy_key(), ami_crtvrfy_mouse(), ami_crtvrfy_reject(), ami_utf8_easy(), ami_utf8_free(), ami_corewindow::cb_table, ami_corewindow::close, ami_crtvrfy_window::core, ami_corewindow::draw, ami_corewindow::event, GID_CW_WIN, ami_corewindow::key, messages_get(), ami_corewindow::mouse, NSERROR_NOMEM, NSERROR_OK, NSLOG, ami_corewindow::objects, ami_crtvrfy_window::ssl_data, ami_crtvrfy_window::sslaccept, sslcert_viewer_create_session_data(), sslcert_viewer_init(), ami_crtvrfy_window::sslerr, ami_crtvrfy_window::sslreject, and ami_corewindow::wintitle.

Here is the call graph for this function: