TLS properties for creating a connection.


class NWTLSParameters : NSObject


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

var maximumSSLProtocolVersion: Int

The maximum allowed SSLProtocol value to use when negotiating TLS


Inherits From

Conforms To

See Also

TCP Connections

class NWTCPConnection

An object to manage a TCP connection, with or without TLS.

protocol NWTCPConnectionAuthenticationDelegate

A delegate protocol to customize the TLS authentication done by a connection.

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