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

The certificate presented could not be parsed or failed validation.

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().

INAPPROPRIATE_FALLBACK7

The TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack. Since: 2.60

Meta

Since

2.28