C# 클래스 Renci.SshNet.Security.HostAlgorithm

Base class for SSH host algorithms.
파일 보기 프로젝트 열기: sshnet/SSH.NET

공개 메소드들

메소드 설명
Sign ( byte data ) : byte[]

Signs the specified data.

VerifySignature ( byte data, byte signature ) : bool

Verifies the signature.

보호된 메소드들

메소드 설명
HostAlgorithm ( string name )

Initializes a new instance of the HostAlgorithm class.

메소드 상세

HostAlgorithm() 보호된 메소드

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

Sign() 공개 추상적인 메소드

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

VerifySignature() 공개 추상적인 메소드

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