Module: Gio::TlsBackend
- Defined in:
- (unknown)
Overview
TLS (Transport Layer Security, aka SSL) and DTLS backend.
Instance Method Summary collapse
-
#certificate_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::Certificate implementation.
-
#client_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::ClientConnection implementation.
-
#default_database ⇒ Gio::TlsDatabase
Gets the default GTls::Database used to verify TLS connections.
-
#default_database=(database) ⇒ nil
Set the default GTls::Database used to verify TLS connections.
-
#dtls_client_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GDtls::ClientConnection implementation.
-
#dtls_server_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GDtls::ServerConnection implementation.
-
#file_database_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::FileDatabase implementation.
-
#server_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::ServerConnection implementation.
-
#supports_dtls ⇒ TrueClass
Checks if DTLS is supported.
-
#supports_tls ⇒ TrueClass
Checks if TLS is supported; if this returns false for the default GTls::Backend, it means no “real” TLS backend is available.
Instance Method Details
#certificate_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::Certificate implementation.
#client_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::ClientConnection implementation.
#default_database ⇒ Gio::TlsDatabase
Gets the default GTls::Database used to verify TLS connections.
#default_database=(database) ⇒ nil
Set the default GTls::Database used to verify TLS connections
Any subsequent call to g_tls_backend_get_default_database() will return the database set in this call. Existing databases and connections are not modified.
Setting a nil default database will reset to using the system default database as if g_tls_backend_set_default_database() had never been called.
#dtls_client_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GDtls::ClientConnection implementation.
#dtls_server_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GDtls::ServerConnection implementation.
#file_database_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::FileDatabase implementation.
#server_connection_type ⇒ GLib::Type
Gets the #GType of backend’s GTls::ServerConnection implementation.
#supports_dtls ⇒ TrueClass
Checks if DTLS is supported. DTLS support may not be available even if TLS support is available, and vice-versa.
#supports_tls ⇒ TrueClass
Checks if TLS is supported; if this returns false for the default GTls::Backend, it means no “real” TLS backend is available.