public class HostKeyVerificationAdapter extends Object implements HostKeyVerificationListener
| Constructor and Description |
|---|
HostKeyVerificationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
onHostKeyMismatch(String host,
List<SshPublicKey> allowedHostKeys,
SshPublicKey pk) |
void |
onInvalidHostEntry(String line) |
void |
onRevokedKey(String host,
SshPublicKey pk) |
void |
onUnknownHost(String host,
SshPublicKey pk) |
public void onInvalidHostEntry(String line)
onInvalidHostEntry in interface HostKeyVerificationListenerpublic void onRevokedKey(String host, SshPublicKey pk)
onRevokedKey in interface HostKeyVerificationListenerpublic void onHostKeyMismatch(String host, List<SshPublicKey> allowedHostKeys, SshPublicKey pk)
onHostKeyMismatch in interface HostKeyVerificationListenerpublic void onUnknownHost(String host, SshPublicKey pk)
onUnknownHost in interface HostKeyVerificationListenerCopyright © 2025. All rights reserved.