C# Class Dicom.Network.TlsServerStream

Inheritance: Stream
显示文件 Open project: fo-dicom/mdcm

Public Properties

Property Type Description
PemFileName string
UseOpenSSL bool

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
TlsServerStream ( Socket socket ) : System
Write ( byte buffer, int offset, int count ) : void

Private Methods

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

Method Details

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

TlsServerStream() public method

public TlsServerStream ( Socket socket ) : System
socket System.Net.Sockets.Socket
return System

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Property Details

PemFileName public_oe static_oe property

public static string PemFileName
return string

UseOpenSSL public_oe static_oe property

public static bool UseOpenSSL
return bool