A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://sshnet.github.io/SSH.NET/api/Renci.SshNet.Security.HostAlgorithm.html below:

Class HostAlgorithm | SSH.NET - A Secure Shell (SSH) library for .NET, optimized for parallelism

Class HostAlgorithm
Namespace
Renci.SshNet.Security
Assembly
Renci.SshNet.dll

Base class for SSH host algorithms.

public abstract class HostAlgorithm
Inheritance
Derived
Inherited Members
Constructors HostAlgorithm(string)

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

protected HostAlgorithm(string name)
Parameters
name string

The host key name.

Properties Data

Gets the host key data.

public abstract byte[] Data { get; }
Property Value
byte[]
Name

Gets the host key name.

public string Name { get; }
Property Value
string
Methods Sign(byte[])

Signs the specified data.

public abstract byte[] Sign(byte[] data)
Parameters
data byte[]

The data.

Returns
byte[]

Signed data.

VerifySignature(byte[], byte[])

Verifies the signature.

public abstract bool VerifySignature(byte[] data, byte[] signature)
Parameters
data byte[]

The data.

signature byte[]

The signature.

Returns
bool

true is signature was successfully verifies; otherwise false.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4