An error code used with G_TLS_ERROR in a
<GError> returned from a TLS-related routine.
unavailableNo TLS provider is available
miscMiscellaneous TLS error
bad-certificateThe certificate presented could not be parsed or failed validation.
not-tlsThe TLS handshake failed because the peer does not seem to be a TLS server.
handshakeThe TLS handshake failed because the peer’s certificate was not acceptable.
certificate-requiredThe TLS handshake failed because the server requested a client-side
certificate, but none was provided. See tls-connection:set-certificate.
eofThe TLS connection was closed without proper notice, which may indicate
an attack. See tls-connection:set-require-close-notify.
inappropriate-fallbackThe TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack. Since: 2.60
bad-certificate-passwordThe certificate failed to load because a password was incorrect. Since: 2.72
Gets the TLS error quark.
Returned: an unsigned 32-bit integer.
a GQuark.