Instance Property

tlsMaximumSupportedProtocol

The maximum TLS protocol version that the client should request when making connections in this session.

Declaration

var tlsMaximumSupportedProtocol: SSLProtocol { get set }

Discussion

This property determines the maximum supported TLS protocol version for tasks within sessions based on this configuration.

The value of this property as of iOS 10 and macOS 10.12 is SSLProtocol.sslProtocolUnknown, which is interpreted as meaning the system default. The system default is the latest version of TLS supported by the operating system. See the SSLProtocol enumerated type for additional values.

See Also

Setting Security Policies

var tlsMinimumSupportedProtocol: SSLProtocol

The minimum TLS protocol that should be accepted during protocol negotiation.

var urlCredentialStorage: URLCredentialStorage?

A credential store that provides credentials for authentication.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software