C# Class Renci.SshNet.Security.CertificateHostAlgorithm

Implements certificate support for host algorithm.
Inheritance: HostAlgorithm
Exibir arquivo Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
Sign ( byte data ) : byte[]

Signs the specified data.

VerifySignature ( byte data, byte signature ) : bool

Verifies the signature.

Method Details

Sign() public method

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

VerifySignature() public method

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