C# Class System.Net.Security.Tests.SslStreamAllowedProtocolsTest

Datei anzeigen Open project: dotnet/corefx

Protected Methods

Method Description
AuthenticateAsClient ( SslStream stream, bool waitForCompletion, string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation ) : void

Private Methods

Method Description
SslStream_AuthenticateAsClientAsync_AllSupported_Success ( ) : void
SslStream_AuthenticateAsClientAsync_AllUnsupported_Fails ( ) : void
SslStream_AuthenticateAsClientAsync_Default_Success ( ) : void
SslStream_AuthenticateAsClientAsync_Invalid_Fails ( ) : void
SslStream_AuthenticateAsClientAsync_None_Success ( ) : void
SslStream_AuthenticateAsClientAsync_NotSupported_Fails ( SslProtocols protocol ) : void
SslStream_AuthenticateAsClientAsync_Supported_Success ( SslProtocols protocol ) : void
SslStream_AuthenticateAsClient_Invalid_Fails ( ) : void
SslStream_AuthenticateAsClient_Supported_Success ( SslProtocols protocol ) : void

Method Details

AuthenticateAsClient() protected abstract method

protected abstract AuthenticateAsClient ( SslStream stream, bool waitForCompletion, string targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, bool checkCertificateRevocation ) : void
stream SslStream
waitForCompletion bool
targetHost string
clientCertificates System.Security.Cryptography.X509Certificates.X509CertificateCollection
enabledSslProtocols SslProtocols
checkCertificateRevocation bool
return void