net.ssh.jsch
Class KnownHosts
java.lang.Object
   net.ssh.jsch.KnownHosts
net.ssh.jsch.KnownHosts
- All Implemented Interfaces: 
- HostKeyRepository
- public class KnownHosts 
- extends java.lang.Object- implements HostKeyRepository
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
getKnownHostsRepositoryID
public java.lang.String getKnownHostsRepositoryID()
- 
- Specified by:
- getKnownHostsRepositoryIDin interface- HostKeyRepository
 
- 
 
check
public int check(java.lang.String host,
                 byte[] key)
- 
- Specified by:
- checkin interface- HostKeyRepository
 
- 
 
add
public void add(java.lang.String host,
                byte[] key)
- 
- Specified by:
- addin interface- HostKeyRepository
 
- 
 
getHostKey
public HostKey[] getHostKey()
- 
- Specified by:
- getHostKeyin interface- HostKeyRepository
 
- 
 
getHostKey
public HostKey[] getHostKey(java.lang.String host,
                            java.lang.String type)
- 
- Specified by:
- getHostKeyin interface- HostKeyRepository
 
- 
 
remove
public void remove(java.lang.String host,
                   java.lang.String type)
- 
- Specified by:
- removein interface- HostKeyRepository
 
- 
 
remove
public void remove(java.lang.String host,
                   java.lang.String type,
                   byte[] key)
- 
- Specified by:
- removein interface- HostKeyRepository
 
-