private static class OpenSshServerKeyVerifier.AskUser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
OpenSshServerKeyVerifier.AskUser.Check |
Modifier | Constructor and Description |
---|---|
private |
AskUser() |
Modifier and Type | Method and Description |
---|---|
OpenSshServerKeyVerifier.ModifiedKeyHandling |
acceptModifiedServerKey(org.apache.sshd.client.session.ClientSession clientSession,
java.net.SocketAddress remoteAddress,
java.security.PublicKey expected,
java.security.PublicKey actual,
java.nio.file.Path path) |
boolean |
acceptUnknownKey(org.apache.sshd.client.session.ClientSession clientSession,
java.net.SocketAddress remoteAddress,
java.security.PublicKey serverKey) |
private OpenSshServerKeyVerifier.AskUser.Check |
checkMode(org.apache.sshd.client.session.ClientSession session,
java.net.SocketAddress remoteAddress,
boolean changed) |
void |
revokedKey(org.apache.sshd.client.session.ClientSession clientSession,
java.net.SocketAddress remoteAddress,
java.security.PublicKey serverKey,
java.nio.file.Path path) |
private OpenSshServerKeyVerifier.AskUser.Check checkMode(org.apache.sshd.client.session.ClientSession session, java.net.SocketAddress remoteAddress, boolean changed)
public void revokedKey(org.apache.sshd.client.session.ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey serverKey, java.nio.file.Path path)
public boolean acceptUnknownKey(org.apache.sshd.client.session.ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey serverKey)
public OpenSshServerKeyVerifier.ModifiedKeyHandling acceptModifiedServerKey(org.apache.sshd.client.session.ClientSession clientSession, java.net.SocketAddress remoteAddress, java.security.PublicKey expected, java.security.PublicKey actual, java.nio.file.Path path)