C# Class Ipop.CertificatePolicy

Provides the ability to do https (ssl) transactions via web services and to trust the remote party.
Inheritance: ICertificatePolicy
Afficher le fichier Open project: pstjuste/brunet

Protected Properties

Свойство Type Description
_certs System.Collections.Hashtable
_old_policy ICertificatePolicy
_sync object

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
CertificatePolicy ( ) : Brunet

Method Details

CheckValidationResult() public méthode

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
Résultat bool

Register() public static méthode

Register an x509 certificate.
public static Register ( X509Certificate cert ) : void
cert System.Security.Cryptography.X509Certificates.X509Certificate
Résultat void

UnRegister() public static méthode

Unregister an x509 certificate.
public static UnRegister ( X509Certificate cert ) : void
cert System.Security.Cryptography.X509Certificates.X509Certificate
Résultat void

Property Details

_certs protected_oe static_oe property

protected static Hashtable,System.Collections _certs
Résultat System.Collections.Hashtable

_old_policy protected_oe static_oe property

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
Résultat ICertificatePolicy

_sync protected_oe static_oe property

protected static object _sync
Résultat object