com.jcraft.jsch

Interface HostKeyRepository

public interface HostKeyRepository

Field Summary
intCHANGED
intNOT_INCLUDED
intOK
Method Summary
voidadd(String host, byte[] key, UserInfo ui)
intcheck(String host, byte[] key)
HostKey[]getHostKey()
HostKey[]getHostKey(String host, String type)
StringgetKnownHostsRepositoryID()
voidremove(String host, String type)
voidremove(String host, String type, byte[] key)

Field Detail

CHANGED

public final int CHANGED

NOT_INCLUDED

public final int NOT_INCLUDED

OK

public final int OK

Method Detail

add

public void add(String host, byte[] key, UserInfo ui)

check

public int check(String host, byte[] key)

getHostKey

public HostKey[] getHostKey()

getHostKey

public HostKey[] getHostKey(String host, String type)

getKnownHostsRepositoryID

public String getKnownHostsRepositoryID()

remove

public void remove(String host, String type)

remove

public void remove(String host, String type, byte[] key)