Skip to content
Andrew Lambert edited this page Nov 26, 2022 · 6 revisions

libcURL.SSLVersion

Enumeration

Protected Enum SSLVersion
  Default
  TLSv1
  //SSLv2
  //SSLv3
  TLSv1_0
  TLSv1_1
  TLSv1_2
  TLSv1_3
  Max_TLSv1_0
  Max_TLSv1_1
  Max_TLSv1_2
  Max_TLSv1_3
  Max_Default

Remarks

Used in the EasyHandle class to control the use of SSL/TLS.

SSLVersion enum members

Name Comment
Default Let libcURL decide which SSL version to use.
TLSv1 TLS version 1.x
TLSv1_0 TLS version 1.0 only (libcURL >=7.34.0)
TLSv1_1 TLS version 1.1 only (libcURL >=7.34.0)
TLSv1_2 TLS version 1.2 only (libcURL >=7.34.0)
TLSv1_3 TLS version 1.3 only (libcURL >=7.52.0)
SSLv2 SSL version 2.x Deprecated. Do Not Use
SSLv3 SSL version 3.x Deprecated. Do Not Use
Max_TLSv1_0 TLSv1.0 is the highest supported version (libcURL >=7.54.0)
Max_TLSv1_1 TLSv1.1 is the highest supported version (libcURL >=7.54.0)
Max_TLSv1_2 TLSv1.2 is the highest supported version (libcURL >=7.54.0)
Max_TLSv1_3 TLSv1.3 is the highest supported version (libcURL >=7.54.0)
Max_Default Equivalent to Max_TLSv1_2 (libcURL < 7.61.0) or Max_TLSv1_3 (libcurl >= 7.61.0)
Clone this wiki locally