QueryClientCertificateCallback 委托

定义

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

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 对象。

trustedCAs
Byte[][]

一个 Byte 数组组成的数组,指定受信任的证书颁发机构 (CA)。

返回值

用于在建立 SSL 连接时指定客户端证书的默认回调函数。

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。

适用于