NetSurf
|
Interface to win32 certificate viewing using nsw32 core windows. More...
Go to the source code of this file.
Functions | |
nserror | nsw32_cert_verify (struct nsurl *url, const struct cert_chain *certs, nserror(*cb)(bool proceed, void *pw), void *cbpw) |
Prompt the user to verify a certificate with issuse. More... | |
nserror | nsws_create_cert_verify_class (HINSTANCE hinstance) |
Create the ssl viewer window class. More... | |
Interface to win32 certificate viewing using nsw32 core windows.
Definition in file ssl_cert.h.
nserror nsw32_cert_verify | ( | struct nsurl * | url, |
const struct cert_chain * | certs, | ||
nserror(*)(bool proceed, void *pw) | cb, | ||
void * | cbpw | ||
) |
Prompt the user to verify a certificate with issuse.
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 172 of file ssl_cert.c.
References nsw32_corewindow::cb_table, nsw32_corewindow::close, CMD_BTN_H, CMD_BTN_W, nsw32_sslcert_window::core, DLG_MRGN, nsw32_corewindow::draw, hinst, nsw32_sslcert_window::hWnd, IDC_SSLCERT_BTN_ACCEPT, IDC_SSLCERT_BTN_REJECT, nsw32_corewindow::key, nsw32_corewindow::mouse, NSERROR_NOMEM, NSERROR_OK, NSLOG, nsw32_corewindow_init(), nsw32_sslcert_viewer_close(), nsw32_sslcert_viewer_draw(), nsw32_sslcert_viewer_key(), nsw32_sslcert_viewer_mouse(), ShowWindow, nsw32_sslcert_window::ssl_data, sslcert_viewer_create_session_data(), sslcert_viewer_init(), nsw32_corewindow::title, windowclassname_sslcert, and WRN_ICO_H.
nserror nsws_create_cert_verify_class | ( | HINSTANCE | hinstance | ) |
Create the ssl viewer window class.
hinstance | The application instance |
Definition at line 444 of file ssl_cert.c.
References NSERROR_INIT_FAILED, NSERROR_OK, nsw32_window_ssl_cert_event_callback(), win_perror(), and windowclassname_sslcert.
Referenced by WinMain().