C# Class Dicom.Network.OpenSslStream

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

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
OpenSslStream ( Socket socket, OpenSslContext ctx ) : System

Initializes server connection

OpenSslStream ( Socket socket, OpenSslProtocol protocol ) : System

Initializes client connection

OpenSslStream ( Socket socket, OpenSslProtocol protocol, OpenSslCertificate certificate, OpenSslPrivateKey privatekey ) : System

Initializes server connection

Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

OpenSslStream() public method

Initializes server connection
public OpenSslStream ( Socket socket, OpenSslContext ctx ) : System
socket System.Net.Sockets.Socket
ctx OpenSslContext
return System

OpenSslStream() public method

Initializes client connection
public OpenSslStream ( Socket socket, OpenSslProtocol protocol ) : System
socket System.Net.Sockets.Socket
protocol OpenSslProtocol
return System

OpenSslStream() public method

Initializes server connection
public OpenSslStream ( Socket socket, OpenSslProtocol protocol, OpenSslCertificate certificate, OpenSslPrivateKey privatekey ) : System
socket System.Net.Sockets.Socket
protocol OpenSslProtocol
certificate OpenSslCertificate
privatekey OpenSslPrivateKey
return System

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

Write() public method

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