C# Class System.Net.Security.Tests.SslStreamSystemDefaultTest.TestBase

Inheritance: IDisposable
Datei anzeigen Open project: dotnet/corefx

Protected Properties

Property Type Description
_clientStream SslStream
_serverStream SslStream

Public Methods

Method Description
Dispose ( ) : void
RunTest ( ) : System.Threading.Tasks.Task
TestBase ( ) : System.Net.Test.Common

Protected Methods

Method Description
AuthenticateClient ( string targetHost, X509CertificateCollection clientCertificates, bool checkCertificateRevocation ) : System.Threading.Tasks.Task
AuthenticateServer ( X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation ) : System.Threading.Tasks.Task

Private Methods

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

Method Details

AuthenticateClient() protected abstract method

protected abstract AuthenticateClient ( string targetHost, X509CertificateCollection clientCertificates, bool checkCertificateRevocation ) : System.Threading.Tasks.Task
targetHost string
clientCertificates System.Security.Cryptography.X509Certificates.X509CertificateCollection
checkCertificateRevocation bool
return System.Threading.Tasks.Task

AuthenticateServer() protected abstract method

protected abstract AuthenticateServer ( X509Certificate serverCertificate, bool clientCertificateRequired, bool checkCertificateRevocation ) : System.Threading.Tasks.Task
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate
clientCertificateRequired bool
checkCertificateRevocation bool
return System.Threading.Tasks.Task

Dispose() public method

public Dispose ( ) : void
return void

RunTest() public method

public RunTest ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

TestBase() public method

public TestBase ( ) : System.Net.Test.Common
return System.Net.Test.Common

Property Details

_clientStream protected_oe property

protected SslStream _clientStream
return SslStream

_serverStream protected_oe property

protected SslStream _serverStream
return SslStream