TlsBackendIF

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

Members

Functions

getCertificateType
GType getCertificateType()

Gets the #GType of @backend's #GTlsCertificate implementation.

getClientConnectionType
GType getClientConnectionType()

Gets the #GType of @backend's #GTlsClientConnection implementation.

getDefaultDatabase
TlsDatabase getDefaultDatabase()

Gets the default #GTlsDatabase 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.

getStruct
void* getStruct()

the main Gtk struct as a void*

getTlsBackendStruct
GTlsBackend* getTlsBackendStruct(bool transferOwnership)

Get the main Gtk struct

setDefaultDatabase
void setDefaultDatabase(TlsDatabase database)

Set the default #GTlsDatabase 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.

Static functions

getDefault
TlsBackendIF getDefault()

Gets the default #GTlsBackend for the system.

getType
GType getType()

Meta

Since

2.28