mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Add initial TLS (SSL) support to gio
This adds an extension point for TLS connections to gio, with a gnutls-based implementation in glib-networking. Full TLS support is still a work in progress; the current API is missing some features, and parts of it may still be changed before 2.28. https://bugzilla.gnome.org/show_bug.cgi?id=588189
This commit is contained in:
@@ -89,6 +89,13 @@ gboolean g_socket_client_get_enable_proxy (GSocket
|
||||
void g_socket_client_set_enable_proxy (GSocketClient *client,
|
||||
gboolean enable);
|
||||
|
||||
gboolean g_socket_client_get_tls (GSocketClient *client);
|
||||
void g_socket_client_set_tls (GSocketClient *client,
|
||||
gboolean tls);
|
||||
GTlsCertificateFlags g_socket_client_get_tls_validation_flags (GSocketClient *client);
|
||||
void g_socket_client_set_tls_validation_flags (GSocketClient *client,
|
||||
GTlsCertificateFlags flags);
|
||||
|
||||
GSocketConnection * g_socket_client_connect (GSocketClient *client,
|
||||
GSocketConnectable *connectable,
|
||||
GCancellable *cancellable,
|
||||
|
Reference in New Issue
Block a user