TlsProtocolVersion


Description:

[ CCode ( cprefix = "G_TLS_PROTOCOL_VERSION_" , type_id = "g_tls_protocol_version_get_type ()" ) ]
[ Version ( since = "2.70" ) ]
public enum TlsProtocolVersion

The TLS or DTLS protocol version used by a TlsConnection or 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 g_tls_protocol_version_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.


Namespace: GLib
Package: gio-2.0

Content:

Enum values: