Share via


NWTcpConnectionAuthenticationDelegate_Extensions.EvaluateTrust Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void EvaluateTrust(this NetworkExtension.INWTcpConnectionAuthenticationDelegate This, NetworkExtension.NWTcpConnection connection, Foundation.NSArray peerCertificateChain, Action<Security.SecTrust> completion);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member EvaluateTrust : NetworkExtension.INWTcpConnectionAuthenticationDelegate * NetworkExtension.NWTcpConnection * Foundation.NSArray * Action<Security.SecTrust> -> unit

Parameters

connection
NWTcpConnection
peerCertificateChain
NSArray
completion
Action<SecTrust>
Attributes

Applies to