C# Class BugzillaInterface.SecurityCertificateHandler

Handles the cases when the user's computer does not have the root certificates for the https bugzilla server.
Datei anzeigen Open project: skyronic/splatter Class Usage Examples

Public Properties

Property Type Description
PromptMethod SecurityCertificateHandler.PromptUser

Public Methods

Method Description
Initialize ( ) : void

Protected Methods

Method Description
RemoteCertificateValidationCallback ( Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Method Details

Initialize() public static method

public static Initialize ( ) : void
return void

RemoteCertificateValidationCallback() protected method

protected RemoteCertificateValidationCallback ( Object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
sender Object
certificate System.Security.Cryptography.X509Certificates.X509Certificate
chain System.Security.Cryptography.X509Certificates.X509Chain
sslPolicyErrors SslPolicyErrors
return bool

Property Details

PromptMethod public_oe static_oe property

A SecurityCertificates.PromptUser, possibly provided by the UI which should prompt the user about signing onto some possibly mistrusted https:// link.
public static SecurityCertificateHandler.PromptUser PromptMethod
return SecurityCertificateHandler.PromptUser