pub type GTlsError = c_uint;
Expand description
GTlsError: @G_TLS_ERROR_UNAVAILABLE: No TLS provider is available @G_TLS_ERROR_MISC: Miscellaneous TLS error @G_TLS_ERROR_BAD_CERTIFICATE: The certificate presented could not be parsed or failed validation. @G_TLS_ERROR_NOT_TLS: The TLS handshake failed because the peer does not seem to be a TLS server. @G_TLS_ERROR_HANDSHAKE: The TLS handshake failed because the peer’s certificate was not acceptable. @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(). @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(). @G_TLS_ERROR_INAPPROPRIATE_FALLBACK: The TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack. Since: 2.60 @G_TLS_ERROR_BAD_CERTIFICATE_PASSWORD: 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.
Since: 2.28