C# 클래스 Granados.SSH2.SSH2UserAuthKey

파일 보기 프로젝트 열기: poderosaproject/poderosa 1 사용 예제들

공개 메소드들

메소드 설명
FromSECSHStyleFile ( string filename, string passphrase ) : SSH2UserAuthKey
FromSECSHStyleStream ( Stream strm, string passphrase ) : SSH2UserAuthKey
GetPublicKeyBlob ( ) : byte[]
PassphraseToKey ( string passphrase, int length ) : byte[]
SSH2UserAuthKey ( KeyPair kp ) : Granados.Poderosa.KeyFormat
SSH2UserAuthKey ( KeyPair kp, string comment ) : Granados.Poderosa.KeyFormat
Sign ( byte data ) : byte[]
WritePrivatePartInSECSHStyleFile ( Stream dest, string comment, string passphrase ) : void
WritePublicPartInOpenSSHStyle ( Stream dest ) : void
WritePublicPartInSECSHStyle ( Stream dest, string comment ) : void

비공개 메소드들

메소드 설명
FormatBase64EncodedPublicKeyBody ( ) : string
WriteKeyFileBlock ( StreamWriter sw, string data, bool escape_needed ) : void

메소드 상세

FromSECSHStyleFile() 공개 정적인 메소드

public static FromSECSHStyleFile ( string filename, string passphrase ) : SSH2UserAuthKey
filename string
passphrase string
리턴 SSH2UserAuthKey

FromSECSHStyleStream() 공개 정적인 메소드

public static FromSECSHStyleStream ( Stream strm, string passphrase ) : SSH2UserAuthKey
strm Stream
passphrase string
리턴 SSH2UserAuthKey

GetPublicKeyBlob() 공개 메소드

public GetPublicKeyBlob ( ) : byte[]
리턴 byte[]

PassphraseToKey() 공개 정적인 메소드

public static PassphraseToKey ( string passphrase, int length ) : byte[]
passphrase string
length int
리턴 byte[]

SSH2UserAuthKey() 공개 메소드

public SSH2UserAuthKey ( KeyPair kp ) : Granados.Poderosa.KeyFormat
kp Granados.PKI.KeyPair
리턴 Granados.Poderosa.KeyFormat

SSH2UserAuthKey() 공개 메소드

public SSH2UserAuthKey ( KeyPair kp, string comment ) : Granados.Poderosa.KeyFormat
kp Granados.PKI.KeyPair
comment string
리턴 Granados.Poderosa.KeyFormat

Sign() 공개 메소드

public Sign ( byte data ) : byte[]
data byte
리턴 byte[]

WritePrivatePartInSECSHStyleFile() 공개 메소드

public WritePrivatePartInSECSHStyleFile ( Stream dest, string comment, string passphrase ) : void
dest Stream
comment string
passphrase string
리턴 void

WritePublicPartInOpenSSHStyle() 공개 메소드

public WritePublicPartInOpenSSHStyle ( Stream dest ) : void
dest Stream
리턴 void

WritePublicPartInSECSHStyle() 공개 메소드

public WritePublicPartInSECSHStyle ( Stream dest, string comment ) : void
dest Stream
comment string
리턴 void