SecureBlackbox 2020 Java Edition

Questions / Feedback?

PrivateKeyNeeded Event

Asks the application for the client's private key.

Syntax

public class DefaultSftpclientEventListener implements SftpclientEventListener {
  ...
  public void privateKeyNeeded(SftpclientPrivateKeyNeededEvent e) {}
  ...
}

public class SftpclientPrivateKeyNeededEvent {
  public boolean skip;
}

Remarks

The class fires this event if the public key provided in Key was accepted by the server, but no private key is available for it.

Use this event handler to attach the private key to your Key. The component will pick the key up and continue the authentication.

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