Gjsify LogoGjsify Logo

Enumeration TlsProtocolVersion

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.

Index

Enumeration Members

DTLS_1_0: number

DTLS 1.0, which is insecure and should not be used

DTLS_1_2: number

DTLS 1.2, defined by RFC 6347

SSL_3_0: number

SSL 3.0, which is insecure and should not be used

TLS_1_0: number

TLS 1.0, which is insecure and should not be used

TLS_1_1: number

TLS 1.1, which is insecure and should not be used

TLS_1_2: number

TLS 1.2, defined by RFC 5246

TLS_1_3: number

TLS 1.3, defined by RFC 8446

UNKNOWN: number

No protocol version or unknown protocol version

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method