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
| Value | Ordinal | Meaning |
|---|---|---|
fstNoSSL | 0 | Label None; mapped table value is TLS 1.2 but the HTTP IO handler is detached, so the client uses no TLS. |
fstAuto | 1 | Label Auto; currently maps to TLS 1.2 only, not broad automatic negotiation. |
fstTLS13 | 2 | Label TLS v1.3; currently maps to TLS 1.2, so it does not enable TLS 1.3. |
fstTLS12 | 3 | Label TLS v1.2; maps to TLS 1.2. |
fstTLS11 | 4 | Label TLS v1.1; maps to TLS 1.1 (deprecated). |
fstTLS1 | 5 | Label TLS v1; maps to TLS 1.0 (deprecated). |
fstSSL3 | 6 | Label SSL v3; maps to SSL 3.0 (obsolete/insecure). |
fstTLS1_2 | 7 | Legacy label old; maps to TLS 1.2. |
fstTLS1_1 | 8 | Legacy label old; unexpectedly maps to TLS 1.2, not TLS 1.1. |
Behavior and boundaries
fstTLS13is a name that does not match the behaviour. Do not claim TLS 1.3 compliance from this property or UI label.fstAutois not an adaptive range in the current array; it is another TLS 1.2 selection.- Never use
fstSSL3,fstTLS1orfstTLS11for a new connection. Those protocol versions are obsolete/deprecated and expose known security weaknesses. fstNoSSLpermits 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
- TvxHTTP.SSLClientType - direct client property and handler effect.
- TvxHTTP.Certificate - separate certificate configuration input.
- TvxHTTP.AuthType - credentials that require protected transport.
External references
- RFC 8446 TLS 1.3 - TLS 1.3 protocol specification.
- RFC 8996 TLS deprecation - deprecates TLS 1.0 and TLS 1.1.
- Embarcadero enumerated types - Delphi ordinal semantics.
- Free Pascal ordinal types - compatible enumeration concepts.