C# Class GSF.Security.Authentication.SrpClient

Provides simple password based authentication that uses Secure Remote Password.
显示文件 Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Public Methods

Method Description
AuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool
SrpClient ( string username, string password ) : System

Creates a client that will authenticate with the specified username and password.

Private Methods

Method Description
Authenticate ( Stream stream, byte additionalChallenge ) : bool
ResumeSession ( Stream stream, byte additionalChallenge ) : bool
SetHashMethod ( HashMethod hashMethod ) : void
SetSrpStrength ( SrpStrength strength ) : void

Method Details

AuthenticateAsClient() public method

public AuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool
stream Stream
additionalChallenge byte
return bool

SrpClient() public method

Creates a client that will authenticate with the specified username and password.
public SrpClient ( string username, string password ) : System
username string the username
password string the password
return System