4.36 <GTlsError>

Enumeration: <GTlsError>

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

Members

unavailable

No TLS provider is available

misc

Miscellaneous TLS error

bad-certificate

The certificate presented could not be parsed or failed validation.

not-tls

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

handshake

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

certificate-required

The TLS handshake failed because the server requested a client-side certificate, but none was provided. See tls-connection:set-certificate.

eof

The TLS connection was closed without proper notice, which may indicate an attack. See tls-connection:set-require-close-notify.

inappropriate-fallback

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

bad-certificate-password

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

Procedures

Procedure: tls-error:quark ⇒ %return

Gets the TLS error quark.

%return

Returned: an unsigned 32-bit integer.

a GQuark.