Table of Contents

Class CertificateHostAlgorithm

Namespace
Renci.SshNet.Security
Assembly
Renci.SshNet.dll

Implements certificate support for host algorithm.

public class CertificateHostAlgorithm : HostAlgorithm

Inheritance

Inherited Members

Constructors

CertificateHostAlgorithm(string)

Initializes a new instance of the Renci.SshNet.Security.CertificateHostAlgorithm class.

public CertificateHostAlgorithm(string name)

Parameters

name string

The host key name.

Properties

Data

Gets the host key data.

public override byte[] Data { get; }

Property Value

byte[]

Methods

Sign(byte[])

Signs the specified data.

public override byte[] Sign(byte[] data)

Parameters

data byte[]

The data.

Returns

byte[]

Signed data.

Exceptions

NotImplementedException

Always.

VerifySignature(byte[], byte[])

Verifies the signature.

public override bool VerifySignature(byte[] data, byte[] signature)

Parameters

data byte[]

The data.

signature byte[]

The signature.

Returns

bool

true if signature was successfully verified; otherwise false.

Exceptions

NotImplementedException

Always.