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

CertificateHostAlgorithm

Implements certificate support for host algorithm.
public Certificate Certificate { get; }

Gets certificate used in this host key algorithm.

public CertificateHostAlgorithm(string name, Key privateKey, Certificate certificate)

Initializes a new instance of the CertificateHostAlgorithm class.

public CertificateHostAlgorithm(string name, Key privateKey, Certificate certificate, DigitalSignature digitalSignature)

Initializes a new instance of the CertificateHostAlgorithm class.

public CertificateHostAlgorithm(string name, Certificate certificate, IReadOnlyDictionary<string, Func<byte[], KeyHostAlgorithm>> keyAlgorithms)

Initializes a new instance of the CertificateHostAlgorithm class.

public CertificateHostAlgorithm(string name, Certificate certificate, DigitalSignature digitalSignature, IReadOnlyDictionary<string, Func<byte[], KeyHostAlgorithm>> keyAlgorithms)

Initializes a new instance of the CertificateHostAlgorithm class.