SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

UnknownKeyReceived Event

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

Syntax

public open class DefaultSshclientEventListener : SshclientEventListener {
  ...
  public override fun unknownKeyReceived(e: SshclientUnknownKeyReceivedEvent) {}
  ...
}

public class SshclientUnknownKeyReceivedEvent {
  val algorithm: Int
  val bits: Int
  val fingerprintSHA256: String?
  var action: Int
}

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 component what it should do with the key.

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