Skip to main content

TvxSSLClientType

TvxSSLClientType = (fstNoSSL, fstAuto, fstTLS13, fstTLS12, fstTLS11, fstTLS1, fstSSL3, fstTLS1_2, fstTLS1_1)

Example

procedure ConfigureTLS(Client: TvxHTTP);
begin
// Current source maps fstTLS12 to Indy's TLS 1.2 method.
Client.SSLClientType := fstTLS12;
end;

Usage

TvxSSLClientType selects the current Velox-to-Velox SSL/TLS client mapping, including several misleading or obsolete labels.

Members

ValueOrdinalMeaning
fstNoSSL0Label None; mapped table value is TLS 1.2 but the HTTP IO handler is detached, so the client uses no TLS.
fstAuto1Label Auto; currently maps to TLS 1.2 only, not broad automatic negotiation.
fstTLS132Label TLS v1.3; currently maps to TLS 1.2, so it does not enable TLS 1.3.
fstTLS123Label TLS v1.2; maps to TLS 1.2.
fstTLS114Label TLS v1.1; maps to TLS 1.1 (deprecated).
fstTLS15Label TLS v1; maps to TLS 1.0 (deprecated).
fstSSL36Label SSL v3; maps to SSL 3.0 (obsolete/insecure).
fstTLS1_27Legacy label old; maps to TLS 1.2.
fstTLS1_18Legacy label old; unexpectedly maps to TLS 1.2, not TLS 1.1.

Behavior and boundaries

  • fstTLS13 is a name that does not match the behaviour. Do not claim TLS 1.3 compliance from this property or UI label.
  • fstAuto is not an adaptive range in the current array; it is another TLS 1.2 selection.
  • Never use fstSSL3, fstTLS1 or fstTLS11 for a new connection. Those protocol versions are obsolete/deprecated and expose known security weaknesses.
  • fstNoSSL permits plaintext transport. Authentication credentials and bearer tokens must not be used with it.
  • Actual security also depends on certificate validation, trust store, server name verification, cipher support and the OpenSSL/Velox runtime. This enum alone proves none of those.
  • The enum is not a standards contract. Verify wire protocol independently when compliance matters.

Additional Technical Info

TvxSSLClientType is a product configuration enum mapped through IndySSLTypeArray into one TIdSSLVersion. The display labels do not reliably describe negotiation or the selected protocol.

TvxHTTP.ConfigureSSL assigns the mapped Indy method and removes the IO handler only for fstNoSSL. All other members attach the SSL handler.

Related Code Library entries

External references

Created 2026-07-15