onKnownKeyReceived (event)
This event is fired when a known SSH key is received from the server.
Syntax
- (void)onKnownKeyReceived:(int)algorithm :(int)bits :(NSString*)fingerprintSHA256;
func onKnownKeyReceived(_ algorithm: Int32, _ bits: Int32, _ fingerprintSHA256: String)
Remarks
This event allows to check the fingerprint of the key received from the server, in case the key is in the list of known keys. Algorithm and Bits specify the key algorithm and the number of bits. FingerprintSHA256 contains the key's fingerprint.