SecureBlackbox Lite 2020 Java Edition

Questions / Feedback?

UnknownKeyReceived Event

This event is fired when an unknown SSH key is received from the server.

Syntax

public class DefaultSshclientEventListener implements SshclientEventListener {
  ...
  public void unknownKeyReceived(SshclientUnknownKeyReceivedEvent e) {}
  ...
}

public class SshclientUnknownKeyReceivedEvent {
  public int algorithm;
  public int bits;
  public String fingerprintSHA256;
  public int action;
}

Remarks

This event allows to check the fingerprint of the key received from the server, in case the key is not in the list of known keys. Algorithm and Bits specify the key algorithm and the number of bits. FingerprintSHA256 contains the key's fingerprint.

Use Action to tell the class what it should do with the key.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Java Edition - Version 20.0 [Build 8166]