C# Class dlech.SshAgentLib.IAgentExt

Afficher le fichier Open project: dlech/SshAgentLib

Méthodes publiques

Méthode 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 méthode

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
Résultat ISshKey

GetAllKeys() public static méthode

public static GetAllKeys ( this aAgent ) : ICollection
aAgent this
Résultat ICollection

RemoveAllKeys() public static méthode

public static RemoveAllKeys ( this aAgent ) : void
aAgent this
Résultat void