NetSurf
frontends
riscos
sslcert.h
Go to the documentation of this file.
1
/*
2
* Copyright 2006 Richard Wilson <info@tinct.net>
3
* Copyright 2010 Stephen Fryatt <stevef@netsurf-browser.org>
4
*
5
* This file is part of NetSurf, http://www.netsurf-browser.org/
6
*
7
* NetSurf is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; version 2 of the License.
10
*
11
* NetSurf is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
/**
21
* \file
22
* RISC OS SSL certificate viewer interface.
23
*/
24
25
#ifndef NETSURF_RISCOS_SSLCERT_H
26
#define NETSURF_RISCOS_SSLCERT_H
27
28
struct
node;
29
30
/**
31
* Load and initialise the certificate window template.
32
*/
33
void
ro_gui_cert_initialise
(
void
);
34
35
/**
36
* Prompt the user to verify a certificate with issuse.
37
*
38
* \param url The URL being verified.
39
* \param certs The certificate to be verified
40
* \param num The number of certificates to be verified.
41
* \param cb Callback upon user decision.
42
* \param cbpw Context pointer passed to cb
43
*/
44
nserror
gui_cert_verify
(
struct
nsurl
*url,
const
struct
cert_chain
*chain,
nserror
(*cb)(
bool
proceed,
void
*pw),
void
*cbpw);
45
46
#endif
47
gui_cert_verify
nserror gui_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 issuse.
Definition:
cert.c:42
nserror
nserror
Enumeration of error codes.
Definition:
errors.h:29
cert_chain
X509 certificate chain.
Definition:
ssl_certs.h:59
nsurl
struct nsurl nsurl
NetSurf URL object.
Definition:
nsurl.h:31
ro_gui_cert_initialise
void ro_gui_cert_initialise(void)
Load and initialise the certificate window template.
Definition:
sslcert.c:401
Generated on Thu May 21 2020 23:38:48 for NetSurf by
1.8.13