編輯

共用方式為


NWTcpConnectionAuthenticationDelegate_Extensions.EvaluateTrust 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