SSLSocket.ConnectionType

From Xojo Documentation
Jump to: navigation, search
Property (As Integer)
aSSLSocket.ConnectionType = newIntegerValue
or
IntegerValue = aSSLSocket.ConnectionType

Specifies the type of SSL connection.

Notes

ConnectionType can take the following SSLSocket class constants:

Class Constant Value Description
SSLv2 0 SSL (Secure Sockets Layer) version 2.
SSLv23 1 SSL version 3, but can roll back to 2 if needed.
SSLv3 2 SSL version 3.
TLSv1 3 TLS (Transport Layer Security) version 1. (default)
TLSv11 4 TLS (Transport Layer Security) version 1.1
TLSv12 5 TLS (Transport Layer Security) version 1.2

The default is TLSv1. If you need to change the connection type, close the connection first.

Example

This example changes the connection type to SSLv3.

Socket1.ConnectionType = SSLSocket.SSLv3
Personal tools
Namespaces

Variants
Actions
Main
Documentation
Community
Toolbox
Help