C# 클래스 Granados.SSH1.SSH1UserAuthKey

private key for user authentication
파일 보기 프로젝트 열기: poderosaproject/poderosa 1 사용 예제들

공개 메소드들

메소드 설명
SSH1UserAuthKey ( string path, string passphrase ) : Granados.Poderosa.KeyFormat

constructs from file

decryptChallenge ( BigInteger encryptedchallenge ) : BigInteger

비공개 메소드들

메소드 설명
ConvertToKey ( string passphrase ) : byte[]
PrimeExponent ( BigInteger privateExponent, BigInteger prime ) : BigInteger
ReadAll ( Stream s ) : byte[]

메소드 상세

SSH1UserAuthKey() 공개 메소드

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
리턴 Granados.Poderosa.KeyFormat

decryptChallenge() 공개 메소드

public decryptChallenge ( BigInteger encryptedchallenge ) : BigInteger
encryptedchallenge Granados.Mono.Math.BigInteger
리턴 Granados.Mono.Math.BigInteger