C# Class GSF.Security.Authentication.SrpClient

Provides simple password based authentication that uses Secure Remote Password.
Afficher le fichier Open project: GridProtectionAlliance/openHistorian Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool
stream Stream
additionalChallenge byte
Résultat bool

SrpClient() public méthode

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
Résultat System