Enum thrussh_keys::agent::Constraint
source · pub enum Constraint {
KeyLifetime {
seconds: u32,
},
Confirm,
Extensions {
name: Vec<u8>,
details: Vec<u8>,
},
}
Expand description
Constraints on how keys can be used
Variants§
KeyLifetime
The key shall disappear from the agent’s memory after that many seconds.
Confirm
Signatures need to be confirmed by the agent (for instance using a dialog).
Extensions
Custom constraints