Instance Property


The maximum allowed SSLProtocol value to use when negotiating TLS


var maximumSSLProtocolVersion: Int { get set }


Values for SSLProtocol are defined in <Security/SecureTransport.h>. If set to a non-zero value, the SSL handshake will not accept any protocol version greater than the maximum.

See Also

Accessing TLS Parameters

var tlsSessionID: Data?

The Session ID to use for the associated TCP connection

var sslCipherSuites: Set<NSNumber>?

The set of allowed cipher suites when negotiating TLS

var minimumSSLProtocolVersion: Int

The minimum allowed SSLProtocol value to use when negotiating TLS

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