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 HostKeyVerificationListener
public void onRevokedKey(String host, SshPublicKey pk)
onRevokedKey
in interface HostKeyVerificationListener
public void onHostKeyMismatch(String host, List<SshPublicKey> allowedHostKeys, SshPublicKey pk)
onHostKeyMismatch
in interface HostKeyVerificationListener
public void onUnknownHost(String host, SshPublicKey pk)
onUnknownHost
in interface HostKeyVerificationListener
Copyright © 2024. All rights reserved.