trusted and changed beat certAuthority, which beats noMatch.
SshKnownHosts.check
SshKnownHostsResult check(string host, ushort port,
const(ubyte)[] keyBlob, string[] aliases = null) const @safeLooks up a presented key for a target host.
The candidate strings are the plain host name for the default port or the bracketed [host]:port form otherwise, plus any caller-supplied aliases (used verbatim, lowercased).
Parameters
host | Host name the session connects to. |
port | Port the session connects to. |
keyBlob | Presented host key blob. |
aliases | Additional names the same server is known by. |
Returns
The strongest outcome: revoked beats trusted and changed,