Protocol

NWTCPConnectionAuthenticationDelegate

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

Declaration

@protocol NWTCPConnectionAuthenticationDelegate

Overview

A delegate is not required for an NWTCPConnection object.

Topics

Delegate Methods

- shouldEvaluateTrustForConnection:

Indicate that the delegate should override the default trust evaluation for the connection

- evaluateTrustForConnection:peerCertificateChain:completionHandler:

Override the default trust evaluation for the connection

- shouldProvideIdentityForConnection:

Indicate that the delegate can provide an identity for the connection authentication

- provideIdentityForConnection:completionHandler:

Provide the identity and an optional certificate chain to be used for authentication

Relationships

Inherits From

See Also

TCP Connections

NWTCPConnection

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

NWTLSParameters

TLS properties for creating 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