NWTcpConnectionAuthenticationDelegate.EvaluateTrust Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes