C# 클래스 Ipop.CertificatePolicy

Provides the ability to do https (ssl) transactions via web services and to trust the remote party.
상속: ICertificatePolicy
파일 보기 프로젝트 열기: pstjuste/brunet

보호된 프로퍼티들

프로퍼티 타입 설명
_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