public class HostVerifier extends Object implements com.trilead.ssh2.ServerHostKeyVerifier
| Constructor and Description |
|---|
HostVerifier(com.trilead.ssh2.KnownHosts knownHosts) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
verifyServerHostKey(String hostName,
int port,
String serverHostKeyAlgorithm,
byte[] serverHostKey) |
public boolean verifyServerHostKey(String hostName, int port, String serverHostKeyAlgorithm, byte[] serverHostKey) throws IOException
verifyServerHostKey in interface com.trilead.ssh2.ServerHostKeyVerifierIOExceptionCopyright © 2017. All rights reserved.