| Value | Meaning |
|---|---|
| Unavailable0 | No TLS provider is available |
| Misc1 | Miscellaneous TLS error |
| BadCertificate2 | The certificate presented could not be parsed or failed validation. |
| NotTls3 | 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. |
| CertificateRequired5 | The TLS handshake failed because the server requested a client-side certificate, but none was provided. See gio.tls_connection.TlsConnection.setCertificate. |
| Eof6 | The TLS connection was closed without proper notice, which may indicate an attack. See gio.tls_connection.TlsConnection.setRequireCloseNotify. |
| InappropriateFallback7 | The TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack. Since: 2.60 |
| BadCertificatePassword8 | The certificate failed to load because a password was incorrect. Since: 2.72 |
An error code used with G_TLS_ERROR in a #GError returned from a TLS-related routine.