C# Class CmisSync.CertPolicyHandler

Inheritance: ICertificatePolicy
Mostrar archivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Private Properties

Property Type Description
GetCertificateHR string
GetProblemMessage string

Public Methods

Method Description
CertPolicyHandler ( ) : System
CheckValidationResult ( ServicePoint sp, X509Certificate certificate, WebRequest request, int error ) : bool
ShowWindow ( ) : void

Show User Interaction Window

Private Methods

Method Description
GetCertificateHR ( X509Certificate x509 ) : string

Return a human readable string, describing the general Cert properties.

GetProblemMessage ( CertificateProblem problem ) : string

Method Details

CertPolicyHandler() public method

public CertPolicyHandler ( ) : System
return System

CheckValidationResult() public method

public CheckValidationResult ( ServicePoint sp, X509Certificate certificate, WebRequest request, int error ) : bool
sp System.Net.ServicePoint
certificate System.Security.Cryptography.X509Certificates.X509Certificate
request System.Net.WebRequest
error int
return bool

ShowWindow() public method

Show User Interaction Window
public ShowWindow ( ) : void
return void