KnownKeyReceived Event
Signals that the server has introduced itself with a known key.
Syntax
public class DefaultSftpclientEventListener implements SftpclientEventListener { ... public void knownKeyReceived(SftpclientKnownKeyReceivedEvent e) {} ... } public class SftpclientKnownKeyReceivedEvent { public String algorithm; public int bits; public String fingerprintSHA256; }
Remarks
The class 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.