KnownKeyReceived Event
Signals that the server has introduced itself with a known key.
Syntax
class SFTPClientKnownKeyReceivedEventParams { public: const QString &Algorithm(); int Bits(); const QString &FingerprintSHA256(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void KnownKeyReceived(SFTPClientKnownKeyReceivedEventParams *e);
// Or, subclass SFTPClient and override this emitter function. virtual int FireKnownKeyReceived(SFTPClientKnownKeyReceivedEventParams *e) {...}
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.