C# Class Renci.SshNet.Security.HostAlgorithm

Base class for SSH host algorithms.
Afficher le fichier Open project: sshnet/SSH.NET

Méthodes publiques

Méthode Description
Sign ( byte data ) : byte[]

Signs the specified data.

VerifySignature ( byte data, byte signature ) : bool

Verifies the signature.

Méthodes protégées

Méthode Description
HostAlgorithm ( string name )

Initializes a new instance of the HostAlgorithm class.

Method Details

HostAlgorithm() protected méthode

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

Sign() public abstract méthode

Signs the specified data.
public abstract Sign ( byte data ) : byte[]
data byte The data.
Résultat byte[]

VerifySignature() public abstract méthode

Verifies the signature.
public abstract VerifySignature ( byte data, byte signature ) : bool
data byte The data.
signature byte The signature.
Résultat bool