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

Implements key support for host algorithm.
상속: HostAlgorithm
파일 보기 프로젝트 열기: sshnet/SSH.NET 1 사용 예제들

공개 메소드들

메소드 설명
KeyHostAlgorithm ( string name, Key key ) : System.Collections.Generic

Initializes a new instance of the KeyHostAlgorithm class.

KeyHostAlgorithm ( string name, Key key, byte data ) : System.Collections.Generic

Initializes a new instance of the HostAlgorithm class.

Sign ( byte data ) : byte[]

Signs the specified data.

VerifySignature ( byte data, byte signature ) : bool

Verifies the signature.

메소드 상세

KeyHostAlgorithm() 공개 메소드

Initializes a new instance of the KeyHostAlgorithm class.
public KeyHostAlgorithm ( string name, Key key ) : System.Collections.Generic
name string Host key name.
key Key Host key.
리턴 System.Collections.Generic

KeyHostAlgorithm() 공개 메소드

Initializes a new instance of the HostAlgorithm class.
public KeyHostAlgorithm ( string name, Key key, byte data ) : System.Collections.Generic
name string Host key name.
key Key Host key.
data byte Host key encoded data.
리턴 System.Collections.Generic

Sign() 공개 메소드

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

VerifySignature() 공개 메소드

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