Share via


INWTcpConnectionAuthenticationDelegate Interface

Definition

This interface represents the Objective-C protocol NWTCPConnectionAuthenticationDelegate.

[Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V142) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V226) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")]
public interface INWTcpConnectionAuthenticationDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V133) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V211) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")]
public interface INWTcpConnectionAuthenticationDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V123) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V87) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")]
public interface INWTcpConnectionAuthenticationDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V86) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V65) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")]
public interface INWTcpConnectionAuthenticationDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V142) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V226) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")>]
type INWTcpConnectionAuthenticationDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V133) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V211) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")>]
type INWTcpConnectionAuthenticationDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V123) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V87) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")>]
type INWTcpConnectionAuthenticationDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="NWTCPConnectionAuthenticationDelegate", WrapperType=typeof(NetworkExtension.NWTcpConnectionAuthenticationDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldProvideIdentity", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldProvideIdentityForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ShouldEvaluateTrust", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection) }, ReturnType=typeof(System.Boolean), Selector="shouldEvaluateTrustForConnection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ProvideIdentity", ParameterBlockProxy=new System.Type[] { null, typeof(ObjCRuntime.Trampolines+NIDActionArity2V86) }, ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(System.Action<Security.SecIdentity,Foundation.NSArray>) }, Selector="provideIdentityForConnection:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EvaluateTrust", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V65) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(NetworkExtension.NWTcpConnection), typeof(Foundation.NSArray), typeof(System.Action<Security.SecTrust>) }, Selector="evaluateTrustForConnection:peerCertificateChain:completionHandler:")>]
type INWTcpConnectionAuthenticationDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
EvaluateTrust(NWTcpConnection, NSArray, Action<SecTrust>)

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

EvaluateTrustAsync(NWTcpConnection, NSArray)

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

ProvideIdentity(NWTcpConnection, Action<SecIdentity,NSArray>)

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

ShouldEvaluateTrust(NWTcpConnection)

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

ShouldProvideIdentity(NWTcpConnection)

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

Extension Methods

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

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

EvaluateTrustAsync(INWTcpConnectionAuthenticationDelegate, NWTcpConnection, NSArray)

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

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

Method 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.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to