Editar

Compartilhar via


QueryClientCertificateCallback Delegate

Definition

The QueryClientCertificateCallback delegate gets or sets the default callback function used to specify the client certificates while establishing an SSL connection.

public delegate System::Security::Cryptography::X509Certificates::X509Certificate ^ QueryClientCertificateCallback(LdapConnection ^ connection, cli::array <cli::array <System::Byte> ^> ^ trustedCAs);
public delegate System.Security.Cryptography.X509Certificates.X509Certificate QueryClientCertificateCallback(LdapConnection connection, byte[][] trustedCAs);
type QueryClientCertificateCallback = delegate of LdapConnection * byte[][] -> X509Certificate
Public Delegate Function QueryClientCertificateCallback(connection As LdapConnection, trustedCAs As Byte()()) As X509Certificate 

Parameters

connection
LdapConnection

A LdapConnection object that specifies the connection.

trustedCAs
Byte[][]

An array of Byte arrays that specifies the trusted certification authorities (CAs).

Return Value

The default callback function used to specify the client certificates while establishing an SSL connection.

Extension Methods

GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to