:right-sidebar: True TlsProtocolVersion =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.70 .. class:: TlsProtocolVersion :no-contents-entry: The TLS or DTLS protocol version used by a :obj:`~gi.repository.Gio.TlsConnection` or :obj:`~gi.repository.Gio.DtlsConnection`\. The integer values of these versions are sequential to ensure newer known protocol versions compare greater than older known versions. Any known DTLS protocol version will compare greater than any SSL or TLS protocol version. The protocol version may be :const:`~gi.repository.Gio.TlsProtocolVersion.UNKNOWN` if the TLS backend supports a newer protocol version that GLib does not yet know about. This means that it's possible for an unknown DTLS protocol version to compare less than the TLS protocol versions. Fields ------ .. rst-class:: interim-class .. class:: TlsProtocolVersion :no-index: .. attribute:: DTLS_1_0 The type of the None singleton. .. attribute:: DTLS_1_2 The type of the None singleton. .. attribute:: SSL_3_0 The type of the None singleton. .. attribute:: TLS_1_0 The type of the None singleton. .. attribute:: TLS_1_1 The type of the None singleton. .. attribute:: TLS_1_2 The type of the None singleton. .. attribute:: TLS_1_3 The type of the None singleton. .. attribute:: UNKNOWN The type of the None singleton.