1 /* 2 * This file is part of gtkD. 3 * 4 * gtkD is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU Lesser General Public License 6 * as published by the Free Software Foundation; either version 3 7 * of the License, or (at your option) any later version, with 8 * some exceptions, please read the COPYING file. 9 * 10 * gtkD 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 Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public License 16 * along with gtkD; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA 18 */ 19 20 // generated automatically - do not change 21 // find conversion definition on APILookup.txt 22 // implement new conversion functionalities on the wrap.utils pakage 23 24 25 module gio.TlsBackendIF; 26 27 private import gio.TlsBackend; 28 private import gio.TlsBackendIF; 29 private import gio.TlsDatabase; 30 private import gobject.ObjectG; 31 private import gtkc.gio; 32 public import gtkc.giotypes; 33 34 35 /** 36 * TLS (Transport Layer Security, aka SSL) backend 37 * 38 * Since: 2.28 39 */ 40 public interface TlsBackendIF{ 41 /** Get the main Gtk struct */ 42 public GTlsBackend* getTlsBackendStruct(); 43 44 /** the main Gtk struct as a void* */ 45 protected void* getStruct(); 46 47 /** 48 */ 49 50 /** 51 * Gets the default #GTlsBackend for the system. 52 * 53 * Return: a #GTlsBackend 54 * 55 * Since: 2.28 56 */ 57 public static TlsBackendIF getDefault(); 58 59 /** 60 * Gets the #GType of @backend's #GTlsCertificate implementation. 61 * 62 * Return: the #GType of @backend's #GTlsCertificate 63 * implementation. 64 * 65 * Since: 2.28 66 */ 67 public GType getCertificateType(); 68 69 /** 70 * Gets the #GType of @backend's #GTlsClientConnection implementation. 71 * 72 * Return: the #GType of @backend's #GTlsClientConnection 73 * implementation. 74 * 75 * Since: 2.28 76 */ 77 public GType getClientConnectionType(); 78 79 /** 80 * Gets the default #GTlsDatabase used to verify TLS connections. 81 * 82 * Return: the default database, which should be 83 * unreffed when done. 84 * 85 * Since: 2.30 86 */ 87 public TlsDatabase getDefaultDatabase(); 88 89 /** 90 * Gets the #GType of @backend's #GTlsFileDatabase implementation. 91 * 92 * Return: the #GType of backend's #GTlsFileDatabase implementation. 93 * 94 * Since: 2.30 95 */ 96 public GType getFileDatabaseType(); 97 98 /** 99 * Gets the #GType of @backend's #GTlsServerConnection implementation. 100 * 101 * Return: the #GType of @backend's #GTlsServerConnection 102 * implementation. 103 * 104 * Since: 2.28 105 */ 106 public GType getServerConnectionType(); 107 108 /** 109 * Checks if TLS is supported; if this returns %FALSE for the default 110 * #GTlsBackend, it means no "real" TLS backend is available. 111 * 112 * Return: whether or not TLS is supported 113 * 114 * Since: 2.28 115 */ 116 public bool supportsTls(); 117 }