net.ssh.jsch
Interface HostKeyRepository

All Known Implementing Classes:
KnownHosts

public interface HostKeyRepository


Field Summary
static int CHANGED
           
static int NOT_INCLUDED
           
static int OK
           
 
Method Summary
 void add(java.lang.String host, byte[] key)
           
 int check(java.lang.String host, byte[] key)
           
 HostKey[] getHostKey()
           
 HostKey[] getHostKey(java.lang.String host, java.lang.String type)
           
 java.lang.String getKnownHostsRepositoryID()
           
 void remove(java.lang.String host, java.lang.String type)
           
 void remove(java.lang.String host, java.lang.String type, byte[] key)
           
 

Field Detail

OK

static final int OK
See Also:
Constant Field Values

NOT_INCLUDED

static final int NOT_INCLUDED
See Also:
Constant Field Values

CHANGED

static final int CHANGED
See Also:
Constant Field Values
Method Detail

check

int check(java.lang.String host,
          byte[] key)

add

void add(java.lang.String host,
         byte[] key)

remove

void remove(java.lang.String host,
            java.lang.String type)

remove

void remove(java.lang.String host,
            java.lang.String type,
            byte[] key)

getKnownHostsRepositoryID

java.lang.String getKnownHostsRepositoryID()

getHostKey

HostKey[] getHostKey()

getHostKey

HostKey[] getHostKey(java.lang.String host,
                     java.lang.String type)