TlsError
Description:
[ CCode ( cprefix = "G_TLS_ERROR_" , type_id = "g_tls_error_get_type ()" ) ]
[ Version ( since = "2.28" ) ]
public errordomain TlsError
An error code used with g_tls_error in a Error returned
from a TLS-related routine.
Content:
Error codes:
- BAD_CERTIFICATE - The certificate
presented could not be parsed or failed validation.
- BAD_CERTIFICATE_PASSWORD -
The certificate failed to load because a password was incorrect.
- CERTIFICATE_REQUIRED - The
TLS handshake failed because the server requested a client-side certificate, but none was provided.
- EOF - The TLS connection was closed without
proper notice, which may indicate an attack.
- HANDSHAKE - The TLS handshake failed
because the peer's certificate was not acceptable.
- INAPPROPRIATE_FALLBACK -
The TLS handshake failed because the client sent the fallback SCSV, indicating a protocol downgrade attack.
- MISC - Miscellaneous TLS error
- NOT_TLS - The TLS handshake failed because
the peer does not seem to be a TLS server.
- UNAVAILABLE - No TLS provider is
available
Static methods: