C# Class Granados.SSH1.SSH1UserAuthKey

private key for user authentication
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

Méthode Description
SSH1UserAuthKey ( string path, string passphrase ) : Granados.Poderosa.KeyFormat

constructs from file

decryptChallenge ( BigInteger encryptedchallenge ) : BigInteger

Private Methods

Méthode Description
ConvertToKey ( string passphrase ) : byte[]
PrimeExponent ( BigInteger privateExponent, BigInteger prime ) : BigInteger
ReadAll ( Stream s ) : byte[]

Method Details

SSH1UserAuthKey() public méthode

constructs from file
public SSH1UserAuthKey ( string path, string passphrase ) : Granados.Poderosa.KeyFormat
path string file name
passphrase string passphrase or empty string if passphrase is not required
Résultat Granados.Poderosa.KeyFormat

decryptChallenge() public méthode

public decryptChallenge ( BigInteger encryptedchallenge ) : BigInteger
encryptedchallenge Granados.Mono.Math.BigInteger
Résultat Granados.Mono.Math.BigInteger