Struct thrussh_keys::agent::client::AgentClient[][src]

pub struct AgentClient<S: AsyncRead + AsyncWrite> { /* fields omitted */ }
Expand description

SSH agent client.

Implementations

Build a future that connects to an SSH agent via the provided stream (on Unix, usually a Unix-domain socket).

Build a future that connects to an SSH agent via the provided stream (on Unix, usually a Unix-domain socket).

Build a future that connects to an SSH agent via the provided stream (on Unix, usually a Unix-domain socket).

Send a key to the agent, with a (possibly empty) slice of constraints to apply when using the key to sign.

Add a smart card to the agent, with a (possibly empty) set of constraints to apply when signing.

Lock the agent, making it refuse to sign until unlocked.

Unlock the agent, allowing it to sign again.

Ask the agent for a list of the currently registered secret keys.

Ask the agent to sign the supplied piece of data.

Ask the agent to sign the supplied piece of data.

Ask the agent to sign the supplied piece of data, and return a Signature.

Ask the agent to remove a key from its memory.

Ask the agent to remove a smartcard from its memory.

Ask the agent to forget all known keys.

Send a custom message to the agent.

Ask the agent what extensions about supported extensions.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.