12014-07-11 Carlos Garcia Campos <cgarcia@igalia.com>
2
3 [GTK] Allow the user to create a WebKitCertificateInfo
4 https://bugs.webkit.org/show_bug.cgi?id=134830
5
6 Reviewed by NOBODY (OOPS!).
7
8 Add webkit_certificate_info_new() to allow the user to create a
9 WebKitCertificateInfo for a given GTlsCertificate and
10 GTlsCertificateFlags. This would be needed to be able to add
11 exceptions with webkit_web_context_allow_tls_certificate_for_host()
12 for a certificate saved permanently, for example.
13 I'm not adding a test case for this because we already have a test
14 case that adds an exception for the local server we use, so we
15 would need a new test only for this and the new API is very simple.
16
17 * UIProcess/API/gtk/WebKitCertificateInfo.cpp:
18 (webkit_certificate_info_new): Create a new WebKitCertificateInfo
19 for the given GTlsCertificate and GTlsCertificateFlags.
20 * UIProcess/API/gtk/WebKitCertificateInfo.h:
21 * UIProcess/API/gtk/docs/webkit2gtk-sections.txt:
22