GTlsError

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

Values

ValueMeaning
UNAVAILABLE0

No TLS provider is available

MISC1

Miscellaneous TLS error

BAD_CERTIFICATE2

A certificate could not be parsed

NOT_TLS3

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

HANDSHAKE4

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

CERTIFICATE_REQUIRED5

The TLS handshake failed because the server requested a client-side certificate, but none was provided. See g_tls_connection_set_certificate().

EOF6

The TLS connection was closed without proper notice, which may indicate an attack. See g_tls_connection_set_require_close_notify().

Meta

Since

2.28