Gio.TlsError

An error code used with %G_TLS_ERROR in a GLib.Error returned from a TLS-related routine.

Since 2.28

TlsError.UNAVAILABLE

No TLS provider is available

TlsError.MISC

Miscellaneous TLS error

TlsError.BAD_CERTIFICATE

A certificate could not be parsed

TlsError.NOT_TLS

The TLS handshake failed because the peer does not seem to be a TLS server.

TlsError.HANDSHAKE

The TLS handshake failed because the peer's certificate was not acceptable.

TlsError.CERTIFICATE_REQUIRED

The TLS handshake failed because the server requested a client-side certificate, but none was provided. See Gio.TlsConnection.prototype.set_certificate.

TlsError.EOF

The TLS connection was closed without proper notice, which may indicate an attack. See Gio.TlsConnection.prototype.set_require_close_notify.