C# Class Tamir.SharpSsh.jsch.KnownHosts

Inheritance: Tamir.SharpSsh.jsch.HostKeyRepository
Afficher le fichier Open project: soywiz/csharputils

Méthodes publiques

Méthode 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

Méthode 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 méthode

public add ( String host, byte key, UserInfo userinfo ) : void
host String
key byte
userinfo UserInfo
Résultat void

check() public méthode

public check ( String host, byte key ) : int
host String
key byte
Résultat int

getHostKey() public méthode

public getHostKey ( ) : Tamir.SharpSsh.jsch.HostKey[]
Résultat Tamir.SharpSsh.jsch.HostKey[]

getHostKey() public méthode

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

getKnownHostsRepositoryID() public méthode

public getKnownHostsRepositoryID ( ) : String
Résultat String

remove() public méthode

public remove ( String host, String type ) : void
host String
type String
Résultat void

remove() public méthode

public remove ( String host, String type, byte key ) : void
host String
type String
key byte
Résultat void