TlsBackend

Constructors

this
this(GTlsBackend* gTlsBackend)

Sets our main struct and passes it to the parent class

Members

Functions

getCertificateType
GType getCertificateType()

Gets the GType of backend's GTlsCertificate implementation. Since 2.28

getClientConnectionType
GType getClientConnectionType()

Gets the GType of backend's GTlsClientConnection implementation. Since 2.28

getDefaultDatabase
TlsDatabase getDefaultDatabase()

Gets the default GTlsDatabase used to verify TLS connections. Since 2.30

getFileDatabaseType
GType getFileDatabaseType()

Gets the GType of backend's GTlsFileDatabase implementation. Since 2.30

getServerConnectionType
GType getServerConnectionType()

Gets the GType of backend's GTlsServerConnection implementation. Since 2.28

getStruct
void* getStruct()

the main Gtk struct as a void*

getTlsBackendStruct
GTlsBackend* getTlsBackendStruct()

Get the main Gtk struct

supportsTls
int supportsTls()

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

Static functions

getDefault
TlsBackend getDefault()

Gets the default GTlsBackend for the system. Since 2.28

Variables

gTlsBackend
GTlsBackend* gTlsBackend;

the main Gtk struct

Meta