NetSurf
|
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... | |
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.
url | The URL being verified. |
certs | The certificate to be verified |
num | The number of certificates to be verified. |
cb | Callback upon user decision. |
cbpw | Context pointer passed to cb |
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.