C# Класс Ipop.CertificatePolicy

Provides the ability to do https (ssl) transactions via web services and to trust the remote party.
Наследование: ICertificatePolicy
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_certs System.Collections.Hashtable
_old_policy ICertificatePolicy
_sync object

Открытые методы

Метод Описание
CheckValidationResult ( ServicePoint service_point, X509Certificate cert, WebRequest request, int cert_problem ) : bool

Returns true if we have registered the certificate. Calls the next ICertificatePolicy if we fail.

Register ( X509Certificate cert ) : void

Register an x509 certificate.

UnRegister ( X509Certificate cert ) : void

Unregister an x509 certificate.

Приватные методы

Метод Описание
CertificatePolicy ( ) : Brunet

Описание методов

CheckValidationResult() публичный Метод

Returns true if we have registered the certificate. Calls the next ICertificatePolicy if we fail.
public CheckValidationResult ( ServicePoint service_point, X509Certificate cert, WebRequest request, int cert_problem ) : bool
service_point System.Net.ServicePoint
cert System.Security.Cryptography.X509Certificates.X509Certificate
request System.Net.WebRequest
cert_problem int
Результат bool

Register() публичный статический Метод

Register an x509 certificate.
public static Register ( X509Certificate cert ) : void
cert System.Security.Cryptography.X509Certificates.X509Certificate
Результат void

UnRegister() публичный статический Метод

Unregister an x509 certificate.
public static UnRegister ( X509Certificate cert ) : void
cert System.Security.Cryptography.X509Certificates.X509Certificate
Результат void

Описание свойств

_certs защищенное статическое свойство

protected static Hashtable,System.Collections _certs
Результат System.Collections.Hashtable

_old_policy защищенное статическое свойство

If we can't return a true for a security exchange, let's pass the request to the default (original) ICertificatePolicy
protected static ICertificatePolicy _old_policy
Результат ICertificatePolicy

_sync защищенное статическое свойство

protected static object _sync
Результат object