com.jcraft.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(HostKey hostkey, UserInfo ui)
           
 int check(String host, byte[] key)
           
 HostKey[] getHostKey()
           
 HostKey[] getHostKey(String host, String type)
           
 String getKnownHostsRepositoryID()
           
 void remove(String host, String type)
           
 void remove(String host, 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(String host,
          byte[] key)

add

void add(HostKey hostkey,
         UserInfo ui)

remove

void remove(String host,
            String type)

remove

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

getKnownHostsRepositoryID

String getKnownHostsRepositoryID()

getHostKey

HostKey[] getHostKey()

getHostKey

HostKey[] getHostKey(String host,
                     String type)


Copyright © 2013 JCraft,Inc.. All Rights Reserved.