C# Class Halibut.Transport.SecureListener

Afficher le fichier Open project: OctopusDeploy/Halibut

Méthodes publiques

Méthode Description
Dispose ( ) : void
SecureListener ( IPEndPoint endPoint, X509Certificate2 serverCertificate, Action protocolHandler, Predicate verifyClientThumbprint, ILogFactory logFactory, Func getFriendlyHtmlPageContent ) : System
Start ( ) : int

Private Methods

Méthode Description
Accept ( ) : Task
AcceptAnySslCertificate ( object sender, X509Certificate clientCertificate, X509Chain chain, SslPolicyErrors sslpolicyerrors ) : bool
Authorize ( SslStream stream, EndPoint clientName ) : bool
EnsureCertificateIsValidForListening ( X509Certificate2 certificate ) : void
ExchangeMessages ( SslStream stream ) : void
ExecuteRequest ( TcpClient client ) : void
HandleClient ( TcpClient client ) : void
ReadInitialRequest ( Stream stream ) : string
SendFriendlyHtmlPage ( Stream stream ) : void
SetHandleInformation ( IntPtr hObject, HANDLE_FLAGS dwMask, HANDLE_FLAGS dwFlags ) : bool

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

SecureListener() public méthode

public SecureListener ( IPEndPoint endPoint, X509Certificate2 serverCertificate, Action protocolHandler, Predicate verifyClientThumbprint, ILogFactory logFactory, Func getFriendlyHtmlPageContent ) : System
endPoint System.Net.IPEndPoint
serverCertificate System.Security.Cryptography.X509Certificates.X509Certificate2
protocolHandler Action
verifyClientThumbprint Predicate
logFactory ILogFactory
getFriendlyHtmlPageContent Func
Résultat System

Start() public méthode

public Start ( ) : int
Résultat int