Edytuj

Udostępnij za pośrednictwem


INWTcpConnectionAuthenticationDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol NWTcpConnectionAuthenticationDelegate.

[Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface INWTcpConnectionAuthenticationDelegate : IDisposable, ObjCRuntime.INativeObject
type INWTcpConnectionAuthenticationDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by NWTcpConnectionAuthenticationDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the NWTcpConnectionAuthenticationDelegate protocol.

Optional methods (if any) are provided by the NWTcpConnectionAuthenticationDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension 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