| Top |  |  |  |  | 
GTlsBackend *
g_tls_backend_get_default (void);
Gets the default GTlsBackend for the system.
Since: 2.28
gboolean
g_tls_backend_supports_tls (GTlsBackend *backend);
Checks if TLS is supported; if this returns FALSE for the default
GTlsBackend, it means no "real" TLS backend is available.
Since: 2.28
gboolean
g_tls_backend_supports_dtls (GTlsBackend *backend);
Checks if DTLS is supported. DTLS support may not be available even if TLS support is available, and vice-versa.
Since: 2.48
GTlsDatabase *
g_tls_backend_get_default_database (GTlsBackend *backend);
Gets the default GTlsDatabase used to verify TLS connections.
Since: 2.30
GType
g_tls_backend_get_certificate_type (GTlsBackend *backend);
Gets the GType of backend
's GTlsCertificate implementation.
Since: 2.28
GType
g_tls_backend_get_client_connection_type
                               (GTlsBackend *backend);
Gets the GType of backend
's GTlsClientConnection implementation.
Since: 2.28
GType
g_tls_backend_get_server_connection_type
                               (GTlsBackend *backend);
Gets the GType of backend
's GTlsServerConnection implementation.
Since: 2.28
GType
g_tls_backend_get_dtls_client_connection_type
                               (GTlsBackend *backend);
Gets the GType of backend
’s GDtlsClientConnection implementation.
Since: 2.48
GType
g_tls_backend_get_dtls_server_connection_type
                               (GTlsBackend *backend);
Gets the GType of backend
’s GDtlsServerConnection implementation.
Since: 2.48
GType
g_tls_backend_get_file_database_type (GTlsBackend *backend);
Gets the GType of backend
's GTlsFileDatabase implementation.
Since: 2.30
#define G_TLS_BACKEND_EXTENSION_POINT_NAME "gio-tls-backend"
Extension point for TLS functionality via GTlsBackend. See Extending GIO.
typedef struct _GTlsBackend GTlsBackend;
TLS (Transport Layer Security, aka SSL) and DTLS backend. This is an internal type used to coordinate the different classes implemented by a TLS backend.
Since: 2.28
struct GTlsBackendInterface {
  GTypeInterface g_iface;
  /* methods */
  gboolean       ( *supports_tls)               (GTlsBackend *backend);
  GType          ( *get_certificate_type)       (void);
  GType          ( *get_client_connection_type) (void);
  GType          ( *get_server_connection_type) (void);
  GType          ( *get_file_database_type)     (void);
  GTlsDatabase * ( *get_default_database)       (GTlsBackend *backend);
  gboolean       ( *supports_dtls)              (GTlsBackend *backend);
  GType          ( *get_dtls_client_connection_type) (void);
  GType          ( *get_dtls_server_connection_type) (void);
};
Provides an interface for describing TLS-related types.
| GTypeInterface  | The parent interface. | |
| returns whether the backend supports TLS. | ||
| returns the GTlsCertificate implementation type | ||
| returns the GTlsClientConnection implementation type | ||
| returns the GTlsServerConnection implementation type | ||
| returns the GTlsFileDatabase implementation type. | ||
| returns a default GTlsDatabase instance. | ||
| returns whether the backend supports DTLS | ||
| returns the GDtlsClientConnection implementation type | ||
| returns the GDtlsServerConnection implementation type | 
Since: 2.28