C# Class Renci.SshNet.Security.HostAlgorithm

Base class for SSH host algorithms.
ファイルを表示 Open project: sshnet/SSH.NET

Public Methods

Method Description
Sign ( byte data ) : byte[]

Signs the specified data.

VerifySignature ( byte data, byte signature ) : bool

Verifies the signature.

Protected Methods

Method Description
HostAlgorithm ( string name )

Initializes a new instance of the HostAlgorithm class.

Method Details

HostAlgorithm() protected method

Initializes a new instance of the HostAlgorithm class.
protected HostAlgorithm ( string name )
name string The host key name.

Sign() public abstract method

Signs the specified data.
public abstract Sign ( byte data ) : byte[]
data byte The data.
return byte[]

VerifySignature() public abstract method

Verifies the signature.
public abstract VerifySignature ( byte data, byte signature ) : bool
data byte The data.
signature byte The signature.
return bool