EPUB | CHM | PDF

TMySQLDatabase.Properties.SSLProperties.TLSVersion

Top Previous Next

TLS protocol version.

Syntax:

property TLSVersion: TTLSVersion;
type
TTLSVersion = (tlsAuto, tls1, tls1_1, tls1_2);

Description:

TLSVersion is an enum property that represents the Transport Layer Security (TLS) cryptographic protocol version that will be used for a session.

tlsAuto

Default and preferred value. Higher possible version is used. For OpenSSL earlier than 1.1 the tlsAuto = tlsv1_2. Thus, you will need to specify the concrete version in case of lower TLS version used.

tls1

TLS version 1.0.

tls1_1

TLS version 1.1.

tls1_2

TLS version 1.2.

 

Don't forget to add MySQLTypes to your uses section.

 
See also: IsSSLUsed, ConnectOptions SSLCert, SSLKey, SSLCACert, SSLLibName, SSLCryptoLibName, TLSCipherList properties