source: appstream-generator/build/girepo/gio/TlsBackendIF.d @ 4841

Last change on this file since 4841 was 4841, checked in by Juanma, 2 years ago

Initial release

File size: 2.7 KB
Line 
1/*
2 * Licensed under the GNU Lesser General Public License Version 3
3 *
4 * This library is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU Lesser General Public License as published by
6 * the Free Software Foundation, either version 3 of the license, or
7 * (at your option) any later version.
8 *
9 * This software is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18// generated automatically - do not change
19
20
21module gio.TlsBackendIF;
22
23private import gi.gio;
24public  import gi.giotypes;
25private import gio.TlsBackend;
26private import gio.TlsBackendIF;
27private import gio.TlsDatabase;
28private import gobject.ObjectG;
29
30
31/**
32 * TLS (Transport Layer Security, aka SSL) backend
33 *
34 * Since: 2.28
35 */
36public interface TlsBackendIF{
37        /** Get the main Gtk struct */
38        public GTlsBackend* getTlsBackendStruct();
39
40        /** the main Gtk struct as a void* */
41        protected void* getStruct();
42
43
44        /**
45         * Gets the default #GTlsBackend for the system.
46         *
47         * Returns: a #GTlsBackend
48         *
49         * Since: 2.28
50         */
51        public static TlsBackendIF getDefault();
52
53        /**
54         * Gets the #GType of @backend's #GTlsCertificate implementation.
55         *
56         * Returns: the #GType of @backend's #GTlsCertificate
57         *     implementation.
58         *
59         * Since: 2.28
60         */
61        public GType getCertificateType();
62
63        /**
64         * Gets the #GType of @backend's #GTlsClientConnection implementation.
65         *
66         * Returns: the #GType of @backend's #GTlsClientConnection
67         *     implementation.
68         *
69         * Since: 2.28
70         */
71        public GType getClientConnectionType();
72
73        /**
74         * Gets the default #GTlsDatabase used to verify TLS connections.
75         *
76         * Returns: the default database, which should be
77         *     unreffed when done.
78         *
79         * Since: 2.30
80         */
81        public TlsDatabase getDefaultDatabase();
82
83        /**
84         * Gets the #GType of @backend's #GTlsFileDatabase implementation.
85         *
86         * Returns: the #GType of backend's #GTlsFileDatabase implementation.
87         *
88         * Since: 2.30
89         */
90        public GType getFileDatabaseType();
91
92        /**
93         * Gets the #GType of @backend's #GTlsServerConnection implementation.
94         *
95         * Returns: the #GType of @backend's #GTlsServerConnection
96         *     implementation.
97         *
98         * Since: 2.28
99         */
100        public GType getServerConnectionType();
101
102        /**
103         * Checks if TLS is supported; if this returns %FALSE for the default
104         * #GTlsBackend, it means no "real" TLS backend is available.
105         *
106         * Returns: whether or not TLS is supported
107         *
108         * Since: 2.28
109         */
110        public bool supportsTls();
111}
Note: See TracBrowser for help on using the repository browser.