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

This is the Secure Remote Password Protocol Request object. If Claire is someone that tries to connect, then Claire's username and a random runtime-generated public key is packed into this packet.
Inheritance: Packet
Show file Open project: SleeplessByte/lidgren-srp6a Class Usage Examples

Public Properties

Property Type Description
A NetBigInteger
OtherData Byte[]
Username String

Public Methods

Method Description
Request ( ) : System

Creates a new SRPRequest

Request ( String username, NetBigInteger A ) : System

Creates a new SRPRequest

Request ( String username, NetBigInteger A, Byte otherData ) : System

Creates a new SRPRequest

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

Request() public method

Creates a new SRPRequest
public Request ( ) : System
return System

Request() public method

Creates a new SRPRequest
public Request ( String username, NetBigInteger A ) : System
username String username
A NetBigInteger Public value
return System

Request() public method

Creates a new SRPRequest
public Request ( String username, NetBigInteger A, Byte otherData ) : System
username String username
A NetBigInteger Public value
otherData Byte Other login data
return System

Property Details

A public property

Public key A
public NetBigInteger A
return NetBigInteger

OtherData public property

Other Data
public Byte[] OtherData
return Byte[]

Username public property

Username
public String Username
return String