Property | Type | Description | |
---|---|---|---|
FinishHandshakeFromActive | |||
FinishHandshakeFromPassive | System.Boolean | ||
GenerateSRPRequest | |||
Handshake | System | ||
Handshake | System | ||
HandshakeFromActive | |||
HandshakeFromPassive | |||
KeyFromRequest | void | ||
KeyFromResponse | |||
Lookup | |||
MarkHandshakeAsSucceeded | void | ||
ResponseFromRequest | |||
VerificationOfActiveParty | |||
VerificationOfPassiveParty | System.Boolean | ||
WriteSRPRequest | |||
WriteSRPResponse | |||
WriteSRPVerification |
Method | Description | |
---|---|---|
CreateEncryption ( ) : Lidgren.Network.NetXtea |
Create XTEA symmetrical encryption object from sessionValue
|
|
Handshake ( String username, Byte key ) : System |
Creates a completed handshake
|
|
PasswordVerifier ( String username, String password, |
Generates Salt and Verifier for username and password
|
Method | Description | |
---|---|---|
FinishHandshakeFromActive ( |
Finishes the handshake by processing the verification data received
|
|
FinishHandshakeFromPassive ( |
Finishes the handshake by processing the verification data received
|
|
GenerateSRPRequest ( String username, String password, Byte otherdata ) : |
Initiates the SRPP Request
|
|
Handshake ( System.Boolean active, |
Creates a new handshake
|
|
Handshake ( System.Boolean active, |
Creates a new Handshake
|
|
HandshakeFromActive ( |
Processes a handshake that was not initated locally
|
|
HandshakeFromPassive ( |
Processes a handshake response (initiated locally)
|
|
KeyFromRequest ( |
Generates key from request
|
|
KeyFromResponse ( NetSRP response ) : |
Generates Session key from response
|
|
Lookup ( NetSRP request, Byte &salt ) : |
Returns Verifier and Salt for request
|
|
MarkHandshakeAsSucceeded ( ) : void |
Sets handshake to done
|
|
ResponseFromRequest ( NetSRP request ) : |
Create a response on received request.
|
|
VerificationOfActiveParty ( NetSRP verification ) : |
Actually verifies received verification data (initiated remotely) + generates response
|
|
VerificationOfPassiveParty ( NetSRP verification ) : System.Boolean |
Actually verifies received verification data (initiated locally)
|
|
WriteSRPRequest ( |
Writes the SRP Request to an OtugoingMessage
|
|
WriteSRPResponse ( |
Writes the SRP Response to an OtugoingMessage
|
|
WriteSRPVerification ( |
Writes verification data to message
|
public CreateEncryption ( ) : Lidgren.Network.NetXtea | ||
return | Lidgren.Network.NetXtea |
public Handshake ( String username, Byte key ) : System | ||
username | String | |
key | Byte | |
return | System |
public static PasswordVerifier ( String username, String password, |
||
username | String | |
password | String | |
keysize | ||
salt | Byte | |
return |