Module: Gio::TlsError

Defined in:
(unknown)

Constant Summary collapse

UNAVAILABLE =

No TLS provider is available

0 or :unavailable
MISC =

Miscellaneous TLS error

1 or :misc
BAD_CERTIFICATE =

The certificate presented could not be parsed or failed validation.

2 or :bad_certificate
NOT_TLS =

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

3 or :not_tls
HANDSHAKE =

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

4 or :handshake
CERTIFICATE_REQUIRED =

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

5 or :certificate_required
EOF =

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

6 or :eof
INAPPROPRIATE_FALLBACK =

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

7 or :inappropriate_fallback
BAD_CERTIFICATE_PASSWORD =

The certificate failed to load because a password was incorrect. Since: 2.72

8 or :bad_certificate_password