C# Class TLSRecordHandlerTest.TLSRecordHandlerTest

显示文件 Open project: juhovh/AaltoTLS Class Usage Examples

Public Methods

Method Description
Connect ( ) : void
Main ( string args ) : void
PrintBytes ( string name, byte data ) : void
ReadPacket ( Stream stream ) : bool
SendClientHello ( Stream stream ) : void
SendClientKey ( Stream stream ) : void
SendFinished ( Stream stream ) : void
SendHttpGet ( Stream stream ) : void
TLSRecordHandlerTest ( string server, int port ) : System

Private Methods

Method Description
SendRecord ( Stream stream, Record record ) : void

Method Details

Connect() public method

public Connect ( ) : void
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

PrintBytes() public method

public PrintBytes ( string name, byte data ) : void
name string
data byte
return void

ReadPacket() public method

public ReadPacket ( Stream stream ) : bool
stream Stream
return bool

SendClientHello() public method

public SendClientHello ( Stream stream ) : void
stream Stream
return void

SendClientKey() public method

public SendClientKey ( Stream stream ) : void
stream Stream
return void

SendFinished() public method

public SendFinished ( Stream stream ) : void
stream Stream
return void

SendHttpGet() public method

public SendHttpGet ( Stream stream ) : void
stream Stream
return void

TLSRecordHandlerTest() public method

public TLSRecordHandlerTest ( string server, int port ) : System
server string
port int
return System