public final class PromiscuousVerifier extends Object implements HostKeyVerifier
Constructor and Description |
---|
PromiscuousVerifier() |
public boolean verify(String hostname, int port, PublicKey key)
HostKeyVerifier
verify
in interface HostKeyVerifier
hostname
- remote hostnameport
- remote portkey
- host key of servertrue
if key is acceptable, false
otherwiseCopyright © 2009-2012. All Rights Reserved.