SecureBlackbox Lite 2020 Java Edition

Questions / Feedback?

KnownKeyReceived Event

Signals that the server has introduced itself with a known key.

Syntax

public class DefaultSftpclientEventListener implements SftpclientEventListener {
  ...
  public void knownKeyReceived(SftpclientKnownKeyReceivedEvent e) {}
  ...
}

public class SftpclientKnownKeyReceivedEvent {
  public String algorithm;
  public int bits;
  public String fingerprintSHA256;
}

Remarks

The class fires this event to tell the application that the server has introduced itself with a known key from TrustedKeysFile. The details of the key are provided.

Use ServerKey to access more key details.

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