PowerTCP Telnet for .NET CF
LocalCertificateSelectionCallback Delegate
See Also  Send comments on this topic.
Dart.Common Namespace : LocalCertificateSelectionCallback Delegate




sender
An object that contains state information for this validation.
targetHost
The host server specified by the client.
localCertificates
An X509CertificateCollection containing local certificates.
remoteCertificate
The certificate used to authenticate the remote party.
acceptableIssuers
A String array of certificate issuers acceptable to the remote party.
Selects the local Secure Sockets Layer (SSL) certificate used for authentication.

Syntax

Visual Basic (Declaration) 
Public Delegate Function LocalCertificateSelectionCallback( _
   ByVal sender As Object, _
   ByVal targetHost As String, _
   ByVal localCertificates As X509CertificateCollection, _
   ByVal remoteCertificate As X509Certificate, _
   ByVal acceptableIssuers() As String _
) As X509Certificate
Visual Basic (Usage)Copy Code
Dim instance As New LocalCertificateSelectionCallback(AddressOf HandlerMethod)
C# 
public delegate X509Certificate LocalCertificateSelectionCallback( 
   object sender,
   string targetHost,
   X509CertificateCollection localCertificates,
   X509Certificate remoteCertificate,
   string[] acceptableIssuers
)
Managed Extensions for C++ 
public: __gc __delegate X509Certificate* LocalCertificateSelectionCallback( 
   Object* sender,
   string* targetHost,
   X509CertificateCollection* localCertificates,
   X509Certificate* remoteCertificate,
   string*[]* acceptableIssuers
)
C++/CLI 
public delegate X509Certificate^ LocalCertificateSelectionCallback( 
   Object^ sender,
   String^ targetHost,
   X509CertificateCollection^ localCertificates,
   X509Certificate^ remoteCertificate,
   array<String^>^ acceptableIssuers
)

Parameters

sender
An object that contains state information for this validation.
targetHost
The host server specified by the client.
localCertificates
An X509CertificateCollection containing local certificates.
remoteCertificate
The certificate used to authenticate the remote party.
acceptableIssuers
A String array of certificate issuers acceptable to the remote party.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.