firstHostKeyAlgorithm

fnstring firstHostKeyAlgorithm(scope const SshKexInit server) @safe pure nothrow

Returns the server host-key algorithm covered by a speculative first key-exchange packet.

Parameters

serverThe server's parsed KEXINIT.

Returns

The first host-key algorithm, or an empty string when none was offered.