TlsBackendT

TLS (Transport Layer Security, aka SSL) and DTLS backend.

Members

Functions

getCertificateType
GType getCertificateType()

Gets the GType of backend's gio.TlsCertificate implementation.

getClientConnectionType
GType getClientConnectionType()

Gets the GType of backend's GTlsClientConnection implementation.

getDefaultDatabase
TlsDatabase getDefaultDatabase()

Gets the default gio.TlsDatabase used to verify TLS connections.

getDtlsClientConnectionType
GType getDtlsClientConnectionType()

Gets the GType of backend’s GDtlsClientConnection implementation.

getDtlsServerConnectionType
GType getDtlsServerConnectionType()

Gets the GType of backend’s GDtlsServerConnection implementation.

getFileDatabaseType
GType getFileDatabaseType()

Gets the GType of backend's GTlsFileDatabase implementation.

getServerConnectionType
GType getServerConnectionType()

Gets the GType of backend's GTlsServerConnection implementation.

getTlsBackendStruct
GTlsBackend* getTlsBackendStruct(bool transferOwnership)

Get the main Gtk struct

setDefaultDatabase
void setDefaultDatabase(TlsDatabase database)

Set the default gio.TlsDatabase used to verify TLS connections

supportsDtls
bool supportsDtls()

Checks if DTLS is supported. DTLS support may not be available even if TLS support is available, and vice-versa.

supportsTls
bool supportsTls()

Checks if TLS is supported; if this returns FALSE for the default GTlsBackend, it means no "real" TLS backend is available.

Meta

Since

2.28