Share via


INWTcpConnectionAuthenticationDelegate.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:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EvaluateTrust(NetworkExtension.NWTcpConnection connection, Foundation.NSArray peerCertificateChain, Action<Security.SecTrust> completion);
[<Foundation.Export("evaluateTrustForConnection:peerCertificateChain:completionHandler:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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