enum Gio::TlsProtocolVersion
Overview
The TLS or DTLS protocol version used by a #GTlsConnection or #GDtlsConnection. 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.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/gio.crEnum Members
-
Unknown =
0_u32
-
No protocol version or unknown protocol version
-
Ssl30 =
1_u32
-
SSL 3.0, which is insecure and should not be used
-
Tls10 =
2_u32
-
TLS 1.0, which is insecure and should not be used
-
Tls11 =
3_u32
-
TLS 1.1, which is insecure and should not be used
-
Tls12 =
4_u32
-
TLS 1.2, defined by RFC 5246
-
Tls13 =
5_u32
-
TLS 1.3, defined by RFC 8446
-
Dtls10 =
201_u32
-
DTLS 1.0, which is insecure and should not be used
-
Dtls12 =
202_u32
-
DTLS 1.2, defined by RFC 6347
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.