TlsProtocolVersion
Added in version 2.70.
- class 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
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
- class TlsProtocolVersion
- DTLS_1_0
DTLS 1.0, which is insecure and should not be used
- SSL_3_0
SSL 3.0, which is insecure and should not be used
- TLS_1_0
TLS 1.0, which is insecure and should not be used
- TLS_1_1
TLS 1.1, which is insecure and should not be used
- UNKNOWN
No protocol version or unknown protocol version