public class HostKeyVerifier extends Object implements org.apache.sshd.client.ServerKeyVerifier
Modifier and Type | Field and Description |
---|---|
static org.apache.sshd.client.ServerKeyVerifier |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
byte[] |
getServerFingerprint() |
boolean |
verifyServerKey(org.apache.sshd.ClientSession sshClientSession,
SocketAddress remoteAddress,
PublicKey serverKey) |
public boolean verifyServerKey(org.apache.sshd.ClientSession sshClientSession, SocketAddress remoteAddress, PublicKey serverKey)
verifyServerKey
in interface org.apache.sshd.client.ServerKeyVerifier
public byte[] getServerFingerprint()
Copyright © 2012. All Rights Reserved.