C# 클래스 dlech.SshAgentLib.AgentClient

상속: IAgent
파일 보기 프로젝트 열기: dlech/SshAgentLib

공개 메소드들

메소드 설명
AddKey ( ISshKey key ) : void

Adds key to SSH agent

applies constraints in aKeys.Constraints, if any

AddKey ( ISshKey key, ICollection aConstraints ) : void

Adds key to SSH agent

ignores constraints in key.Constraints

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

Remove key from SSH agent

SendMessage ( byte aMessage ) : byte[]

Implementer should send the message to an SSH agent and return the reply

SignRequest ( ISshKey aKey, byte aSignData ) : byte[]
Unlock ( byte aPassphrase ) : void

비공개 메소드들

메소드 설명
CreatePrivateKeyBlob ( ISshKey key ) : BlobBuilder
CreatePublicKeyBlob ( ISshKey aKey ) : BlobBuilder
FireKeyAdded ( ISshKey key ) : void
FireKeyRemoved ( ISshKey key ) : void
SendMessage ( BlobBuilder aBuilder ) : BlobParser
SendMessageAndCheckSuccess ( BlobBuilder aBuilder ) : void

Sends message to remote agent and checks that it returned SSH_AGENT_SUCCESS

메소드 상세

AddKey() 공개 메소드

Adds key to SSH agent
applies constraints in aKeys.Constraints, if any
public AddKey ( ISshKey key ) : void
key ISshKey the key to add
리턴 void

AddKey() 공개 메소드

Adds key to SSH agent
ignores constraints in key.Constraints
public AddKey ( ISshKey key, ICollection aConstraints ) : void
key ISshKey the key to add
aConstraints ICollection constraints to apply
리턴 void

ListKeys() 공개 메소드

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

Lock() 공개 메소드

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

RemoveAllKeys() 공개 메소드

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

RemoveKey() 공개 메소드

Remove key from SSH agent
public RemoveKey ( ISshKey key ) : void
key ISshKey The key to remove
리턴 void

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

Implementer should send the message to an SSH agent and return the reply
public abstract SendMessage ( byte aMessage ) : byte[]
aMessage byte The message to send
리턴 byte[]

SignRequest() 공개 메소드

public SignRequest ( ISshKey aKey, byte aSignData ) : byte[]
aKey ISshKey
aSignData byte
리턴 byte[]

Unlock() 공개 메소드

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