편집

다음을 통해 공유


NWTcpConnectionAuthenticationDelegate_Extensions Class

Definition

Extension methods to the INWTcpConnectionAuthenticationDelegate interface to support all the methods from the NWTcpConnectionAuthenticationDelegate protocol.

public static class NWTcpConnectionAuthenticationDelegate_Extensions
type NWTcpConnectionAuthenticationDelegate_Extensions = class
Inheritance
NWTcpConnectionAuthenticationDelegate_Extensions

Remarks

The extension methods for INWTcpConnectionAuthenticationDelegate allow developers to treat instances of the interface as having all the optional methods of the original NWTcpConnectionAuthenticationDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

EvaluateTrust(INWTcpConnectionAuthenticationDelegate, NWTcpConnection, NSArray, Action<SecTrust>)

When implemented by the developer, overrides the default trust evaluation.

EvaluateTrustAsync(INWTcpConnectionAuthenticationDelegate, NWTcpConnection, NSArray)

When implemented by the developer, returns a task that overrides the default trust evaluation.

ProvideIdentity(INWTcpConnectionAuthenticationDelegate, NWTcpConnection, Action<SecIdentity,NSArray>)

ethod that is called to provide an identity and an optional certificate.

ShouldEvaluateTrust(INWTcpConnectionAuthenticationDelegate, NWTcpConnection)

Method that is called to inform the delegate that it should evaluate trust.

ShouldProvideIdentity(INWTcpConnectionAuthenticationDelegate, NWTcpConnection)

Method that is called to inform the delegate that it should provide identity information.

Applies to