Edit

Share via


NWTcpConnectionAuthenticationDelegate.EvaluateTrust Method

Definition

When implemented by the developer, overrides the default trust evaluation and runs a completion handler when the operation is complete.

[Foundation.Export("evaluateTrustForConnection:peerCertificateChain:completionHandler:")]
public virtual void EvaluateTrust (NetworkExtension.NWTcpConnection connection, Foundation.NSArray peerCertificateChain, Action<Security.SecTrust> completion);
abstract member EvaluateTrust : NetworkExtension.NWTcpConnection * Foundation.NSArray * Action<Security.SecTrust> -> unit
override this.EvaluateTrust : NetworkExtension.NWTcpConnection * Foundation.NSArray * Action<Security.SecTrust> -> unit

Parameters

connection
NWTcpConnection
peerCertificateChain
NSArray
completion
Action<SecTrust>
Attributes

Applies to