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

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

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

Метод Описание
AuthenticateAsClient ( Stream stream, byte additionalChallenge = null ) : bool
ScramClient ( string username, string password ) : System.IO

Creates a new set of client credentials.

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

Метод Описание
ComputeClientSignature ( byte authMessage ) : byte[]
ComputeServerSignature ( byte authMessage ) : byte[]
SetServerValues ( HashMethod hashMethod, byte salt, int iterations ) : void

Sets the server parameters and regenerates the salted password if the salt values have changed.

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

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

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

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

Creates a new set of client credentials.
public ScramClient ( string username, string password ) : System.IO
username string
password string
Результат System.IO