C# Class AaltoTLS.HandshakeLayer.Protocol.HandshakeMessage

ファイルを表示 Open project: juhovh/AaltoTLS Class Usage Examples

Public Properties

Property Type Description
Type HandshakeMessageType

Public Methods

Method Description
Decode ( byte data ) : void
Encode ( ) : byte[]
GetInstance ( ProtocolVersion version, byte data ) : HandshakeMessage
HandshakeMessage ( HandshakeMessageType type, ProtocolVersion version ) : System
HandshakeMessage ( HandshakeMessageType type, ProtocolVersion version, byte data ) : System

Protected Methods

Method Description
DecodeDataBytes ( ProtocolVersion version, byte data ) : void
EncodeDataBytes ( ProtocolVersion version ) : byte[]

Method Details

Decode() public method

public Decode ( byte data ) : void
data byte
return void

DecodeDataBytes() protected method

protected DecodeDataBytes ( ProtocolVersion version, byte data ) : void
version AaltoTLS.PluginInterface.ProtocolVersion
data byte
return void

Encode() public method

public Encode ( ) : byte[]
return byte[]

EncodeDataBytes() protected method

protected EncodeDataBytes ( ProtocolVersion version ) : byte[]
version AaltoTLS.PluginInterface.ProtocolVersion
return byte[]

GetInstance() public static method

public static GetInstance ( ProtocolVersion version, byte data ) : HandshakeMessage
version AaltoTLS.PluginInterface.ProtocolVersion
data byte
return HandshakeMessage

HandshakeMessage() public method

public HandshakeMessage ( HandshakeMessageType type, ProtocolVersion version ) : System
type HandshakeMessageType
version AaltoTLS.PluginInterface.ProtocolVersion
return System

HandshakeMessage() public method

public HandshakeMessage ( HandshakeMessageType type, ProtocolVersion version, byte data ) : System
type HandshakeMessageType
version AaltoTLS.PluginInterface.ProtocolVersion
data byte
return System

Property Details

Type public_oe property

public HandshakeMessageType Type
return HandshakeMessageType