SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

KnownKeyReceived Event

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

Syntax

public open class DefaultSftpclientEventListener : SftpclientEventListener {
  ...
  public override fun knownKeyReceived(e: SftpclientKnownKeyReceivedEvent) {}
  ...
}

public class SftpclientKnownKeyReceivedEvent {
  val algorithm: String?
  val bits: Int
  val fingerprintSHA256: String?
}

Remarks

The component 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 Kotlin Edition - Version 20.0 [Build 8063]