SSHHostkeyVerifyHandler typedef

SSHHostkeyVerifyHandler = FutureOr<bool> Function(String type, Uint8List fingerprint)

Function called when host key is received. type is the type of the host key, For example 'ssh-rsa', fingerprint md5 fingerprint of the host key.

Implementation

typedef SSHHostkeyVerifyHandler = FutureOr<bool> Function(
  String type,
  Uint8List fingerprint,
);