C# Class hMailServer.Core.IntegrationTests.SmtpServerTests

Exibir arquivo Open project: hmailserver/hmailserver-net

Public Methods

Method Description
ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool

Private Methods

Method Description
TestSmtpEndToEnd ( ) : void
TestSmtpEndToEndWithSsl ( ) : void

Method Details

ValidateServerCertificate() public static method

public static ValidateServerCertificate ( 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