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) | ![]() |
---|---|
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.
Target Platforms: Microsoft .NET Framework 2.0