C# Class Lidgren.Network.Authentication.NetSRP.Response

This is the Secure Remote Password Protocol Response object. Remember Claire? She has send a request to Bob, the one she want to connect to. When Bob receives Claire's username and public Key, he will send Claire her personal Salt and a random runtime-generated public key.
Inheritance: Packet
Exibir arquivo Open project: SleeplessByte/lidgren-srp6a Class Usage Examples

Public Properties

Property Type Description
B NetBigInteger
Salt Byte[]

Public Methods

Method Description
Response ( ) : System

Creates a new SRPResponse

Response ( Byte salt, NetBigInteger B ) : System

Creates a new SRPResponse

Protected Methods

Method Description
Gets ( NetIncomingMessage message ) : void

Gets data from message

Puts ( NetOutgoingMessage message ) : void

Puts data into message

Method Details

Gets() protected method

Gets data from message
protected Gets ( NetIncomingMessage message ) : void
message NetIncomingMessage source
return void

Puts() protected method

Puts data into message
protected Puts ( NetOutgoingMessage message ) : void
message NetOutgoingMessage desination
return void

Response() public method

Creates a new SRPResponse
public Response ( ) : System
return System

Response() public method

Creates a new SRPResponse
public Response ( Byte salt, NetBigInteger B ) : System
salt Byte Salt
B NetBigInteger Public value
return System

Property Details

B public_oe property

Public key B
public NetBigInteger B
return NetBigInteger

Salt public_oe property

Salt
public Byte[] Salt
return Byte[]