<!--
{
  "availability" : [
    "iOS: 9.0.0 - 18.0.0",
    "iPadOS: 9.0.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.11.0 - 15.0.0",
    "tvOS: 17.0.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NWTCPConnectionAuthenticationDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(pl)NWTCPConnectionAuthenticationDelegate"
  },
  "title" : "NWTCPConnectionAuthenticationDelegate"
}
-->

# NWTCPConnectionAuthenticationDelegate

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

```
protocol NWTCPConnectionAuthenticationDelegate : NSObjectProtocol
```

## Overview

A delegate is not required for an [`NWTCPConnection`](/documentation/NetworkExtension/NWTCPConnection) object.

## Topics

### Delegate methods

[`shouldEvaluateTrust(for:)`](/documentation/NetworkExtension/NWTCPConnectionAuthenticationDelegate/shouldEvaluateTrust(for:))

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

[`evaluateTrust(for:peerCertificateChain:completionHandler:)`](/documentation/NetworkExtension/NWTCPConnectionAuthenticationDelegate/evaluateTrust(for:peerCertificateChain:completionHandler:))

Override the default trust evaluation for the connection.

[`shouldProvideIdentity(for:)`](/documentation/NetworkExtension/NWTCPConnectionAuthenticationDelegate/shouldProvideIdentity(for:))

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

[`provideIdentity(for:completionHandler:)`](/documentation/NetworkExtension/NWTCPConnectionAuthenticationDelegate/provideIdentity(for:completionHandler:))

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)