---
title: NWTCPConnectionAuthenticationDelegate
framework: networkextension
role: symbol
role_heading: Protocol
path: networkextension/nwtcpconnectionauthenticationdelegate
---

# NWTCPConnectionAuthenticationDelegate

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

## Declaration

```swift
protocol NWTCPConnectionAuthenticationDelegate : NSObjectProtocol
```

## Overview

Overview A delegate is not required for an NWTCPConnection object.

## Topics

### Delegate methods

- [shouldEvaluateTrust(for:)](networkextension/nwtcpconnectionauthenticationdelegate/shouldevaluatetrust(for:).md)
- [evaluateTrust(for:peerCertificateChain:completionHandler:)](networkextension/nwtcpconnectionauthenticationdelegate/evaluatetrust(for:peercertificatechain:completionhandler:).md)
- [shouldProvideIdentity(for:)](networkextension/nwtcpconnectionauthenticationdelegate/shouldprovideidentity(for:).md)
- [provideIdentity(for:completionHandler:)](networkextension/nwtcpconnectionauthenticationdelegate/provideidentity(for:completionhandler:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### TCP connections

- [NWTCPConnection](networkextension/nwtcpconnection.md)
- [NWTLSParameters](networkextension/nwtlsparameters.md)
