Gio.TlsConnection
const Gio = imports.gi.Gio; let tlsConnection = new Gio.TlsConnection({ base_io_stream: value, rehandshake_mode: value, require_close_notify: value, use_system_certdb: value, });
Gio.TlsConnection is the base TLS connection class type, which wraps a Gio.IOStream and provides TLS encryption on top of it. Its subclasses, Gio.TlsClientConnection and Gio.TlsServerConnection, implement client-side and server-side TLS, respectively.
Since 2.28
Hierarchy
-
GObject.Object
-
Gio.IOStream
- Gio.TlsConnection
-
Methods
- Gio.TlsConnection.prototype.emit_accept_certificate
- Gio.TlsConnection.prototype.get_certificate
- Gio.TlsConnection.prototype.get_database
- Gio.TlsConnection.prototype.get_interaction
- Gio.TlsConnection.prototype.get_peer_certificate
- Gio.TlsConnection.prototype.get_peer_certificate_errors
- Gio.TlsConnection.prototype.get_rehandshake_mode
- Gio.TlsConnection.prototype.get_require_close_notify
- Gio.TlsConnection.prototype.get_use_system_certdb
- Gio.TlsConnection.prototype.handshake
- Gio.TlsConnection.prototype.handshake_async
- Gio.TlsConnection.prototype.handshake_finish
- Gio.TlsConnection.prototype.set_certificate
- Gio.TlsConnection.prototype.set_database
- Gio.TlsConnection.prototype.set_interaction
- Gio.TlsConnection.prototype.set_rehandshake_mode
- Gio.TlsConnection.prototype.set_require_close_notify
- Gio.TlsConnection.prototype.set_use_system_certdb