QueryClientCertificateCallback 委托

定义

QueryClientCertificateCallback 委托获取或设置默认回调函数,该函数用于在建立 SSL 连接时指定客户端证书。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 

参数

connection
LdapConnection

一个指定连接的 LdapConnection 对象。A LdapConnection object that specifies the connection.

trustedCAs
Byte[][]

一个 Byte 数组组成的数组,指定受信任的证书颁发机构 (CA)。An array of Byte arrays that specifies the trusted certification authorities (CAs).

返回值

X509Certificate

用于在建立 SSL 连接时指定客户端证书的默认回调函数。The default callback function used to specify the client certificates while establishing an SSL connection.

继承
QueryClientCertificateCallback

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于