SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

on_private_key_needed Event

Asks the application for the client's private key.

Syntax

class SFTPClientPrivateKeyNeededEventParams(object):
  @property
  def skip() -> bool: ...
  @skip.setter
  def skip(value) -> None: ...

# In class SFTPClient:
@property
def on_private_key_needed() -> Callable[[SFTPClientPrivateKeyNeededEventParams], None]: ...
@on_private_key_needed.setter
def on_private_key_needed(event_hook: Callable[[SFTPClientPrivateKeyNeededEventParams], None]) -> None: ...

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 Lite 2020 Python Edition - Version 20.0 [Build 8166]