NWTcpConnectionAuthenticationDelegate_Extensions.EvaluateTrust(INWTcpConnectionAuthenticationDelegate, NWTcpConnection, NSArray, Action<SecTrust>) Method

Definition

When implemented by the developer, overrides the default trust evaluation.

public static void EvaluateTrust (this NetworkExtension.INWTcpConnectionAuthenticationDelegate This, NetworkExtension.NWTcpConnection connection, Foundation.NSArray peerCertificateChain, Action<Security.SecTrust> completion);
static member EvaluateTrust : NetworkExtension.INWTcpConnectionAuthenticationDelegate * NetworkExtension.NWTcpConnection * Foundation.NSArray * Action<Security.SecTrust> -> unit

Parameters

This
INWTcpConnectionAuthenticationDelegate

The instance on which this extension method operates.

connection
NWTcpConnection
peerCertificateChain
NSArray
completion
Action<SecTrust>

Applies to