pub trait SSHAgent {
// Required methods
fn list_identities(&mut self) -> Result<Vec<PublicKey>>;
fn sign(&mut self, key: &PublicKey, data: &[u8]) -> Result<Signature>;
}
Expand description
A small trait defining the two methods of ssh_agent_client_rs::Client to simplify testing