NetSurf
cert.h
Go to the documentation of this file.
1 /*
2  * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>
3  *
4  * This file is part of NetSurf, http://www.netsurf-browser.org/
5  *
6  * NetSurf is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; version 2 of the License.
9  *
10  * NetSurf is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef NETSURF_MONKEY_CERT_H
20 #define NETSURF_MONKEY_CERT_H
21 
22 struct cert_chain;
23 
24 nserror gui_cert_verify(nsurl *url, const struct cert_chain *certs,
25  nserror (*cb)(bool proceed, void *pw),
26  void *cbpw);
27 
28 
29 void monkey_sslcert_handle_command(int argc, char **argv);
30 
31 #endif
void monkey_sslcert_handle_command(int argc, char **argv)
Definition: cert.c:137
nserror
Enumeration of error codes.
Definition: errors.h:29
X509 certificate chain.
Definition: ssl_certs.h:59
nserror gui_cert_verify(nsurl *url, const struct cert_chain *certs, nserror(*cb)(bool proceed, void *pw), void *cbpw)
Definition: cert.c:42
struct nsurl nsurl
NetSurf URL object.
Definition: nsurl.h:31
struct cert_chain::@62 certs[MAX_CERT_DEPTH]