C# Class TripleSoftware.Sasl.Mechanism.ASaslMechanism

Abstract class for use by sasl mechanisms
Inheritance: TripleSoftware.Sasl.ISaslMechanism
Afficher le fichier Open project: rckoenes/Sasl.NET

Méthodes publiques

Méthode Description
AddTry ( ) : void

Increase the number of tries

GenerateString ( int length ) : string

Generate a random string

GetResponse ( ) : string

Responce of the sasl class to the challenge

GetResponse ( string Challenge ) : string

Responce of the sasl class to the challenge

Méthodes protégées

Méthode Description
AddQuotes ( string s ) : string

Adds " to the begining and end of the string

HexToString ( byte buf ) : string

Converts all bytes in the Array to a string representation.

Private Methods

Méthode Description
Parse ( string challenge ) : void

parse the fileds form the decripted challenge

Method Details

AddQuotes() protected static méthode

Adds " to the begining and end of the string
protected static AddQuotes ( string s ) : string
s string
Résultat string

AddTry() public méthode

Increase the number of tries
public AddTry ( ) : void
Résultat void

GenerateString() public static méthode

Generate a random string
public static GenerateString ( int length ) : string
length int Length of the string
Résultat string

GetResponse() public abstract méthode

Responce of the sasl class to the challenge
public abstract GetResponse ( ) : string
Résultat string

GetResponse() public abstract méthode

Responce of the sasl class to the challenge
public abstract GetResponse ( string Challenge ) : string
Challenge string Server authentication Challenge
Résultat string

HexToString() protected static méthode

Converts all bytes in the Array to a string representation.
protected static HexToString ( byte buf ) : string
buf byte
Résultat string