C# Класс GSF.Security.Authentication.SrpClient

Provides simple password based authentication that uses Secure Remote Password.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
Authenticate ( Stream stream, byte additionalChallenge ) : bool
ResumeSession ( Stream stream, byte additionalChallenge ) : bool
SetHashMethod ( HashMethod hashMethod ) : void
SetSrpStrength ( SrpStrength strength ) : void

Описание методов

AuthenticateAsClient() публичный Метод

public AuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool
stream Stream
additionalChallenge byte
Результат bool

SrpClient() публичный Метод

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
Результат System