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.