VerifyServerCertificateCallback Делегат
Определение
Делегат VerifyServerCertificateCallback возвращает или задает функцию обратного вызова, используемую по умолчанию для проверки серверных сертификатов при установке SSL-соединения.The VerifyServerCertificateCallback delegate gets or sets the default callback function used to verify server certificates when establishing an SSL connection.
public delegate bool VerifyServerCertificateCallback(LdapConnection ^ connection, X509Certificate ^ certificate);
public delegate bool VerifyServerCertificateCallback(LdapConnection connection, X509Certificate certificate);
type VerifyServerCertificateCallback = delegate of LdapConnection * X509Certificate -> bool
Public Delegate Function VerifyServerCertificateCallback(connection As LdapConnection, certificate As X509Certificate) As Boolean
Параметры
- connection
- LdapConnection
Объект LdapConnection, задающий соединение.A LdapConnection object that specifies the connection.
- certificate
- X509Certificate
Объект X509Certificate, который задает серверный сертификат.A X509Certificate object that specifies the server certificate.
Возвращаемое значение
true
, если клиент утверждает серверный сертификат; в противном случае — false
.true
if the client approves the server certificate; otherwise false
.
- Наследование
Методы расширения
GetMethodInfo(Delegate) |
Получает объект, представляющий метод, представленный указанным делегатом.Gets an object that represents the method represented by the specified delegate. |