C# Class dlech.SshAgentLib.IAgentExt

ファイルを表示 Open project: dlech/SshAgentLib

Public Methods

Method Description
AddKeyFromFile ( this aAgent, string aFileName, KeyFormatter aGetPassPhraseCallback, ICollection aConstraints = null ) : ISshKey

Reads file and loads key into agent

GetAllKeys ( this aAgent ) : ICollection
RemoveAllKeys ( this aAgent ) : void

Method Details

AddKeyFromFile() public static method

Reads file and loads key into agent
/// Agent returned SSH_AGENT_FAILURE /// /// File format was not recognized ///
public static AddKeyFromFile ( this aAgent, string aFileName, KeyFormatter aGetPassPhraseCallback, ICollection aConstraints = null ) : ISshKey
aAgent this the agent
aFileName string pathname of file to read
aGetPassPhraseCallback KeyFormatter method that returns passphrase
aConstraints ICollection additional constraints
return ISshKey

GetAllKeys() public static method

public static GetAllKeys ( this aAgent ) : ICollection
aAgent this
return ICollection

RemoveAllKeys() public static method

public static RemoveAllKeys ( this aAgent ) : void
aAgent this
return void