Lines Matching full:knownhosts
32 import ch.ethz.ssh2.KnownHosts;
67 KnownHosts database = new KnownHosts();
389 case KnownHosts.HOSTKEY_IS_OK:
392 case KnownHosts.HOSTKEY_IS_NEW:
396 case KnownHosts.HOSTKEY_HAS_CHANGED:
406 String hexFingerprint = KnownHosts.createHexFingerprint(serverHostKeyAlgorithm, serverHostKey);
407 String bubblebabbleFingerprint = KnownHosts.createBubblebabbleFingerprint(serverHostKeyAlgorithm,
420 String hashedHostname = KnownHosts.createHashedHostname(hostname);
430 KnownHosts.addHostkeyToFile(new File(knownHostPath), new String[] { hashedHostname },