<PackageReference Include="SSH.NET" Version="2023.0.1" />

KeyHostAlgorithm

Implements key support for host algorithm.

Gets the signature implementation used in this host key algorithm.

public Key Key { get; }

Gets the key used in this host key algorithm.

public KeyHostAlgorithm(string name, Key key)

Initializes a new instance of the KeyHostAlgorithm class.

public KeyHostAlgorithm(string name, Key key, DigitalSignature digitalSignature)

Initializes a new instance of the KeyHostAlgorithm class.