TlsError

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

Since

2.28

Entries

Link copied to clipboard

No TLS provider is available

Link copied to clipboard

Miscellaneous TLS error

Link copied to clipboard

The certificate presented could not be parsed or failed validation.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): TlsError

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.