Enumeration
GioTlsError
since: 2.28
Description [src]
An error code used with G_TLS_ERROR
in a GError
returned from a
TLS-related routine.
Available since: 2.28
Members
-
G_TLS_ERROR_UNAVAILABLE
-
No TLS provider is available.
- Value:
0
- Available since: 2.28
- Value:
-
G_TLS_ERROR_MISC
-
Miscellaneous TLS error.
- Value:
1
- Available since: 2.28
- Value:
-
G_TLS_ERROR_BAD_CERTIFICATE
-
The certificate presented could not be parsed or failed validation.
- Value:
2
- Available since: 2.28
- Value:
-
G_TLS_ERROR_NOT_TLS
-
The TLS handshake failed because the peer does not seem to be a TLS server.
- Value:
3
- Available since: 2.28
- Value:
-
G_TLS_ERROR_HANDSHAKE
-
The TLS handshake failed because the peer’s certificate was not acceptable.
- Value:
4
- Available since: 2.28
- Value:
-
G_TLS_ERROR_CERTIFICATE_REQUIRED
-
The TLS handshake failed because the server requested a client-side certificate, but none was provided. See g_tls_connection_set_certificate().
- Value:
5
- Available since: 2.28
- Value:
-
G_TLS_ERROR_EOF
-
The TLS connection was closed without proper notice, which may indicate an attack. See g_tls_connection_set_require_close_notify().
- Value:
6
- Available since: 2.28
- Value:
-
G_TLS_ERROR_INAPPROPRIATE_FALLBACK
-
The TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack. Since: 2.60.
- Value:
7
- Available since: 2.28
- Value:
-
G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD
-
The certificate failed to load because a password was incorrect. Since: 2.72.
- Value:
8
- Available since: 2.28
- Value: