C# 클래스 dlech.SshAgentLib.Agent

Implements OpenSSH Agent
Inheriting classes should implement the platform specific communication to get a message from a client and then call AnswerMessage method
상속: IAgent, IDisposable
파일 보기 프로젝트 열기: dlech/SshAgentLib 1 사용 예제들

공개 메소드들

메소드 설명
AddKey ( ISshKey key ) : void
AnswerMessage ( Stream messageStream, Process process = null ) : void

Answers the message.

code based on winpgnt.c from PuTTY source code

Dispose ( ) : void
ListKeys ( SshVersion aVersion ) : ICollection
Lock ( byte aPassphrase ) : void
RemoveAllKeys ( SshVersion aVersion ) : void
RemoveKey ( ISshKey key ) : void
Unlock ( byte aPassphrase ) : void

보호된 메소드들

메소드 설명
Agent ( ) : System

비공개 메소드들

메소드 설명
FireKeyAdded ( ISshKey key ) : void
FireKeyRemoved ( ISshKey key ) : void
FireLocked ( ) : void

Fires lock event for listeners

메소드 상세

AddKey() 공개 메소드

public AddKey ( ISshKey key ) : void
key ISshKey
리턴 void

Agent() 보호된 메소드

protected Agent ( ) : System
리턴 System

AnswerMessage() 공개 메소드

Answers the message.
code based on winpgnt.c from PuTTY source code
public AnswerMessage ( Stream messageStream, Process process = null ) : void
messageStream Stream Message stream.
process System.Diagnostics.Process The calling process or null if the process /// could not be obtained.
리턴 void

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

public abstract Dispose ( ) : void
리턴 void

ListKeys() 공개 메소드

public ListKeys ( SshVersion aVersion ) : ICollection
aVersion SshVersion
리턴 ICollection

Lock() 공개 메소드

public Lock ( byte aPassphrase ) : void
aPassphrase byte
리턴 void

RemoveAllKeys() 공개 메소드

public RemoveAllKeys ( SshVersion aVersion ) : void
aVersion SshVersion
리턴 void

RemoveKey() 공개 메소드

public RemoveKey ( ISshKey key ) : void
key ISshKey
리턴 void

Unlock() 공개 메소드

public Unlock ( byte aPassphrase ) : void
aPassphrase byte
리턴 void