C# Class Mycroft.Server.TlsServer

Inheritance: TcpServer
Exibir arquivo Open project: rit-sse-mycroft/core Class Usage Examples

Public Methods

Method Description
TlsServer ( IPAddress addr, Int32 port, X509Certificate cert ) : System

Protected Methods

Method Description
CreateConnection ( TcpClient client ) : CommandConnection

Creates an SSL stream that manages the connection

Private Methods

Method Description
FormatCertificateThumbprint ( string thumbprint ) : string

Formats a SHA-1 hash of the certificate (thumbprint) to be used for searching in the user's certificate store

Method Details

CreateConnection() protected method

Creates an SSL stream that manages the connection
protected CreateConnection ( TcpClient client ) : CommandConnection
client System.Net.Sockets.TcpClient
return Mycroft.App.CommandConnection

TlsServer() public method

public TlsServer ( IPAddress addr, Int32 port, X509Certificate cert ) : System
addr System.Net.IPAddress
port System.Int32
cert System.Security.Cryptography.X509Certificates.X509Certificate
return System