C# Class Tamir.SharpSsh.jsch.KnownHosts

Inheritance: Tamir.SharpSsh.jsch.HostKeyRepository
Mostra file Open project: soywiz/csharputils

Public Methods

Method Description
add ( String host, byte key, UserInfo userinfo ) : void
check ( String host, byte key ) : int
getHostKey ( ) : Tamir.SharpSsh.jsch.HostKey[]
getHostKey ( String host, String type ) : Tamir.SharpSsh.jsch.HostKey[]
getKnownHostsRepositoryID ( ) : String
remove ( String host, String type ) : void
remove ( String host, String type, byte key ) : void

Private Methods

Method Description
KnownHosts ( JSch jsch ) : System
Write ( Stream s, byte buff ) : void
addInvalidLine ( String line ) : void
deleteSubString ( String hosts, String host ) : String
dump ( FileStream outs ) : void
getKnownHostsFile ( ) : String
getType ( byte key ) : int
isIncluded ( String hosts, String host ) : bool
setKnownHosts ( StreamReader foo ) : void
setKnownHosts ( String foo ) : void
sync ( ) : void
sync ( String foo ) : void

Method Details

add() public method

public add ( String host, byte key, UserInfo userinfo ) : void
host String
key byte
userinfo UserInfo
return void

check() public method

public check ( String host, byte key ) : int
host String
key byte
return int

getHostKey() public method

public getHostKey ( ) : Tamir.SharpSsh.jsch.HostKey[]
return Tamir.SharpSsh.jsch.HostKey[]

getHostKey() public method

public getHostKey ( String host, String type ) : Tamir.SharpSsh.jsch.HostKey[]
host String
type String
return Tamir.SharpSsh.jsch.HostKey[]

getKnownHostsRepositoryID() public method

public getKnownHostsRepositoryID ( ) : String
return String

remove() public method

public remove ( String host, String type ) : void
host String
type String
return void

remove() public method

public remove ( String host, String type, byte key ) : void
host String
type String
key byte
return void