public class TrustedKeyFetcher extends Object implements com.jcraft.jsch.HostKeyRepository
| Constructor and Description |
|---|
TrustedKeyFetcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.jcraft.jsch.HostKey hostkey,
com.jcraft.jsch.UserInfo ui) |
int |
check(String host,
byte[] key) |
com.jcraft.jsch.HostKey[] |
getHostKey() |
com.jcraft.jsch.HostKey[] |
getHostKey(String host,
String type) |
TrustedKey |
getKey() |
String |
getKnownHostsRepositoryID() |
void |
remove(String host,
String type) |
void |
remove(String host,
String type,
byte[] key) |
public int check(String host, byte[] key)
check in interface com.jcraft.jsch.HostKeyRepositorypublic void add(com.jcraft.jsch.HostKey hostkey,
com.jcraft.jsch.UserInfo ui)
add in interface com.jcraft.jsch.HostKeyRepositorypublic void remove(String host, String type)
remove in interface com.jcraft.jsch.HostKeyRepositorypublic void remove(String host, String type, byte[] key)
remove in interface com.jcraft.jsch.HostKeyRepositorypublic String getKnownHostsRepositoryID()
getKnownHostsRepositoryID in interface com.jcraft.jsch.HostKeyRepositorypublic com.jcraft.jsch.HostKey[] getHostKey()
getHostKey in interface com.jcraft.jsch.HostKeyRepositorypublic com.jcraft.jsch.HostKey[] getHostKey(String host, String type)
getHostKey in interface com.jcraft.jsch.HostKeyRepositorypublic TrustedKey getKey()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.