public abstract class AbstractKnownHostsProvider extends Object implements KnownHostsProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
contents
the known hosts, in the openssh format
|
protected Set<KnownHostEntry> |
knownHosts |
ROLE| Constructor and Description |
|---|
AbstractKnownHostsProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContents() |
String |
getHostKeyChecking() |
void |
setHostKeyChecking(String hostKeyChecking) |
void |
storeKnownHosts(String contents) |
protected String contents
protected Set<KnownHostEntry> knownHosts
public void setHostKeyChecking(String hostKeyChecking)
setHostKeyChecking in interface KnownHostsProviderpublic String getHostKeyChecking()
getHostKeyChecking in interface KnownHostsProviderpublic String getContents()
getContents in interface KnownHostsProviderpublic void storeKnownHosts(String contents) throws IOException
storeKnownHosts in interface KnownHostsProviderIOExceptionCopyright © 2003–2013 The Apache Software Foundation. All rights reserved.